MediaWiki:Common.css

/*

/** CSS placed here will be applied to all skins */

/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */ /* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */ /* column-count is from the CSS3 module "CSS Multi-column Layout" */ /* Please ignore any validator errors caused by these two lines */ .references-2column { font-size: 90%; -moz-column-count:2; column-count:2; }

.same-bg { background: none }

/* wikitable/prettytable class for skinning normal tables */

table.wikitable, table.prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse; }

table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { border: 1px #aaaaaa 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; font-weight: bold; }

/*********************************************************** table.sidebar { background-color: #f7f7f7; border: 1px solid #000000; border-collapse:collapse; font-size: 95%; color: #000000; clear: right; float: right; width: 200px; margin-left: 1.5em; margin-right: 0em; }
 * TABLE: WIKI-SIDEBAR

table.sidebar tr th { background-color: #c7c7c7; border: 1px outset #000000; text-align: center; font-weight: bold; }

table.sidebar tr.header th.header { background-color: #c7c7c7; border: 1px outset #000000; text-align: center; font-weight: bold; }

table.sidebar td.class { background-color: #f7f7f7; color: #000000; border-collapse: collapse; margin: 1em 0 0 1em; line-height: 130%; font-weight: bold; text-align: center; border: 1px outset #000000; }

table.sidebar td.image { background-color: #000000; color: #aecdee; line-height: 130%; text-align: center; border: 1px outset #000000; }

table.sidebar td.left { background-color: #454a67; color: #aecdee; line-height: 130%; text-align: right; border: 1px outset #222222; }

table.sidebar td.righta { background-color: #f7f7f7; color: #000000; line-height: 130%; text-align: left; border: 1px outset #222222; }

table.sidebar td.rightb { background-color: #c7c7c7; color: #000000; line-height: 130%; text-align: left; border: 1px outset #222222; }

/*DEPRECATED: Use td.left instead!*/ table.wiki-sidebar td.odd { width: 35%; font-weight: bold; text-align: right; }

table.wiki-sidebar td.sb-both { text-align: center; padding-left: 0; padding-right: 0; }

table.wiki-sidebar td.sb-both img { display:block; /*force new line after img in sidebar */ border: 0px outset #888888; margin: 0; padding-left: 0; padding-right: 0; }

table.wiki-sidebar td.sb-left { width: 35%; font-weight: bold; text-align: right; background-color: #222222; border: 0px outset #8888888; }

table.wiki-sidebar td.sb-right { background-color: #2E2E33; }

/*********************************************************** table.nav-simple { width: auto; clear: both; background-color: #cccccc; border: 1px solid #AAAAAA; margin: 1em auto 1em auto; }
 * TABLE: NAV-SIMPLE

table.nav-simple tr th { color: #aecdee; background-color: #454a67; border: 1px outset #aecdee; text-align: center; font-weight: bold; }

table.nav-simple tr td { background-color: transparent; text-align: center; font-size: smaller; }

/* Infobox template style */

.infobox { border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; }  width: 100%; padding: 0.2em; }  border: 1px solid #454a67; background-color: #aecdee; width: 100%; padding: 0.2em; } .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 #aaaaaa; } .infobox.bordered .borderless td, .infobox.bordered .borderless th { border: 0; } .infobox.sisterproject { width: 20em; font-size: 90%; }
 * 1) justify {
 * 1) project {

/* styles for bordered infobox with merged rows */ .infobox.bordered .mergedtoprow td, .infobox.bordered .mergedtoprow th { border: 0; border-top: 1px solid #aaaaaa; border-right: 1px solid #aaaaaa; }

.infobox.bordered .mergedrow td, .infobox.bordered .mergedrow th { border: 0; border-right: 1px solid #aaaaaa; }

/* Style for "notices" */ .notice { margin: 1em; padding: 0.2em; }

border-top: 1px solid #cccccc; border-bottom: 1px solid #cccccc; }
 * 1) disambig {

border-top: 2px solid #ddd; border-bottom:2px solid #ddd; }
 * 1) spoiler {

/* Make template background appear correctly on all browsers */ .Talk-Notice td { background: inherit; }

/* Metadata */ table.metadata { border: 1px solid #aaaaaa; display: none; speak: none; } .metadata-label { color: #aaaaaa; }

/* Persondata */ table.persondata { border: 1px solid #aaaaaa; display: none; speak: none; } .persondata-label { color: #aaaaaa; }

/* Makes redirects appear in italics on Special:Allpages */ .allpagesredirect { font-style: italic; }

/* Choose whether to have AD/BC dates or CE/BCE dates*/

/* First, the default : display both : See templates ADCE and BCEBC for how these are used*/ .Use_Default_Date_Convention { display: inline; } .Use_AD_and_BC { display: none; } .Use_BCE_and_CE { display: none; }

/* If you want to display AD and BC add the following to User:You/monobook.css page */ /* .Use_Default_Date_Convention { display: none; } .Use_AD_and_BC { display:inline; } .Use_BCE_and_CE { display:none; }

/*If you want to display CE and BCE add the following to User:You/monobook.css page */ /* .Use_Default_Date_Convention { display: none; } .Use_AD_and_BC { display:none; } .Use_BCE_and_CE {display:inline; }

/******************************************** ** Formatting an "ul" as inline enumeration by encapsulating ** with <div class="inline-list" */ .inline-list ul {list-style:none;} .inline-list ul li {display:inline;} .inline-list ul li:after { color:#FFFFFF; content:", "; }

/* Change the external link icon to an Adobe icon for all PDF files */ /* (in browsers that support these CSS selectors, like Mozilla and Opera) */ 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; }
 * 1) bodyContent a[href$=".pdf"].external,
 * 2) bodyContent a[href*=".pdf?"].external,
 * 3) bodyContent a[href*=".pdf#"].external,
 * 4) bodyContent a[href$=".PDF"].external,
 * 5) bodyContent a[href*=".PDF?"].external,
 * 6) bodyContent a[href*=".PDF#"].external {

/* 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; }

/* Content in columns with CSS instead of tables Template:Columns */ div.columns-2 div.column { float: left; width: 50%; min-width: 300px; }

div.columns-3 div.column { float: left; width: 33.3%; min-width: 200px; }

div.columns-4 div.column { float: left; width: 25%; min-width: 150px; }

div.columns-5 div.column { float: left; width: 20%; min-width: 120px; }

/*Add formatting to make sure that "external references" from Template:Ref do not get URL expansion, not even when printed. The mechanism up to MediaWiki 1.4 was that the HTML code contained a SPAN following the anchor A; this SPAN had the class "urlexpansion", which was not displayed on screen, but was shown when the medium was "print". The rules below ensure (a) that there is no extra padding to the right of the anchor (displayed as "[ ]"), (b) that there is no "external link arrow" for the link, and (c) that this SPAN of class "urlexpansion" is never shown. ~

.plainlinks { background: none ! important; padding: 0 ! important; }

.plainlinks .urlexpansion { display: none ! important; }

.plainlinks a { background: none !important; padding: 0 !important; }

.plainlinks { background: none ! important; padding: 0 ! important; }

.plainlinks a.external.text:after { display: none !important; } .plainlinks a.external.autonumber:after { display: none !important; }

.plainlinksneverexpand .urlexpansion { display: none ! important; }

/* Make sure that ext links displayed within "plainlinksneverexpand" don't get the arrow... .plainlinksneverexpand a { background: none !important; padding: 0 !important; }

/* With MediaWiki 1.5, the mechanism has changed: instead of a SPAN of class "urlexpansion" following the anchor A, the anchor itself now has class "external autonumber" and the expansion is inserted when printing (see the common printing style sheet at  http://en.wikipedia.org/skins-1.5/common/commonPrint.css) using the ":after" pseudo- element of CSS. We have to switch this off for links due to Template:Ref! ~ .plainlinksneverexpand a.external.text:after { display: none !important; } .plainlinksneverexpand a.external.autonumber:after { display: none !important; }

/* Messagebox templates */

.messagebox { border: 1px solid #aaaaaa; background-color: #f9f9f9; width: 80%; margin: 0 auto 1em auto; padding: .2em; } .messagebox.cleanup { border: 1px solid #454a67; background-color: #aecdee; text-align: center; } .messagebox.merge { border: 1px solid #c0b8cc; background-color: #f0e5ff; text-align: center; } .messagebox.project { border: 1px solid #454a67; background-color: #f7f7f7; width: 80%; padding: 0.2em; } .messagebox.protected { border: 1px solid #454a67; background-color: #f8eaba; text-align: center; } .messagebox.small-talk { width: 238px; font-size: 85%; float: right; clear: both; margin: 0 0 1em 1em; line-height: 1.25em; background-color: #f8eaba; } .messagebox.standard-talk { border: 1px solid #c0c090; background-color: #f8eaba; } .messagebox.stub { border: 1px solid #700000; background-color: #f8eaba; }

/*********************************************************** table.forumlist { width: 100%; background-color: #f6f6f6; border: 1px solid #AAAAAA; } table.forumlist tr th, table.forumlist thead tr th { color: inherit; background-color: #454a67; border: 1px outset #454a67; text-align: left; font-weight: bold; }
 * TABLE: FORUMLIST

/*********************************************************** div.warning { background-color: #fefefe; border: 1px solid #454a67; color: #FF0000 !important; font-weight: bold; margin: 2em 0 1em; padding: .5em 1em; vertical-align: middle; text-align: justify; }
 * DIVs "Messages"

div.header-notice { background-color: #454a67; border: 1px solid #AAAAAA; color: #aecdee; margin: 2em 0 1em; padding: .5em 1em; vertical-align: middle; text-align: justify; }

div.header-notice table { background-color: transparent; padding: 1px; }

div.notice { background-color: #fcfcfc; border: 1px dashed #CC0000; color: #FFFFFF; margin: 2em 20% 1em 20%; padding: .5em 1em; vertical-align: middle; text-align: justify; font-size:smaller; }

div.header-notice#fa { width: auto; font-size: inherit !important; }

div.notice p, div.header-notice p, div.warning p { line-height: 120% !important; }

div span.msg-title { display: block; width: 100%; color: #232323; text-align: center; font-size: 150%; font-weight: bold; border-bottom: 1px solid #AAAAAA; }

/*********************************************************** div.shortcut { float:right; border:1px solid #AAAAAA; background-color:#f6f6f6; padding: 0.5em; margin-bottom:1em; text-align: center; font-size:smaller; font-weight:bold; width: auto; }
 * DIV SHORTCUT

/* Put a checker background at the image description page only visible if the image has transparent background */


 * 1) file img {background: url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;}

/* Support for Template:IPA, Template:Unicode and Template:Polytonic. The inherit declaration resets the font for all browsers except MSIE6. The empty comment must remain. Please copy any changes to Template:IPA fonts and Template:Unicode fonts. */ .IPA { font-family: Chrysanthi Unicode, Doulos SIL, Gentium, GentiumAlt, Code2000, TITUS Cyberbit Basic, DejaVu Sans, Bitstream Cyberbit, Arial Unicode MS, Lucida Sans Unicode, Hiragino Kaku Gothic Pro, Matrix Unicode; font-family /**/:inherit; } .Unicode { font-family: Code2000, TITUS Cyberbit Basic, Doulos SIL, Chrysanthi Unicode, Bitstream Cyberbit, Bitstream CyberBase, Thryomanes, Gentium, GentiumAlt, Visual Geez Unicode, Lucida Grande, Arial Unicode MS, Microsoft Sans Serif, Lucida Sans Unicode; font-family /**/:inherit; } .latinx { font-family: Code2000, TITUS Cyberbit Basic, Microsoft Sans Serif; font-family /**/:inherit; } .polytonic { font-family: Athena, Gentium, Palatino Linotype, Arial Unicode MS, Lucida Sans Unicode, Lucida Grande, Code2000; font-family /**/:inherit; } .mufi { font-family: Alphabetum, Cardo, LeedsUni, Junicode, TITUS Cyberbit Basic, ALPHA-Demo; }

font-weight: bold; }
 * 1) wpSave {

/* class hiddenStructure is defunct. See hiddenStructure */

/* Removes underlines from links */ .nounderlines a { text-decoration: none; }

/* Remove underline from IPA links */ .IPA a:link, .IPA a:visited { text-decoration: none; }

/* Removes useless links from printout */ @media print { #privacy, #about, #disclaimer {display:none;} }

/* */