MediaWiki:Common.css
Jump to navigation
Jump to search
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* edit this file to customize the skin for the entire site */ /* <source lang="css"> */ /***** ** Minor tweaks - imported from http://meta.wikimedia.org/wiki/MediaWiki:Common.css 2009-05-15 *****/ /* hide arrows on selected external links */ .plainlinksneverexpand a { background:none !important; padding:0 !important; } /***** ** Table formatting - imported from http://meta.wikimedia.org/wiki/MediaWiki:Common.css 2009-05-15 *****/ table.wikitable, table.prettytable { margin:1em 1em 1em 0; background:#F9F9F9; border:1px #AAA solid; border-collapse:collapse; } table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { border:1px #AAA solid; padding:0.2em; } table.wikitable th, table.prettytable th { background:#F2F2F2; text-align:center; } table.wikitable caption, table.prettytable caption { margin-left:inherit; margin-right:inherit; } /***** ** box formatting - imported from http://meta.wikimedia.org/wiki/MediaWiki:Common.css 2009-05-15 *****/ .infobox { float:right; clear:right; margin-bottom:0.5em; margin-left:1em; padding:0.2em; border:1px solid #AAA; background:#F9F9F9; color:black; } .infobox td, .infobox th { vertical-align:top; } .infobox caption { font-size:larger; margin-left:inherit; } .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%; } .sister-project { clear:right; float:right; width:250px; margin:0 0 1em 3em; padding:4px; border:1px solid #AAA; background:#F9F9F9; font-size:0.8em; text-align:left; } /* [[template:other languages]] */ #otherlangs { margin:0.5em; padding:2px; border:1px solid #CCC; background:#FAFAFA; font-size:0.9em; } #otherlangs span { margin:0 2px; padding-left:2px; border-left:1px solid gray; } #otherlangs span.firstlang { border:none; } /* Change the external link icon to an Adobe icon for all PDF files */ /* (in browsers that support these CSS selectors, like Mozilla and Opera) */ #bodyContent a[href$=".pdf"].external, #bodyContent a[href*=".pdf?"].external, #bodyContent a[href*=".pdf#"].external, #bodyContent a[href$=".PDF"].external, #bodyContent a[href*=".PDF?"].external, #bodyContent a[href*=".PDF#"].external { background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat; padding-right: 16px; } /* Change the external link icon to an Adobe icon anywhere the PDFlink class */ /* is used (notably Template:PDFlink). This works in IE, unlike the above. */ span.PDFlink a { background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat !important; padding-right: 17px !important; } /* Allow limiting of which header levels are shown in a TOC; <div class="toclimit-3">, for instance, will limit to showing ==headings== and ===headings=== but no further (as long as there are no =headings= on the page, which there shouldn't be according to the MOS). Thanks to w:en:User:Ais523 for that code.*/ .toclimit-2 .toclevel-2 {display:none;} .toclimit-3 .toclevel-3 {display:none;} .toclimit-4 .toclevel-4 {display:none;} .toclimit-5 .toclevel-5 {display:none;} .toclimit-6 .toclevel-6 {display:none;} .toclimit-7 .toclevel-7 {display:none;} /* Default style for PrettyTextBox and InformationBox class of templates */ /* Default style for Template:Warning, Template:Info, and the like */ .InformationBox { width: 80%; border: solid #999999 1px; background: #F8F8F8; margin: 0.5em auto; clear: both; color: #000000; padding: 3px; } .PrettyTextBox { background-color: #F9F9F9; color: #000000; border: 1px solid #AAAAAA; padding: .2em; } /* Highlight clicked reference in blue to help navigation */ ol.references > li:target { background-color: #DEF; } sup.reference:target { background-color: #DEF; } /***** ** Import bits of tinderbox.css *****/ #tinderboxen tr.offline { background-color: #f9e1db } /***** ** Fix h5 suckage *****/ #bodyContent h5 { text-decoration: underline; font-size: 103%; } /* </source> */