Difference between revisions of "Common.css"
From Our Contribution
(75 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
− | + | /* Hide "Main Page" titles */ | |
− | + | body.page-Main_Page .title, | |
− | /* | + | body.page-Main_Page #tagline { |
− | + | display: none; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | body.page-Main_Page | ||
− | body.page-Main_Page # | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | .top-bar .toggle-topbar.menu-icon, | |
− | + | .top-bar .toggle-topbar.menu-icon a { | |
− | + | color: #000000; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | . | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | . | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Line 116: | Line 24: | ||
div.reflist ol.references { | div.reflist ol.references { | ||
font-size: 100%; /* Reset font-size when nested in div.reflist */ | font-size: 100%; /* Reset font-size when nested in div.reflist */ | ||
− | |||
list-style-type: inherit; /* Enable custom list style types */ | list-style-type: inherit; /* Enable custom list style types */ | ||
+ | } | ||
+ | |||
+ | /* Highlight clicked reference in blue to help navigation */ | ||
+ | ol.references li:target, | ||
+ | sup.reference:target, | ||
+ | span.citation:target { | ||
+ | background-color: #DEF; | ||
} | } | ||
Line 131: | Line 45: | ||
} | } | ||
− | /* | + | /* Styling for citations (CSS3). Breaks long urls, etc., rather than overflowing box */ |
− | + | .citation { | |
− | + | word-wrap: break-word; | |
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | /* | + | /* Default styling for titles of works, styling for the title of an article |
− | + | within a periodical, or a contribution within a compilation. */ | |
− | + | cite, | |
− | + | .citation cite.article, | |
− | - | + | .citation cite.contribution { |
− | + | font-style: inherit; | |
− | |||
} | } | ||
− | /* | + | /* Styling for the title of any work within a citation, |
− | . | + | or specifically the title of a periodical. */ |
− | + | .citation cite, | |
− | + | .citation cite.periodical { | |
− | + | font-style: italic; | |
} | } | ||
− | + | ||
− | + | /* For linked citation numbers and document IDs, where | |
− | + | the number need not be shown on a screen or a handheld, | |
− | + | but should be included in the printed version */ | |
+ | @media screen, handheld { | ||
+ | .citation *.printonly { | ||
+ | display: none; | ||
+ | } | ||
} | } | ||
− | . | + | |
− | + | /* Style for horizontal lists (separator following item) */ | |
+ | .skin-monobook .hlist dl, | ||
+ | .skin-modern .hlist dl, | ||
+ | .skin-vector .hlist dl { | ||
+ | line-height: 1.5em; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.hlist dl, | .hlist dl, | ||
.hlist ol, | .hlist ol, | ||
.hlist ul { | .hlist ul { | ||
margin: 0; | margin: 0; | ||
− | |||
} | } | ||
− | |||
.hlist dd, | .hlist dd, | ||
.hlist dt, | .hlist dt, | ||
− | .hlist li { | + | .hlist li { |
+ | display: inline; | ||
margin: 0; | margin: 0; | ||
− | |||
} | } | ||
/* Display nested lists inline */ | /* Display nested lists inline */ | ||
− | + | .hlist dl dl, | |
− | + | .hlist ol ol, | |
− | + | .hlist ul ul { | |
− | |||
− | |||
− | .hlist ol | ||
− | |||
display: inline; | display: inline; | ||
− | |||
− | |||
− | |||
− | |||
} | } | ||
/* Generate interpuncts */ | /* Generate interpuncts */ | ||
.hlist dt:after { | .hlist dt:after { | ||
− | content: ": "; | + | content: ":"; |
} | } | ||
.hlist dd:after, | .hlist dd:after, | ||
.hlist li:after { | .hlist li:after { | ||
− | content: " · "; | + | content: " ·"; |
font-weight: bold; | font-weight: bold; | ||
} | } | ||
Line 211: | Line 111: | ||
content: none; | content: none; | ||
} | } | ||
− | /* | + | /* for IE 8 */ |
− | .hlist dd | + | .hlist dd.hlist-last-child:after, |
− | .hlist | + | .hlist dt.hlist-last-child:after, |
− | .hlist | + | .hlist li.hlist-last-child:after { |
− | content: " | + | content: none; |
+ | } | ||
+ | /* Add parens around nested lists */ | ||
+ | .hlist dl dl dd:first-child:before, | ||
+ | .hlist ol ol li:first-child:before, | ||
+ | .hlist ul ul li:first-child:before { | ||
+ | content: "("; | ||
+ | } | ||
+ | .hlist dl dl dd:last-child:after, | ||
+ | .hlist ol ol li:last-child:after, | ||
+ | .hlist ul ul li:last-child:after { | ||
+ | content: ")"; | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
− | .hlist dd | + | /* For IE8 */ |
− | .hlist | + | .hlist dl dl dd.hlist-last-child:after, |
− | .hlist li | + | .hlist ol ol li.hlist-last-child:after, |
+ | .hlist ul ul li.hlist-last-child:after { | ||
content: ")"; | content: ")"; | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
− | /* Put | + | /* Put numbers in ordered lists */ |
− | .hlist ol { | + | .hlist.hnum ol li { |
− | counter- | + | counter-increment: level1; |
+ | } | ||
+ | .hlist.hnum ol li:before { | ||
+ | content: counter(level1) " "; | ||
} | } | ||
− | .hlist ol | + | .hlist.hnum ol ol li { |
− | counter-increment: | + | counter-increment: level2; |
} | } | ||
− | .hlist ol | + | .hlist.hnum ol ol li:first-child:before { |
− | content: " " counter( | + | content: "(" counter(level2) " "; |
} | } | ||
− | .hlist | + | .hlist.hnum ol ol li:before { |
− | . | + | content: counter(level2) " "; |
− | |||
− | content: | ||
} | } | ||
/* Unbulleted lists */ | /* Unbulleted lists */ | ||
− | |||
.plainlist ul { | .plainlist ul { | ||
line-height: inherit; | line-height: inherit; | ||
Line 247: | Line 159: | ||
margin: 0; | margin: 0; | ||
} | } | ||
− | |||
.plainlist ul li { | .plainlist ul li { | ||
margin-bottom: 0; | margin-bottom: 0; | ||
Line 254: | Line 165: | ||
/* Default style for navigation boxes */ | /* Default style for navigation boxes */ | ||
.navbox { /* Navbox container style */ | .navbox { /* Navbox container style */ | ||
− | + | border: 1px solid #aaa; | |
− | border: 1px solid # | + | width: 100%; |
− | width: 100%; | + | margin: auto; |
clear: both; | clear: both; | ||
font-size: 88%; | font-size: 88%; | ||
text-align: center; | text-align: center; | ||
padding: 1px; | padding: 1px; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
.navbox-inner, | .navbox-inner, | ||
Line 273: | Line 177: | ||
width: 100%; | width: 100%; | ||
} | } | ||
− | .navbox | + | .navbox th, |
.navbox-title, | .navbox-title, | ||
.navbox-abovebelow { | .navbox-abovebelow { | ||
− | + | text-align: center; /* Title and above/below styles */ | |
− | + | padding-left: 1em; | |
− | + | padding-right: 1em; | |
} | } | ||
th.navbox-group { /* Group style */ | th.navbox-group { /* Group style */ | ||
Line 290: | Line 194: | ||
} | } | ||
.navbox-list { | .navbox-list { | ||
− | |||
border-color: #fdfdfd; /* Must match background color */ | border-color: #fdfdfd; /* Must match background color */ | ||
} | } | ||
Line 311: | Line 214: | ||
.navbox-odd { | .navbox-odd { | ||
background: transparent; /* Odd row striping */ | background: transparent; /* Odd row striping */ | ||
+ | } | ||
+ | table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */ | ||
+ | margin-top: -1px; /* (doesn't work for IE6, but that's okay) */ | ||
} | } | ||
.navbox .hlist td dl, | .navbox .hlist td dl, | ||
Line 319: | Line 225: | ||
.navbox td.hlist ul { | .navbox td.hlist ul { | ||
padding: 0.125em 0; /* Adjust hlist padding in navboxes */ | padding: 0.125em 0; /* Adjust hlist padding in navboxes */ | ||
+ | } | ||
+ | .navbox .hlist dd, | ||
+ | .navbox .hlist dt, | ||
+ | .navbox .hlist li { | ||
+ | white-space: nowrap; /* Nowrap list items in navboxes */ | ||
+ | white-space: normal !ie; /* IE < 8 no-wraps entire list, so disable it */ | ||
+ | } | ||
+ | .navbox .hlist dd dl, | ||
+ | .navbox .hlist dt dl, | ||
+ | .navbox .hlist li ol, | ||
+ | .navbox .hlist li ul { | ||
+ | white-space: normal; /* But allow parent list items to be wrapped */ | ||
+ | } | ||
+ | ol + table.navbox, | ||
+ | ul + table.navbox { | ||
+ | margin-top: 0.5em; /* Prevent lists from clinging to navboxes */ | ||
} | } | ||
Line 330: | Line 252: | ||
display: inline; | display: inline; | ||
white-space: nowrap; | white-space: nowrap; | ||
− | |||
− | |||
− | |||
} | } | ||
.navbar li { | .navbar li { | ||
word-spacing: -0.125em; | word-spacing: -0.125em; | ||
} | } | ||
− | .navbar.mini li | + | .navbar.mini li span { |
font-variant: small-caps; | font-variant: small-caps; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
+ | /* Navbar styling when nested in navbox */ | ||
.navbox .navbar { | .navbox .navbar { | ||
display: block; | display: block; | ||
Line 358: | Line 271: | ||
/* @noflip */ | /* @noflip */ | ||
margin-right: 0.5em; | margin-right: 0.5em; | ||
+ | width: 6em; | ||
} | } | ||
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript | /* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript | ||
in [[MediaWiki:Common.js]] are styled here so they can be customised. */ | in [[MediaWiki:Common.js]] are styled here so they can be customised. */ | ||
− | .collapseButton { | + | .collapseButton { |
/* @noflip */ | /* @noflip */ | ||
float: right; | float: right; | ||
Line 371: | Line 285: | ||
text-align: right; | text-align: right; | ||
width: auto; | width: auto; | ||
+ | } | ||
+ | /* In navboxes, the show/hide button balances the v·d·e links | ||
+ | from [[Template:Navbar]], so they need to be the same width. */ | ||
+ | .navbox .collapseButton { | ||
+ | width: 6em; | ||
} | } | ||
Line 378: | Line 297: | ||
/* @noflip */ | /* @noflip */ | ||
text-align: right; | text-align: right; | ||
+ | } | ||
+ | .navbox .mw-collapsible-toggle { | ||
+ | width: 6em; | ||
} | } | ||
/* Infobox template style */ | /* Infobox template style */ | ||
.infobox { | .infobox { | ||
− | border: 1px solid # | + | border: 1px solid #aaa; |
− | + | background-color: #f9f9f9; | |
− | background-color: # | ||
color: black; | color: black; | ||
− | |||
margin: 0.5em 0 0.5em 1em; | margin: 0.5em 0 0.5em 1em; | ||
padding: 0.2em; | padding: 0.2em; | ||
Line 393: | Line 313: | ||
/* @noflip */ | /* @noflip */ | ||
clear: right; | clear: right; | ||
+ | text-align: left; | ||
font-size: 88%; | font-size: 88%; | ||
line-height: 1.5em; | line-height: 1.5em; | ||
} | } | ||
+ | |||
.infobox caption { | .infobox caption { | ||
font-size: 125%; | font-size: 125%; | ||
font-weight: bold; | font-weight: bold; | ||
− | |||
} | } | ||
.infobox td, | .infobox td, | ||
.infobox th { | .infobox th { | ||
− | vertical-align: | + | vertical-align: middle; |
− | + | padding: 0.2em; | |
− | |||
} | } | ||
.infobox.bordered { | .infobox.bordered { | ||
Line 412: | Line 332: | ||
.infobox.bordered td, | .infobox.bordered td, | ||
.infobox.bordered th { | .infobox.bordered th { | ||
− | border: 1px solid # | + | border: 1px solid #aaa; |
} | } | ||
.infobox.bordered .borderless td, | .infobox.bordered .borderless td, | ||
Line 437: | Line 357: | ||
.infobox.bordered .mergedtoprow th { | .infobox.bordered .mergedtoprow th { | ||
border: 0; | border: 0; | ||
− | border-top: 1px solid # | + | border-top: 1px solid #aaa; |
− | + | border-right: 1px solid #aaa; | |
− | border-right: 1px solid # | ||
} | } | ||
Line 445: | Line 364: | ||
.infobox.bordered .mergedrow th { | .infobox.bordered .mergedrow th { | ||
border: 0; | border: 0; | ||
− | + | border-right: 1px solid #aaa; | |
− | border-right: 1px solid # | ||
} | } | ||
Line 452: | Line 370: | ||
country subdivisions, cities, etc. */ | country subdivisions, cities, etc. */ | ||
.infobox.geography { | .infobox.geography { | ||
+ | /* @noflip */ | ||
+ | text-align: left; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
− | line-height: 1.2em; | + | line-height: 1.2em; |
font-size: 90%; | font-size: 90%; | ||
} | } | ||
Line 459: | Line 379: | ||
.infobox.geography td, | .infobox.geography td, | ||
.infobox.geography th { | .infobox.geography th { | ||
− | border-top: 1px solid # | + | border-top: 1px solid #aaa; |
padding: 0.4em 0.6em 0.4em 0.6em; | padding: 0.4em 0.6em 0.4em 0.6em; | ||
} | } | ||
.infobox.geography .mergedtoprow td, | .infobox.geography .mergedtoprow td, | ||
.infobox.geography .mergedtoprow th { | .infobox.geography .mergedtoprow th { | ||
− | border-top: 1px solid # | + | border-top: 1px solid #aaa; |
padding: 0.4em 0.6em 0.2em 0.6em; | padding: 0.4em 0.6em 0.2em 0.6em; | ||
} | } | ||
Line 477: | Line 397: | ||
.infobox.geography .mergedbottomrow th { | .infobox.geography .mergedbottomrow th { | ||
border-top: 0; | border-top: 0; | ||
− | border-bottom: 1px solid # | + | border-bottom: 1px solid #aaa; |
padding: 0 0.6em 0.4em 0.6em; | padding: 0 0.6em 0.4em 0.6em; | ||
} | } | ||
Line 502: | Line 422: | ||
} | } | ||
/* ...unless they also use the hlist class */ | /* ...unless they also use the hlist class */ | ||
− | |||
− | |||
.wikitable.hlist td ul, | .wikitable.hlist td ul, | ||
.wikitable.hlist td ol, | .wikitable.hlist td ol, | ||
− | .wikitable.hlist td dl { | + | .wikitable.hlist td dl { |
text-align: inherit; | text-align: inherit; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } |
Latest revision as of 18:32, 17 May 2019
/* CSS placed here will be applied to all skins */ /* Hide "Main Page" titles */ body.page-Main_Page .title, body.page-Main_Page #tagline { display: none; } .top-bar .toggle-topbar.menu-icon, .top-bar .toggle-topbar.menu-icon a { color: #000000; } /* Make the list of references smaller */ ol.references, div.reflist, div.refbegin { font-size: 90%; /* Default font-size */ margin-bottom: 0.5em; } div.refbegin-100 { font-size: 100%; /* Option for normal fontsize in {{refbegin}} */ } div.reflist ol.references { font-size: 100%; /* Reset font-size when nested in div.reflist */ list-style-type: inherit; /* Enable custom list style types */ } /* Highlight clicked reference in blue to help navigation */ ol.references li:target, sup.reference:target, span.citation:target { background-color: #DEF; } /* Ensure refs in table headers and the like aren't bold or italic */ sup.reference { font-weight: normal; font-style: normal; } /* Allow hidden ref errors to be shown by user CSS */ span.brokenref { display: none; } /* Styling for citations (CSS3). Breaks long urls, etc., rather than overflowing box */ .citation { word-wrap: break-word; } /* Default styling for titles of works, styling for the title of an article within a periodical, or a contribution within a compilation. */ cite, .citation cite.article, .citation cite.contribution { font-style: inherit; } /* Styling for the title of any work within a citation, or specifically the title of a periodical. */ .citation cite, .citation cite.periodical { font-style: italic; } /* For linked citation numbers and document IDs, where the number need not be shown on a screen or a handheld, but should be included in the printed version */ @media screen, handheld { .citation *.printonly { display: none; } } /* Style for horizontal lists (separator following item) */ .skin-monobook .hlist dl, .skin-modern .hlist dl, .skin-vector .hlist dl { line-height: 1.5em; } .hlist dl, .hlist ol, .hlist ul { margin: 0; } .hlist dd, .hlist dt, .hlist li { display: inline; margin: 0; } /* Display nested lists inline */ .hlist dl dl, .hlist ol ol, .hlist ul ul { display: inline; } /* Generate interpuncts */ .hlist dt:after { content: ":"; } .hlist dd:after, .hlist li:after { content: " ·"; font-weight: bold; } .hlist dd:last-child:after, .hlist dt:last-child:after, .hlist li:last-child:after { content: none; } /* for IE 8 */ .hlist dd.hlist-last-child:after, .hlist dt.hlist-last-child:after, .hlist li.hlist-last-child:after { content: none; } /* Add parens around nested lists */ .hlist dl dl dd:first-child:before, .hlist ol ol li:first-child:before, .hlist ul ul li:first-child:before { content: "("; } .hlist dl dl dd:last-child:after, .hlist ol ol li:last-child:after, .hlist ul ul li:last-child:after { content: ")"; font-weight: normal; } /* For IE8 */ .hlist dl dl dd.hlist-last-child:after, .hlist ol ol li.hlist-last-child:after, .hlist ul ul li.hlist-last-child:after { content: ")"; font-weight: normal; } /* Put numbers in ordered lists */ .hlist.hnum ol li { counter-increment: level1; } .hlist.hnum ol li:before { content: counter(level1) " "; } .hlist.hnum ol ol li { counter-increment: level2; } .hlist.hnum ol ol li:first-child:before { content: "(" counter(level2) " "; } .hlist.hnum ol ol li:before { content: counter(level2) " "; } /* Unbulleted lists */ .plainlist ul { line-height: inherit; list-style: none none; margin: 0; } .plainlist ul li { margin-bottom: 0; } /* Default style for navigation boxes */ .navbox { /* Navbox container style */ border: 1px solid #aaa; width: 100%; margin: auto; clear: both; font-size: 88%; text-align: center; padding: 1px; } .navbox-inner, .navbox-subgroup { width: 100%; } .navbox th, .navbox-title, .navbox-abovebelow { text-align: center; /* Title and above/below styles */ padding-left: 1em; padding-right: 1em; } th.navbox-group { /* Group style */ white-space: nowrap; /* @noflip */ text-align: right; } .navbox, .navbox-subgroup { background: #fdfdfd; /* Background color */ } .navbox-list { border-color: #fdfdfd; /* Must match background color */ } .navbox th, .navbox-title { background: #ccccff; /* Level 1 color */ } .navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title { background: #ddddff; /* Level 2 color */ } .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: #e6e6ff; /* Level 3 color */ } .navbox-even { background: #f7f7f7; /* Even row striping */ } .navbox-odd { background: transparent; /* Odd row striping */ } table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */ margin-top: -1px; /* (doesn't work for IE6, but that's okay) */ } .navbox .hlist td dl, .navbox .hlist td ol, .navbox .hlist td ul, .navbox td.hlist dl, .navbox td.hlist ol, .navbox td.hlist ul { padding: 0.125em 0; /* Adjust hlist padding in navboxes */ } .navbox .hlist dd, .navbox .hlist dt, .navbox .hlist li { white-space: nowrap; /* Nowrap list items in navboxes */ white-space: normal !ie; /* IE < 8 no-wraps entire list, so disable it */ } .navbox .hlist dd dl, .navbox .hlist dt dl, .navbox .hlist li ol, .navbox .hlist li ul { white-space: normal; /* But allow parent list items to be wrapped */ } ol + table.navbox, ul + table.navbox { margin-top: 0.5em; /* Prevent lists from clinging to navboxes */ } /* Default styling for Navbar template */ .navbar { display: inline; font-size: 88%; font-weight: normal; } .navbar ul { display: inline; white-space: nowrap; } .navbar li { word-spacing: -0.125em; } .navbar.mini li span { font-variant: small-caps; } /* Navbar styling when nested in navbox */ .navbox .navbar { display: block; font-size: 100%; } .navbox-title .navbar { /* @noflip */ float: left; /* @noflip */ text-align: left; /* @noflip */ margin-right: 0.5em; width: 6em; } /* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript in [[MediaWiki:Common.js]] are styled here so they can be customised. */ .collapseButton { /* @noflip */ float: right; font-weight: normal; /* @noflip */ margin-left: 0.5em; /* @noflip */ text-align: right; width: auto; } /* In navboxes, the show/hide button balances the v·d·e links from [[Template:Navbar]], so they need to be the same width. */ .navbox .collapseButton { width: 6em; } /* Styling for JQuery makeCollapsible, matching that of collapseButton */ .mw-collapsible-toggle { font-weight: normal; /* @noflip */ text-align: right; } .navbox .mw-collapsible-toggle { width: 6em; } /* Infobox template style */ .infobox { border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; /* @noflip */ float: right; /* @noflip */ clear: right; text-align: left; font-size: 88%; line-height: 1.5em; } .infobox caption { font-size: 125%; font-weight: bold; } .infobox td, .infobox th { vertical-align: middle; padding: 0.2em; } .infobox.bordered { border-collapse: collapse; } .infobox.bordered td, .infobox.bordered th { border: 1px solid #aaa; } .infobox.bordered .borderless td, .infobox.bordered .borderless th { border: 0; } .infobox.sisterproject { width: 20em; font-size: 90%; } .infobox.standard-talk { border: 1px solid #c0c090; background-color: #f8eaba; } .infobox.standard-talk.bordered td, .infobox.standard-talk.bordered th { border: 1px solid #c0c090; } /* styles for bordered infobox with merged rows */ .infobox.bordered .mergedtoprow td, .infobox.bordered .mergedtoprow th { border: 0; border-top: 1px solid #aaa; border-right: 1px solid #aaa; } .infobox.bordered .mergedrow td, .infobox.bordered .mergedrow th { border: 0; border-right: 1px solid #aaa; } /* Styles for geography infoboxes, eg countries, country subdivisions, cities, etc. */ .infobox.geography { /* @noflip */ text-align: left; border-collapse: collapse; line-height: 1.2em; font-size: 90%; } .infobox.geography td, .infobox.geography th { border-top: 1px solid #aaa; padding: 0.4em 0.6em 0.4em 0.6em; } .infobox.geography .mergedtoprow td, .infobox.geography .mergedtoprow th { border-top: 1px solid #aaa; padding: 0.4em 0.6em 0.2em 0.6em; } .infobox.geography .mergedrow td, .infobox.geography .mergedrow th { border: 0; padding: 0 0.6em 0.2em 0.6em; } .infobox.geography .mergedbottomrow td, .infobox.geography .mergedbottomrow th { border-top: 0; border-bottom: 1px solid #aaa; padding: 0 0.6em 0.4em 0.6em; } .infobox.geography .maptable td, .infobox.geography .maptable th { border: 0; padding: 0; } /* Normal font styling for table row headers with scope="row" tag */ .wikitable.plainrowheaders th[scope=row] { font-weight: normal; /* @noflip */ text-align: left; } /* Lists in data cells are always left-aligned */ .wikitable td ul, .wikitable td ol, .wikitable td dl { /* @noflip */ text-align: left; } /* ...unless they also use the hlist class */ .wikitable.hlist td ul, .wikitable.hlist td ol, .wikitable.hlist td dl { text-align: inherit; }