MediaWiki:Mobile.css

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

.client-js .toc-mobile { background-color: rgba(0, 0, 0, 0) !important; border: 1px solid rgba(164, 2, 57, 0.3) !important; }

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

body.mediawiki #mw-mf-page-center { background: #101524; color: #F9CF87; }

a, a:visited, a.external { color: #d1394e; }

.thumb, li.gallerybox div.thumb { background-color: rgba(164, 2, 57, 0.1); border: 1px solid rgba(164, 2, 57, 0.3); }
 * 1) content_wrapper .thumb,

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

.content table td, .content table th { border: 1px solid rgba(164, 2, 57, 0.3); 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 rgba(164, 2, 57, 0.3); }

.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 rgba(164, 2, 57, 0.3) !important; background: rgba(164, 2, 57, 0.1) !important; }

border-left: 12px solid rgba(164, 2, 57, 0.3); background: transparent; }
 * 1) mw-mf-page-left {

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

border-bottom: 12px solid rgba(164, 2, 57, 0.3); }
 * 1) mw-mf-page-left ul:first-child {

border-top: 1px solid rgba(164, 2, 57, 0.3); border-bottom: 1px solid rgba(164, 2, 57, 0.3); background: transparent; text-shadow: none; }
 * 1) mw-mf-page-left ul li {

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

border-left: 12px solid #aaaaaa; background: rgba(164, 2, 57, 0.3); }
 * 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 rgba(164, 2, 57, 0.3); box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.75) inset; background: rgba(164, 2, 57, 0.1); color: inherit; margin: 5px; padding: 5px 10px; }

.fpbox .welcome { border-bottom: 1px solid rgba(164, 2, 57, 0.3); background: rgba(164, 2, 57, 0.1); color: #F9CF87; 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 rgba(164, 2, 57, 0.3); background: rgba(164, 2, 57, 0.1); color: #F9CF87; font-size: 132%; font-variant: small-caps; margin: 0 0 10px 0; padding: 0 0 5px 0; }

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

.fpbox hr { border: none; border-bottom: 2px solid rgba(164, 2, 57, 0.3); }

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

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

.fplinks .linkslabel { border-bottom: 2px solid rgba(164, 2, 57, 0.3); 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: rgba(164, 2, 57, 0.1) none repeat scroll 0 0; border: 2px solid rgba(164, 2, 57, 0.3); border-radius: 2px; box-shadow: 0 0 0 2px rgba(164, 2, 57, 0.3) inset; color: #F9CF87; display: table-cell; font-weight: bold; position: relative; text-align: center; text-transform: uppercase; 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 { 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 rgba(164, 2, 57, 0.3); background: rgba(164, 2, 57, 0.1) !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%; }

/*New style main button*/ .dc_button { font-weight: bold; text-align: center; display: inline-block; text-transform: uppercase; border: 2px solid rgba(164,2,57,0.3); border-radius: 2px; box-shadow: 0px 0px 16px rgba(0,0,0,0.75) inset; min-width: 100px; height: 100px; margin: 5px; }

.dc_button a { display: block;}

.dc_button:hover { box-shadow: 0px 0px 16px rgba(45, 26, 26, 0.75) inset; border: 2px solid rgba(164,2,57,0.8); } .dc_btext { margin: 6px 0px 0px 0px; height: 20px !important; overflow: hidden; border-top: 2px solid rgba(164,2,57,0.3); }

.dc_button:hover .dc_btext { border-top: 2px solid rgba(164,2,57,0.8); }

/**/ .dc_button2 { font-weight: bold; text-align: center; display: inline-block; text-transform: uppercase; border: 2px solid rgba(164,2,57,0.3); border-radius: 2px; box-shadow: 0px 0px 16px rgba(0,0,0,0.75) inset; min-width: 94px; margin: 5px; }

.dc_button2 a { display: block; height: 100%;}

.dc_button2:hover { box-shadow: 0px 0px 16px rgba(45, 26, 26, 0.75) inset; border: 2px solid rgba(164,2,57,0.8); }

.dc_btext a.external { background-image: none; padding-right: 0px; }

.pc_title { display: none; }

/* Tabber styling */ .tabberlive .tabbertab, .tabber .tabbertab { border: 1px solid #D1394E !important; /* If you keep all borders the same */ border-image: none !important; padding: 3px !important; }

ul.tabbernav { border-bottom: none !important; }

ul.tabbernav li a { background: linear-gradient(to bottom, #A6274E 0%,#CD2F46 73%,#D1394E 100%) !important; /* This should match your general choice of background color */ border: 1px solid #D1394E !important; /* This should match your general choice of border color */ border-image: none !important; border-radius: 2px 2px 0 0 !important; /* This is only if you want your tabs to have rounded corners */ margin-left: 3px !important; padding: 3px 0.5em !important; text-decoration: none !important; }

ul.tabbernav li { display: inline !important; list-style: none outside none !important; margin: 0 0 0 7px !important; }

ul.tabbernav li a:link { color: #F9CF87 !important; /* This should match your anchor color, but simply being different from the default text color works */ }

ul.tabbernav li a:hover { background: none repeat scroll 0 0 #D1394E !important; border-color: #D1394E !important; /* This should match your general choice of border color */ color: #FFFFFF !important; }

ul.tabbernav li.tabberactive a { background-color: #D1394E !important; color: #FFFFFF !important; }

ul.tabbernav li.tabberactive a:hover { color: #F9CF87 !important; }

ul.tabbernav li.tabberactive a, ul.tabbernav li.tabberactive a:hover, ul.tabbernav li.tabberactive a:link { background-color: #A6274E !important; border-bottom: 1px none !important; padding: 2px 0.5em 4px !important; }

ul.tabbernav { text-align: center !important; /* if you want the tabs to be centered rather than left-justified with respect to the tab content */ }

/* messageboxes */ .messagebox { background: rgba(0,0,0,0.4); border-radius: 10px; color: #F1DAB4 !important; box-shadow: 0 15px 45px -10px rgba(0,0,0,0.3); margin: 0 auto 1em auto; padding: 0.5em; text-align: center; width: 90%; }