MediaWiki:Mobile.css

/********** Note that this loads before skin CSS, so selectors need to be more specific than the skin to override it.

There will still be a "white flash" as the default (light) mobile css initially loads. To avoid this, you should first enable the Gadgets extension, then add gphelp:MediaWiki:Gadget-darkmobile to your wiki and rename this css file to MediaWiki:Gadget-darkmobile.css /*** mobile-specific style classes ***/ .nomobile { display: none; }

@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400; src: local('Roboto Regular'), local('Roboto-Regular'), url("https://commons.gamepedia.com/media/hydra/fonts/Roboto-Regular.ttf") format('truetype'); }

/********** interface /*** text colors ***/ .skin-minerva #mw-mf-diffview #mw-mf-userinfo, .skin-minerva #mw-mf-diffview #mw-mf-userinfo .mw-mf-edit-count, .skin-minerva #mw-mf-diffview #mw-mf-userinfo .mw-mf-edit-count div, .skin-minerva #mw-mf-page-center, .skin-minerva .globalNotice, .skin-minerva .header-container.header-chrome, .skin-minerva .last-modified-bar a, .skin-minerva .last-modified-bar a:visited, .skin-minerva .last-modified-bar.active a, .skin-minerva .last-modified-bar.active a:visited, .skin-minerva .list-header, .skin-minerva .minerva-footer, .skin-minerva .mw-echo-ui-notificationItemWidget-content-actions-timestamp, .skin-minerva .mw-echo-ui-notificationItemWidget-content-message-header, .skin-minerva .mw-mf-user, .skin-minerva .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button, .skin-minerva .overlay-footer-container, .skin-minerva .overlay-header-container, .skin-minerva .page-list .component, .skin-minerva .page-list .info, .skin-minerva .page-list li > a, .skin-minerva .page-list.side-list .list-thumb, .skin-minerva .page-summary h2, .skin-minerva .page-summary h3, .skin-minerva .search-overlay, .skin-minerva .search-overlay .results, .skin-minerva .search-overlay .search-content, .skin-minerva .search-overlay .search-feedback, .skin-minerva .site-link-list .component, .skin-minerva .site-link-list .info, .skin-minerva .site-link-list li, .skin-minerva .site-link-list li > a, .skin-minerva .site-link-list.side-list .list-thumb, .skin-minerva .topic-title-list .component, .skin-minerva .topic-title-list .info, .skin-minerva .topic-title-list li > a, .skin-minerva .topic-title-list.side-list .list-thumb, .skin-minerva footer .last-modified-bar, .skin-minerva footer .last-modified-bar.active, .skin-minerva nav ul li a, .skin-minerva.navigation-enabled #mw-mf-page-center, .skin-minerva.primary-navigation-enabled, .skin-minerva.secondary-navigation-enabled, body { color: #eee; }

.action-edit #editpage-copywarn, .action-edit #mw-anon-edit-warning, .action-edit #section_0, .action-edit .diff-ntitle, .action-edit .diff-otitle, .action-edit .mw-editTools, .action-edit .mw-editnotice, .action-edit .preview-limit-report-wrapper, .action-submit #editpage-copywarn, .action-submit #mw-anon-edit-warning, .action-submit #section_0, .action-submit .diff-ntitle, .action-submit .diff-otitle, .action-submit .mw-editTools, .action-submit .mw-editnotice, .action-submit .preview-limit-report-wrapper, .skin-minerva .heading-holder .tagline, .skin-minerva .mw-echo-ui-notificationItemWidget-content-message-body, .skin-minerva .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover, .skin-minerva nav ul li a:visited { color: #ccc; }

.skin-minerva .mw-ui-anchor.mw-ui-progressive, .skin-minerva .mw-ui-anchor.mw-ui-progressive:active, .skin-minerva .mw-ui-anchor.mw-ui-progressive:focus, .skin-minerva nav ul.hlist li a, a, a.external, a.extiw, a:visited { color: #e2ce97; }

a.new { color: #ea331d; }

/*** interface colors ***/ .client-js .skin-minerva .toc-mobile, .skin-minerva #mw-mf-diffview #mw-mf-userinfo, .skin-minerva .globalNotice, .skin-minerva .header-container.header-chrome, .skin-minerva .list-header, .skin-minerva .mw-echo-ui-bundleNotificationItemWidget-group, .skin-minerva .mw-echo-ui-crossWikiNotificationItemWidget-group, .skin-minerva .notifications-overlay .overlay-content, .skin-minerva .overlay-header-container, .skin-minerva .search-overlay .results, .skin-minerva .search-overlay .search-content, .skin-minerva .search-overlay .search-feedback { background-color: #3c371f; }

.skin-minerva .minerva-footer, .skin-minerva .overlay-footer-container, .skin-minerva nav { background-color: #2c2c2c; }

.client-js .skin-minerva .toc-mobile, .skin-minerva #mw-mf-diffview #mw-mf-userinfo, .skin-minerva .header, .skin-minerva .header-container, .skin-minerva .minerva-footer, .skin-minerva .mw-echo-ui-bundleNotificationItemWidget-separator, .skin-minerva .mw-echo-ui-crossWikiNotificationItemWidget-separator, .skin-minerva .mw-echo-ui-notificationItemWidget, .skin-minerva .mw-echo-ui-notificationItemWidget:last-child, .skin-minerva .overlay-footer-container, .skin-minerva .page-list li, .skin-minerva .search-overlay .search-content, .skin-minerva .site-link-list li, .skin-minerva .topic-title-list li, .skin-minerva footer .last-modified-bar, .skin-minerva footer > .post-content > h2, .skin-minerva nav .secondary-action, .skin-minerva nav ul li, .skin-minerva.ns-special .content-header { border-color: #777; }

.skin-minerva #mw-mf-page-center, .skin-minerva .search-overlay, .skin-minerva.navigation-enabled #mw-mf-page-center, .skin-minerva.primary-navigation-enabled, .skin-minerva.search-overlay, .skin-minerva.secondary-navigation-enabled, body { background: #1b1b1b; }

.skin-minerva #content, .skin-minerva .mw-echo-ui-notificationsInboxWidget-toolbarWrapper, .skin-minerva.ns-special #content, .skin-minerva.ns-special #content form, .skin-minerva.ns-special .pre-content { background: transparent; }

/*** basics ***/ .center { text-align: center; }

.skin-minerva .content h1, .skin-minerva .content h2, .skin-minerva .pre-content h1, body { font-family: sans-serif; }

/*** header and footer ***/ .header { border-width: 1px 0; border-style: solid; }

.header-container.header-chrome { box-shadow: 0 1px 1px rgba(100,100,100,0.2); }

@supports (position:sticky) { .header-container.header-chrome { position: sticky; top: 0; z-index: 1000; }

.overlay-enabled .header-container.header-chrome { position: static; }

.navigation-enabled .header-container.header-chrome { z-index: 0; } }

.skin-minerva .globalNotice { overflow: hidden; padding: 0 0.5em 0.25em; }

.skin-minerva .notification-count { background: transparent; }

/*** notifications ***/ .skin-minerva .mw-echo-ui-bundleNotificationItemWidget-separator, .skin-minerva .mw-echo-ui-crossWikiNotificationItemWidget-separator, .skin-minerva .mw-echo-ui-notificationItemWidget, .skin-minerva .mw-echo-ui-notificationItemWidget:last-child { background: rgba(0,0,0,0.1); }

.skin-minerva .mw-echo-ui-notificationItemWidget-unread { background: rgba(0,0,0,0.3); }

.skin-minerva .mw-echo-ui-notificationItemWidget:hover { background: rgba(0,0,0,0.2); }

.skin-minerva .mw-echo-ui-notificationItemWidget-unread:hover { background: rgba(0,0,0,0.4); }

/*** search ***/ .skin-minerva .page-list li .watch-this-article, .skin-minerva .site-link-list li .watch-this-article, .skin-minerva .topic-title-list li .watch-this-article { top: 50%; margin-top: -0.75em; }

/*** navigation ***/ .skin-minerva.navigation-enabled .transparent-shield { background: rgba(50,50,50,0.9); }

.skin-minerva nav ul li { background: #1b1b1b; width: 100%; }

.skin-minerva nav ul li a:hover { box-shadow: inset 4px 0 0 0 #e2ce97; }

/*** last-modified bar ***/ .skin-minerva footer .last-modified-bar { background-color: #666; }

/* recently changed page last-modified bar*/ .skin-minerva footer .last-modified-bar.active { background: #00af89; }

/*** page history and diffs ***/ .skin-minerva .minoredit { color: #777; }

.skin-minerva #mw-mf-diffview #mw-mf-userinfo { z-index: 100; box-shadow: 0 -1px 3px rgba(0,0,0,0.6); opacity: 0.95; }

/*** editor ***/ .skin-minerva .editor-overlay-ve { color: #000; }

.skin-minerva .editor-overlay .wikitext-editor { background: rgba(0,0,0,0.1); }

/********** content

.list-thumb.list-thumb-none { background-image: linear-gradient(transparent,transparent),url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2056%2056%22%3E%3Cpath%20fill%3D%22%23212121%22%20d%3D%22M0%200h56v56H0z%22%2F%3E%3Cpath%20fill%3D%22%23E0E0E0%22%20d%3D%22M36.4%2013.5H17.8v24.9c0%201.4.9%202.3%202.3%202.3h18.7v-25c.1-1.4-1-2.2-2.4-2.2zM30.2%2017h5.1v6.4h-5.1V17zm-8.8%200h6v1.8h-6V17zm0%204.6h6v1.8h-6v-1.8zm0%2015.5v-1.8h13.8v1.8H21.4zm13.8-4.5H21.4v-1.8h13.8v1.8zm0-4.7H21.4v-1.8h13.8v1.8z%22%2F%3E%3C%2Fsvg%3E) !important; }

.page-summary h2, .page-summary h3 { color: #F37F20 !important; }

/*** navboxes ***/ table.navbox { border: 1px solid #aaaaaa; clear: both; font-size: 88%; margin: auto; padding: 1px; text-align: center; width: 100%; display: table !important; }

/* Border between adjacent navboxes */ table.navbox + table.navbox { margin-top: -1px; }

.navbox-abovebelow, .navbox-title, table.navbox th { padding-left: 1em; padding-right: 1em; text-align: center; }

.navbox-group { font-weight: bold; padding-left: 1em; padding-right: 1em; white-space: nowrap; }

/* Base background */ .navbox, .navbox-subgroup { background: rgba(255, 255, 255, 0.2); }

.navbox-list { border-color: rgba(255, 255, 255, 0.2); /* Must match background color */ }

/* Level 1 color */ .navbox-title, table.navbox th { background: rgba(255, 255, 255, 0.2); }

/* Level 2 styling */ .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background: rgba(255, 255, 255, 0.2); }

/* Level 3 styling */ .navbox-subgroup .navbox-abovebelow, .navbox-subgroup .navbox-group { background: rgba(0, 0, 0, 0.05); }

/* Even row striping */ .navbox-even { background: rgba(0, 0, 0, 0.05); }

/* Odd row striping */ .navbox-odd { background: transparent; }

.collapseButton { font-weight: normal; width: auto; }

.navbox .collapseButton { width: 6em; }

.navbar { font-size: 88%; font-weight: normal; }

.navbox .navbar { font-size: 100%; }

table.collapsed tr.collapsible { display: none; }

/*** amboxes ***/ .ambox { border-bottom-color: #383838; border-right-color: #383838; border-top-color: #383838; border-collapse: collapse; font-size: 95%; margin: 0 auto 2px; width: 80%; }

.ambox-gray { border-left-color: #383838; }

.ambox.ambox-tiny { font-size: 90%; margin: 2px 0; width: auto; }

.ambox + .ambox { margin-top: -2px; }

.ambox-text { padding: 0.25em 0.5em; }

.ambox-image { padding: 2px 0 2px 0.5em; text-align: center; width: 60px; }

.ambox-tiny .ambox-image { padding: 2px 0.5em; text-align: left; width: auto; }

/* Ambox colors */ .ambox-blue { border-left: 10px solid #1e90ff; }

.ambox-red { border-left: 10px solid #b22222; }

.ambox-orange { border-left: 10px solid #f28500; }

.ambox-yellow { border-left: 10px solid #f4c430; }

.ambox-purple { border-left: 10px solid #9932cc; }

.ambox-gray { border-left: 10px solid #bba; }

.ambox-green { border-left: 10px solid #228b22; }

/* Ambox small text */ .amsmalltext { font-size: smaller; margin-left: 0.8em; margin-top: 0.5em; }

/*** invert icons for dark theme ***/ .copyright-icon, .fpbox.mobilecollapsible .heading a:before, .oo-ui-iconElement-icon { filter:invert(1); }

.mw-echo-ui-notificationItemWidget-icon, .mw-echo-ui-toggleReadCircleButtonWidget-circle, .mw-ui-icon:before { filter:brightness(2); }

.mw-echo-ui-notificationsInboxWidget-main-toolbar-top .oo-ui-iconElement-icon, .mw-mf-user:before, .search-overlay .clear:before { filter:none; }
 * 1) mw-mf-diffview .meta:before,

/*** wikitables ***/ .content table.wikitable { display: table; }

.content table.wikitable > * > tr > th, .content table.wikitable > tr > th { border-color: rgba(100,100,100, 1); }

.content table.wikitable, .content table.wikitable > * > tr > td, .content table.wikitable > tr > td { border-color: rgba(100,100,100, 1); background: #1b1b1b; /* Table cell background color */ }

.fpbox { border-radius: 5px; border: 2px solid #1f1f1f; box-shadow: 0 0 5px 0 #000000; background: #0b0b0b url("https://static.wikia.nocookie.net/deadbydaylight_gamepedia_en/images/2/2f/Skin-Element-Left-Background.jpg/revision/latest?cb=20160623062232") left bottom no-repeat; color: #aaa9a9; margin: 5px 5px 5px 5px; padding: 5px 5px 5px 5px; }

.fpbox .welcome { border-bottom: 1px solid #1f1f1f; background: transparent; color: #ffffff; font-family: 'Roboto', sans-serif; font-size: 150%; text-transform: uppercase; text-align: center; margin: 0 0 10px 0; padding: 0 0 5px 0; }

.fpbox .heading { border-bottom: 1px solid #1f1f1f; background: transparent; color: #ffffff; font-family: 'Roboto', sans-serif; font-size: 132%; font-variant: small-caps; margin: 0 0 10px 0; padding: 0 0 5px 0; }

.fpbox .heading .smalllink { color: #aaa9a9; font-weight: bold; font-size: 75%; }

.fpbox hr { border: none; border-bottom: 2px solid #1f1f1f; }

.fpplainbox { padding: 5px 8px 10px 8px; margin: 0 5px 10px 5px; vertical-align: top; }

.fplinks { margin: -2px -3px; }

.fplinks .linkslabel { border-bottom: 2px solid #1f1f1f; margin: 6px 3px 0 3px; }

.fplink { display: inline-block; vertical-align: middle; width: 100%; }

/* Yeah, using display: table makes for a lot of extra markup, but it makes proportionate sizing and vertical centering a lot easier, so going with it */ .fplink .box { display: table; width: 100%; border-spacing: 2px 3px; border-collapse: separate; }

.fplink .box .row { display: table-row; }

.fplink .box .row .cell { display: table-cell; position: relative; font-family: 'Roboto', sans-serif; border-radius: 5px; border: none; background: #232323; box-shadow: 0 0 5px 0 #000000; color: #ffffff; font-weight: bold; font-size: 75%; text-transform: uppercase; text-align: center; vertical-align: middle; }

.fplink.wide .box .row .cell { padding: 0 5px; }

@media (min-width: 188px) { .fplink { width: 50%; }

.fplink.wide { width: 100%; } }

@media (min-width: 294px) { .fplink { width: 33.333%; }

.fplink.wide { width: 66.666%; } }

@media (min-width: 400px) { .fplink { width: 25%; }

.fplink.wide { width: 50%; }

}

@media (min-width: 506px) { .fplink { width: 20%; }

.fplink.wide { width: 40%; } }

@media (min-width: 612px) { .fplink { width: 16.666%; }

.fplink.wide { width: 33.333%; } }

@media (min-width: 718px) { .fplink { width: 14.285%; }

.fplink.wide { width: 28.571%; } }

@media (min-width: 824px) { .fplink { width: 12.5%; }

.fplink.wide { width: 25%; } }

@media (min-width: 930px) { .fplink { width: 11.111%; }

.fplink.wide { width: 22.222%; } }

@media (min-width: 1036px) { .fplink { width: 10%; }

.fplink.wide { width: 20%; }

}

.fplink.image .image { top: 0; right: 0; bottom: 0; left: 0; font-size: 67%; z-index: 1; }

.fplink.image a { z-index: 2; }

.fplink a { display: block; position: relative; top: 0; right: 0; bottom: 0; left: 0; padding: 3px 5px; }

.fplink.image .image a { padding: 0; }

.fplink.image .link a { background: rgba(62, 54, 25, 1) !important; background: rgba(62, 54, 25, 0.5) !important; font-size: 67%; }

.fplink.wide a { margin: 0 -5px; }

.fplink.image a { top: auto; }

.fpvideos { margin: 0 auto; overflow: hidden; text-align: center; max-width: 480px; }

.fpvideo { position: relative; padding-top: 25px; padding-bottom: 56.25%; height: 0; }

.fpvideo iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

table, table.wikitable, table.wikitable > * > tr > th { border-collapse: collapse !important; padding: 3px; margin: auto; margin-bottom: 5px; }

table, table.wikitable { border-radius: 2px; border: 2px solid #1f1f1f; box-shadow: 0 0 5px 0 #000000; background: #0b0b0b url("https://static.wikia.nocookie.net/deadbydaylight_gamepedia_en/images/2/2f/Skin-Element-Left-Background.jpg/revision/latest?cb=20160623062232") left bottom no-repeat; color: #aaa9a9; }

table th, table.wikitable th { border: 1px solid #1f1f1f; background: #0b0b0b url("https://static.wikia.nocookie.net/deadbydaylight_gamepedia_en/images/2/2f/Skin-Element-Left-Background.jpg/revision/latest?cb=20160623062232") left bottom no-repeat; color: #ffffff; font-weight: bold; margin: 0; padding: 0 3px 3px 3px; }

table td, table.wikitable td { background: transparent; color: #aaa9a9 !important; vertical-align: middle; padding: 4px 8px; }

/*** infoboxes ***/ .infoboxtable { max-width: 300px; float: none; border: 1px solid #777; padding: 0.25em; display: table !important; border-collapse: separate; }

.infoboxname { color: #fff; padding: 5px; background: #777; }

.infoboxdetails { color: #fff; padding: 5px; background: #777; }

.infoboxtable div { color: #fff; background: #777; text-align: right; font-weight: bold; padding: 1px 5px; }

.tooltip-value:after{ content: " (" attr(title) ")"; font-size: 7pt; }

.desktop-table-languages{ display: none; }

/* Mobile Header Title */ .header .branding-box a{ 	color: #e2ce97; }

/* Section Divider */ .content .mw-parser-output > h2, .content .section-heading, div#mobileatfmrec, div#mobilebtfmrec, /* Ads */ .page-actions-menu{ /* Top bar dividers (edit and watch) */ border-color: #6d6346; }