MediaWiki:Mobile.css

/* CSS placed here will affect users of the mobile site */ .nomobile { display: none; }

/*********/ /* fonts */ /*********/ @font-face { font-family: 'Volter'; src: local('Volter'), local('Volter'), url(/media/hydra/fonts/volter.ttf) format('truetype'); }

@font-face { font-family: 'Volterbold'; src: local('Volterbold'), local('Volterbold'), url(/media/hydra/fonts/volterbold.ttf) format('truetype'); }

.client-js .toc-mobile { background-color: rgba(0, 0, 0, 0) !important; border: 1px solid #505050 !important; }

.notification-count.notification-unseen, .notification-count { background: transparent; }

/* discussion button */ .mw-ui-button, .last-modified-bar #mw-mf-last-modified { background-color: rgba(0, 0, 0, 0); color: #e0e0e0; }

body.mediawiki #mw-mf-page-center { background: #202020; -webkit-background-size: cover; -o-background-size: cover; -moz-background-size: cover; color: #E0E0B3; }

.overlay-enabled, background-color: rgba(0, 0, 0, 0.3); }
 * 1) content {

.header-container.header-chrome, footer { background-color: #202020; color:white; }

footer .last-modified-bar { background: transparent; }

a, a:visited, a.external { color: #5a93cc; }

/* For hydradark only - makes the section collapse arrow visible */ .mw-ui-icon-arrow::before { filter: invert(100%); }

.thumb, li.gallerybox div.thumb { background-color: rgba(0, 0, 0, 0); border: 1px solid #505050; }
 * 1) content_wrapper .thumb,

.content table th { background-color: rgba(0, 0, 0, 0); }

.content table td, .content table th { border: 1px solid #505050; padding: 3px; }

.content table.wikitable { background-color: rgba(0, 0, 0, 0); margin: auto; margin-bottom: 1em; }

.content table.wikitable > tr > th, .content table.wikitable > tr > td, .content table.wikitable > * > tr > th, .content table.wikitable > * > tr > td { border: 1px solid #505050; }

.content table.wikitable > tr > th, .content table.wikitable > * > tr > th { background-color: inherit; padding: 3px; }

/* Responsive main page stuff */ /******************** /* Main menu styles * /********************/ .primary-navigation-enabled { border-left: 12px solid #505050 !important; background: #101010 !important; }

border-left: 12px solid #505050; background: transparent; }
 * 1) mw-mf-page-left {

background: transparent; }
 * 1) mw-mf-page-left ul {

border-bottom: 12px solid #505050; }
 * 1) mw-mf-page-left ul:first-child {

border-top: 1px solid #505050; border-bottom: 1px solid #505050; background: transparent; text-shadow: none; }
 * 1) mw-mf-page-left ul li {

border: none; color: #3674b3; }
 * 1) mw-mf-page-left ul li a,
 * 2) mw-mf-page-left ul.hlist li a {

border-left: 12px solid #aaaaaa; background: #505050; }
 * 1) mw-mf-page-left ul li:hover {

border: none; }
 * 1) mw-mf-page-left ul.hlist li:hover {

color: #ffffff; }
 * 1) mw-mf-page-left ul li:hover a,
 * 2) mw-mf-page-left ul.hlist li:hover a {

/********************* /* Front page styles * /*********************/ .fpbox { border-radius: 5px; border: 2px solid #505050; box-shadow: 0 0 0 2px rgba(0, 0, 0, 0) inset; background: transparent; color: inherit; margin: 5px; padding: 5px; }

.fpbox .welcome { font-family: "Volter"; border-bottom: 1px solid #505050; color: #e0e0e0; /* change for hydra (light) wikis */ font-size: 150%; margin: 0 0 10px 0; padding: 0 0 5px 0; text-transform: uppercase; text-align: center; }

.fpbox .heading { font-family: "Volter"; border-bottom: 1px solid #505050; color: #e0e0e0; /* change for hydra (light) wikis */ font-size: 132%; font-variant: small-caps; margin: 0 0 10px 0; padding: 0 0 5px 0; }

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

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

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

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

.fplinks .linkslabel { border-bottom: 2px solid #505050; 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 { background-attachment: scroll; background-clip: border-box; background-color: black; background-image: none; background-origin: padding-box; background-position-y: center; background-repeat: repeat-x; background-size: 100% 100%; border: none; color: #000000; display: table-cell; padding-bottom: 0; padding-left: 6px; padding-right: 6px; padding-top: 0; position: relative; text-align: center; vertical-align: middle; }

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

.fplink.image { width: 78px; height: 78px; }

.fplink.image .box .row .cell { width: 70px; height: 70px; vertical-align: bottom; }

.fplink.image .box .row .cell .image img { width: 70px; height: 70px; }

@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%; }

.fplink.image { width: 108px; height: 108px; }

.fplink.image .box .row .cell { width: 100px; height: 100px; }

.fplink.image .box .row .cell .image img { width: 100px; height: 100px; } }

@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 { width: 128px; height: 128px; }

.fplink.image .box .row .cell { width: 120px; height: 120px; }

.fplink.image .box .row .cell .image img { width: 120px; height: 120px; } }

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

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

.fplink a { color: white!important; 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 { border-top: 2px solid #505050; background: #ddddb7 !important; }

.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%; }

/* hamburger menu */ nav { background: #212121 !important; }
 * 1) mw-mf-viewport,

nav ul li { background: #181818 !important; }

nav ul.hlist li { background: transparent !important; }

nav ul li a.mw-ui-icon { filter: invert(100%); }

nav ul li a { font-weight: bold; }

nav ul.hlist li a { color: #F37F20 !important; }

.list-header { background-color: #202020; color: #72777d; font-weight: bold; }

.page-list li, .topic-title-list li, .site-link-list li { background-color: rgba(0, 0, 0, 0.5); border-bottom-color: #eaecf0; border-bottom-style: solid; border-bottom-width: 1px; color: #666; line-height: 1; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: -1px; padding-bottom: 0.8em; padding-top: 0.8em; position: relative; }

.timestamp { color: white; }

/* various, prolly wonky */ .ve-init-mw-mobileArticleTarget-title { color: white; font-weight:bold; }

cursor: default; opacity: 1; }
 * 1) page-actions .language-selector.disabled {

/*messages VE */ .oo-ui-messageDialog-message { color: white !important; font-size: 1.1em; line-height: 1.4; text-align: left; }

.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: white !important; }

.oo-ui-fieldLayout.oo-ui-labelElement > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header > .oo-ui-labelElement-label { color: white; line-height: 1.4; }

.oo-ui-messageDialog-actions .oo-ui-actionWidget.oo-ui-widget-enabled .oo-ui-buttonElement-button:hover { background-color: gray; }

.overlay.editor-overlay, .overlay-header-container, .overlay-footer-container { background: #212121 !important; color: white; }

.editor-overlay .wikitext-editor { color: #E0E0E0; }

.editor-overlay .summary-request { color: #E0E0E0 !important; }

.oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame { background-color: rgba(0, 0, 0, 0.9) !important; }

.ve-ui-mwSaveDialog-options { background-color: #212121 !important; }

.oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:hover { background-color: rgba(255,255,255,0.2); }

.oo-ui-popupToolGroup.oo-ui-widget-enabled.oo-ui-popupToolGroup-active { background-color: rgba(255,255,255,0.2); }

.oo-ui-popupToolGroup-handle .oo-ui-iconElement-icon { filter: invert(100%); }

.oo-ui-popupToolGroup.oo-ui-labelElement.oo-ui-indicatorElement .oo-ui-popupToolGroup-handle .oo-ui-labelElement-label { filter: invert(100%); }

.oo-ui-barToolGroup > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-iconElement > .oo-ui-tool-link .oo-ui-iconElement-icon { filter: invert(100%); }

.oo-ui-messageDialog-actions .oo-ui-actionWidget.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive .oo-ui-buttonElement-button:hover { background-color: #282828; }

.oo-ui-indicator-down { background-image: linear-gradient(transparent,transparent),url(https://static.wikia.nocookie.net/commons_hydra/images/0/00/Light_down_arrow.svg); }

/* might contain dragons */ .oo-ui-buttonElement-framed.oo-ui-iconElement.oo-ui-labelElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon, .oo-ui-buttonElement-framed.oo-ui-iconElement.oo-ui-indicatorElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon, .oo-ui-buttonElement.oo-ui-indicatorElement.oo-ui-labelElement > .oo-ui-buttonElement-button > .oo-ui-indicatorElement-indicator, .oo-ui-buttonElement.oo-ui-indicatorElement.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-indicatorElement-indicator, .oo-ui-iconElement .oo-ui-iconElement-icon, .oo-ui-iconElement.oo-ui-iconElement-icon { filter: invert(50%); }

.oo-ui-toolbar-bar, .toolbar { background-color: transparent !important; color: white; }

.editor-overlay-ve .overlay-header-container .ve-init-mw-mobileArticleTarget-toolbar .oo-ui-toolbar-bar { -moz-border-bottom-colors: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; background-attachment: scroll; background-clip: border-box; background-color: transparent; background-image: none; background-origin: padding-box; background-position-x: 0; background-position-y: 0; background-repeat: repeat; background-size: auto auto; border-bottom-color: currentcolor; border-bottom-style: none; border-bottom-width: 0; border-image-outset: 0 0 0 0; border-image-repeat: stretch stretch; border-image-slice: 100% 100% 100% 100%; border-image-source: none; border-image-width: 1 1 1 1; border-left-color: currentcolor; border-left-style: none; border-left-width: 0; border-right-color: currentcolor; border-right-style: none; border-right-width: 0; border-top-color: currentcolor; border-top-style: none; border-top-width: 0; box-shadow: none; }

.oo-ui-fieldsetLayout-group { clear: both; color: white; }

.oo-ui-popupToolGroup-handle:hover { background-color:#B7B1AF; color:white; }

.oo-ui-fieldsetLayout.oo-ui-iconElement > .oo-ui-fieldsetLayout-header > .oo-ui-labelElement-label { color: white; line-height: 1.8; padding-left: 2em; }

ve-ui-targetWidget-toolbar, .ve-ui-toolbar { background-color:transparent; }

.oo-ui-popupToolGroup-handle .oo-ui-indicatorElement-indicator { filter: invert(50%); height: 100%; margin-bottom: 0; margin-left: 0.5em; margin-right: 0.5em; margin-top: 0; opacity: 0.87; right: 0; top: 0; width: 0.9375em; }

.oo-ui-barToolGroup.oo-ui-widget-enabled > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link .oo-ui-tool-title { color: white !important; transition-delay: 0s; transition-duration: 100ms; transition-property: color; transition-timing-function: ease; }