11,286
edits
FlyingRagnar (talk | contribs) No edit summary |
FlyingRagnar (talk | contribs) No edit summary |
||
| 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. */ | |||
h2 { | h2 { | ||
| Line 23: | Line 24: | ||
.tabs { | .tabs { | ||
font-size: 1.05em; | 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 33: | Line 51: | ||
text-align: right; | text-align: right; | ||
font-size: .85em; | font-size: .85em; | ||
} | |||
/* Add scroll bars to dragscroll elements if needed */ | |||
.dragscroll { | |||
overflow: auto; | |||
} | } | ||
| Line 113: | Line 136: | ||
} | } | ||
/* | |||
tr.odd { | tr.odd { | ||
| Line 120: | Line 144: | ||
} | } | ||
*/ | |||
/*** End list table styles ******************************** | /*** End list table styles ******************************** | ||
| Line 433: | Line 458: | ||
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 55px; | |||
white-space:nowrap; | |||
text-align:right; | |||
} | |||
.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 ********************************** | |||
***************************************************************/ | |||