Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(mark the source of the imports) |
(add tinderboxen offline class) |
||
Line 161: | Line 161: | ||
sup.reference:target { | sup.reference:target { | ||
background-color: #DEF; | background-color: #DEF; | ||
+ | } | ||
+ | |||
+ | |||
+ | /***** | ||
+ | ** Import bits of tinderbox.css | ||
+ | *****/ | ||
+ | #tinderboxen tr.offline { | ||
+ | background-color: #f9e1db | ||
} | } | ||
Revision as of 21:58, 15 May 2009
/* 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; } /* 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 } /* </source> */