MediaWiki:Common.css

/***** CSS placed here will be applied to all skins on the entire site. *****/

/* Mark redirects in Special:Allpages and Special:Watchlist */ .allpagesredirect { font-style: italic; } .allpagesredirect:after { color: #808080; content: " (redirect)" } .watchlistredir { font-style: italic; }

/* Simple layout classes */ .float-left { float: left; margin-right: 1em; } .float-right { float: right; margin-left: 1em; } .clear-left { clear: left; } .clear-right { clear: right; } .clear-both { clear: both; }

/* Italicize titles (see Template:Title) */ cite { font-style: italic; }

/* Hatnote template style: about, main, redirect, see also, etc. */ .hatnote { font-style:italic; padding-left:1.6em; margin-bottom:0.5em; }

/* Infobox styles */ .infobox-header { margin:-0.2em; text-align:center; } .infobox-section-header { clear:both; margin:-0.2em; padding-top:1em; text-align:center; } .infobox dl { clear:both; } .infobox dt { clear:both; float:left; } .infobox dd { clear:right; float:right; margin-left:1em; }

/* Green border class */ .border-green { padding:0.5em; border:1px solid #006600; }

/* Green background class */ .background-green { background-color:#006600; color:#ffffff; }

/* Abbr style reset */ .plain-abbr, .plain-abbr abbr { border-bottom:0 none; cursor:auto; }

/* Center aligned text class */ .text-center { text-align:center; } /* Full width class */ .full-width { box-sizing:border-box; width:100%; }

/* Mordor Wiki table styles for Wikia (Oasis) skin */ /* Navbox container styles */ .mw-navbox { position:relative; margin:1em auto 0; font-size:90%; } /* Navbox header styles */ .mw-navbox-header { position:relative; padding:0 4em; font-weight:bold; } .mw-navbox-template-links { position:absolute; top:0; left:1em; font-size:smaller; } /* Navbox body styles */ /* fallbacks for browsers that don't support wrapping flexboxes */ .mw-navbox-body { padding:0.7em 1.5em 0; } .mw-navbox-body p { font-weight:bold; } .mw-navbox-body ul, .mw-navbox-body ol, .mw-navbox-body dl { overflow-x:hidden; list-style-type:none; } .mw-navbox-body ul, .mw-navbox-body ol { margin:0 -1.4em 0 0.1em; } .mw-navbox-body dl { margin:0 -1.5em 0 10em; text-align:left; } .mw-navbox-body dt { position:absolute; width:9em; left:1em; text-align:right; } .mw-navbox-body dt:after { position:absolute; top:0; left:9.48em; content:" — ";     /* Dashes after ";" terms */ } .mw-navbox-body li, .mw-navbox-body dd { display:inline; white-space:nowrap; /* No line breaks within "*" "#" ":" items */ } .mw-navbox-body li { position:relative; margin:0 1.4em 0 -0.1em; } .mw-navbox-body dd { margin:0; } .mw-navbox-body dd ~ dd { margin-left:-0.9em; } .mw-navbox-body li:after, .mw-navbox-body dd:after { white-space:normal; content:" ";       /* Allow line breaks after "*" "#" ":" items */ } .mw-navbox-body dd:after { margin-left:1.21em; } .mw-navbox-body li + li:before, .mw-navbox-body dd + dd:before { content:"• ";      /* Bullets between "*" "#" ":" items */ } .mw-navbox-body li + li:before { position:absolute; left:-0.8em; } .mw-navbox-body dd + dd:before { margin-right:0.29em; } .mw-navbox-body dd + dt + dd:before { display:block; content:"";       /* Line breaks after 2nd, 3rd, etc. ";" terms */ } /* Navbox body styles */ /* overrides for browsers that support wrapping flexboxes */ .mw-navbox-body ul, .mw-navbox-body ol { display:-webkit-flex;                 /* Safari 7 & 8 */ -webkit-flex-wrap:wrap; display:-ms-flexbox;                  /* IE 10 */ -ms-flex-wrap:wrap; display:flex;                         /* Current browsers */ flex-wrap:wrap; } .mw-navbox-body li { -webkit-flex-grow:1;                  /* Safari 7 & 8 */ -ms-flex-positive:1;                  /* IE 10 */ flex-grow:1;                          /* Current browsers */ } /* Navbox option overrides */ .mw-navbox-narrow-terms dl { margin-left:5.5em; } .mw-navbox-narrow-terms dt { width:4.5em; } .mw-navbox-narrow-terms dt:after { left:4.98em; } .mw-navbox-wide-terms dl { margin-left:14.5em; } .mw-navbox-wide-terms dt { width:13.5em; } .mw-navbox-wide-terms dt:after { left:13.98em; }

/* Color overrides to fix contrast issues */ .background-green a { color:#66ff66; /* #1f5d04 */ } .background-green a.new { color:#ffcc99; /* #cc2200 */ }