11,286
edits
FlyingRagnar (talk | contribs) No edit summary |
FlyingRagnar (talk | contribs) No edit summary |
||
(22 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* | /** Begin shared desktop + mobile view styles **/ | ||
/* Make sure any changes are copied to MediaWiki:Mobile.css and vice versa. */ | |||
/* CSS placed here will be used by both desktop view and mobile view skins. */ | |||
/* | /* Galleries */ | ||
/* help to replace deprecated <center> tags */ | |||
.gallery.mw-gallery-traditional { | |||
text-align: center; | |||
} | } | ||
# | |||
background- | .page-Main_Page #firstHeading { display:none; } | ||
h2 { | |||
padding-top: 15px; | |||
} | |||
li.main li { | |||
padding-right: 2px; | |||
text-align: left; | |||
padding-left: 20px; | |||
} | |||
.columnOn { | |||
background: url("/images/gfx/tick.png") no-repeat scroll 0 50% transparent; | |||
} | |||
.columnOff { | |||
background: url("/images/gfx/cross.png") no-repeat scroll 0 50% transparent; | |||
} | |||
.tabs { | |||
font-size: 1.05em; | |||
} | } | ||
/* Shrink an element to fit its container, similar to images in mobile skins */ | |||
.shrink-to-fit { | |||
max-width:100%; | |||
height:auto; | |||
} | } | ||
/* Class to retain pixelation when zoomed */ | |||
.pixels { | |||
-ms-interpolation-mode:nearest-neighbor; /* IE 7-11 */ | |||
image-rendering:-webkit-optimize-contrast; /* old Webkit browsers */ | |||
image-rendering:pixelated; /* Chrome / Opera */ | |||
image-rendering:-webkit-crisp-edges; /* Safari */ | |||
image-rendering:-moz-crisp-edges; /* Firefox */ | |||
image-rendering:-o-crisp-edges; /* old Opera */ | |||
image-rendering:crisp-edges; | |||
} | } | ||
Line 28: | Line 59: | ||
text-align: right; | text-align: right; | ||
font-size: .85em; | font-size: .85em; | ||
} | |||
/* Add scroll bars to dragscroll elements if needed */ | |||
.dragscroll { | |||
overflow: auto; | |||
} | } | ||
Line 33: | Line 69: | ||
background: transparent none repeat scroll 0 0 !important; | background: transparent none repeat scroll 0 0 !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
} | |||
.mw-content-ltr ul.inline-list, .mw-content-ltr ol.inline-list, .inline-list ul, .inline-list ol { | |||
margin:0.5em 0; | |||
overflow-x:hidden; | |||
list-style-type:none; | |||
} | |||
.inline-list li { | |||
display:inline; | |||
margin:0 1.18em 0 0; | |||
white-space:nowrap; | |||
} | |||
.inline-list li + li { | |||
margin-left:-1.18em; | |||
} | |||
.inline-list li + li:before { | |||
content:"\a0•\a0"; | |||
} | |||
.mw-content-ltr ul.plain-list, .mw-content-ltr ol.plain-list, .plain-list ul, .plain-list ol { | |||
margin:0; | |||
list-style-type:none; | |||
list-style-image:none; | |||
} | |||
.plain-list li { | |||
margin:0; | |||
} | |||
.wiki-directory-list li { | |||
text-align:left; | |||
} | } | ||
Line 108: | Line 173: | ||
} | } | ||
/* | |||
tr.odd { | tr.odd { | ||
Line 115: | Line 181: | ||
} | } | ||
*/ | |||
/*** End list table styles ******************************** | /*** End list table styles ******************************** | ||
Line 298: | Line 365: | ||
*******************************************************************/ | *******************************************************************/ | ||
/*** Navigation styles | /*** Navigation styles for all skins ******************************* | ||
*******************************************************************/ | *******************************************************************/ | ||
. | .navbox { | ||
clear:both; | |||
border:1px solid silver; | |||
text-align:center; | |||
font-weight:bold; | |||
color:#FFFFFF; | |||
} | |||
.navbox a, | |||
.navbox a.external, | |||
.navbox a.external:visited { | |||
color:#FFFFFF; | |||
} | |||
.navbox .mw-collapsible-toggle { | |||
position:relative; | |||
top:3px; | |||
right:3px; | |||
} | } | ||
. | .navbox-header { | ||
padding:2px; | |||
} | } | ||
. | .navbox-title { | ||
font-size:120%; | |||
} | } | ||
. | .navbox-subheader { | ||
padding:2px; | |||
font-size:95%; | |||
} | |||
.navbox-content { | |||
padding:2px; | |||
font-size:85%; | |||
text-align:left; | |||
color:#000000; | |||
} | } | ||
Line 342: | Line 421: | ||
} | } | ||
. | .navMainSeriesContent { | ||
background: #D6E0F5; | background: #D6E0F5; | ||
} | } | ||
. | .navMainSeriesContent a { | ||
color: #3366CC; | color: #3366CC; | ||
} | } | ||
Line 357: | Line 431: | ||
.navGameSeries, | .navGameSeries, | ||
.navGameSeries a { | .navGameSeries a { | ||
background: #000000; | |||
color: #FFFFFF; | |||
} | } | ||
.navClasses, | .navClasses, | ||
.navClasses a { | .navClasses a { | ||
background: #E65C00; | |||
color: #FFFFFF; | |||
} | } | ||
.tnav { | .tnav { | ||
font-size: | float:left; | ||
font-size:70%; | |||
} | } | ||
Line 375: | Line 450: | ||
/* Message box styles (taken from Wikipedia Common.css) */ | /* Message box styles (taken from Wikipedia Common.css) */ | ||
.mbox-text { /* The message body cell(s) */ | |||
border: none; | border: none; | ||
padding: 0.25em 0.9em; /* 0.9em left/right */ | padding: 0.25em 0.9em; /* 0.9em left/right */ | ||
width: 100%; | width: 100%; /* Make all mboxes the same width regardless of text length */ | ||
} | } | ||
.mbox-image { /* The left image cell */ | |||
border: none; | border: none; | ||
padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */ | padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */ | ||
text-align: center; | text-align: center; | ||
} | } | ||
.mbox-empty-cell { /* An empty narrow cell */ | |||
border: none; | border: none; | ||
padding: 0px; | padding: 0px; | ||
Line 391: | Line 466: | ||
} | } | ||
.mbox { | |||
margin: 4px 10%; | margin: 4px 10%; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
Line 398: | Line 473: | ||
} | } | ||
.mbox-notice, .mbox-walkthrough, .mbox-disambig, .mbox-incomplete, .mbox-s-stub { | |||
border: 1px solid #aaa; /* Gray */ | border: 1px solid #aaa; /* Gray */ | ||
} | } | ||
.mbox-speedy, .mbox-delete { | |||
border: 2px solid #b22222; /* Red */ | border: 2px solid #b22222; /* Red */ | ||
background: #fee; /* Pink */ | background: #fee; /* Pink */ | ||
} | } | ||
.mbox-stub, .mbox-sitenotice { | |||
border: 2px solid #1e90ff; /* Blue */ | border: 2px solid #1e90ff; /* Blue */ | ||
} | } | ||
.mbox-guideline { | |||
border: 1px solid #f28500; /* Orange */ | border: 1px solid #f28500; /* Orange */ | ||
} | } | ||
.mbox-future { | |||
border: 1px solid #f4c430; /* Yellow */ | border: 1px solid #f4c430; /* Yellow */ | ||
} | } | ||
.mbox-localization { | |||
border: 1px solid #9932cc; /* Purple */ | border: 1px solid #9932cc; /* Purple */ | ||
} | } | ||
.mbox-protection { | |||
border: 2px solid #bba; /* Gray-gold */ | border: 2px solid #bba; /* Gray-gold */ | ||
} | } | ||
/** End shared desktop + mobile view styles **/ | |||
/* CSS placed below will be used by desktop view skins only. */ | |||
/*** Navigation styles for desktop skins *************************** | |||
*******************************************************************/ | |||
.navbox-header { | |||
margin:2px 2px 0; | |||
} | |||
.navbox-body { | |||
display:table; | |||
width:100%; | |||
border-spacing:2px; | |||
} | |||
.navbox-section { | |||
display:table-row; | |||
} | |||
/* | .navbox-subheader { | ||
display:table-cell; | |||
vertical-align:middle; | |||
padding:2px 5px 2px 2px; | |||
white-space:nowrap; | |||
text-align:right; | |||
width:1%; | |||
} | |||
.navbox-content { | |||
display:table-cell; | |||
padding:2px 2px 2px 5px; | |||
} | |||
/* | |||
* custom styles for navigation templates | |||
* Note: these groups of style classes exist as a set | |||
* for a particular 'theme' of nav bars. | |||
* for example, navMainSeries is the default 'theme' | |||
*/ | |||
.navbox-section:nth-child(even) .navMainSeriesContent { | |||
background: #EAEFFA; | |||
} | |||
/*** End of navigation styles ********************************** | |||
***************************************************************/ |