MediaWiki:Common.css

From Wikimania 2011 • Haifa, Israel

Note: After publishing, 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: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

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

/* To make redirects show up in italics and green on [[Special:Allpages]]. */
.allpagesredirect a,
.watchlistredir a {
 color:#606060;
}

/* generic styles */
div.cleaner {
 clear: both;
}
 
div.cleaner br,
div.cleaner hr {
 clear: both;
 display: none;
}

div.twoColsLeft {
 float: left;
 width: 49%;
}

div.twoColsRight {
 float: right;
 width: 49%;
}

/* for intro parts */
div.intro {
 margin-bottom: 1em;
 padding: .5em 1em;
 background:#eeeeee;
}

/* for tagline */
#siteSub {
 display: inline;
 font-size: 92%;
 font-weight: normal;
}
/* This section facilitates rtl translations */
.rtl {
direction: rtl;
font-family: Arial, Tahoma, sans-serif;
}
 
#bodyContent .rtl a,#bodyContent .rtl a.external {
background:none;
padding-right:0;
}

.rtl#toctitle {
direction:ltr;
}

.rtl .toclevel-1, .rtl .toclevel-2, .rtl .toclevel-3, .rtl .toclevel-4 {
text-align:right;
}

.rtl .toclevel-2 {
margin-right:10px;
}

.rtl .toclevel-3 {
margin-right:20px;
}

.rtl .toclevel-4 {
margin-right:30px;
}

.rtl .editsection {
float:left;
}

.rtl UL {
margin-right:16px;
display:table;
}

.rtl OL {
margin-right:16px;
display:table;
}

/* Hide main page title */
body.page-Main_Page #siteSub,
body.page-Main_Page #contentSub,
body.page-Main_Page h1.firstHeading {
 display: none !important;
}

#IRC { width: 25em; float: right; padding: 1em; background-color: white; color: black ; text-align: center;}
#IRC a { font-size: 150%; font-weight: bold; color: black;}
#IRC a.external { color: black;}

.messagebox {
	border: 1px solid#aaa;
	background-color:#f9f9f9;
	margin: 0 auto 1em auto;
	padding: .2em;
	text-align: justify;
}
.messagebox.merge {
	border: 1px solid#cf9fff;
	background-color:#f5edf5;
	text-align: center;
}

.messagebox.talk {
	border: 1px solid#c0c090;
	background-color:#f8eaba;
}

.messagebox.nested-talk {
	border: 1px solid#c0c090;
	background-color:#f8eaba;
	width: 100%;
	margin: 2px 4px 2px 4px;
}

.messagebox.small, .messagebox.small-talk {
	width: 238px;
	font-size: 85%;
	float: right;
	clear: both;
	margin: 0 0 1em 1em;
	line-height: 1.25em;
}

.messagebox.small-talk {
	background:#F8EABA;
}

/*******************
** Default style for PrettyTextBox and InformationBox class of templates
** ie, {{warning}}, {{info}}, etc
*******************/
.InformationBox {
	width:80%;
	clear:both;
	margin:0.5em auto;
	padding:3px;
	border:1px solid#999;
	background:#F8F8F8;
	color:#000;
}
 
.PrettyTextBox {
	padding:.2em;
	border:1px solid#AAA;
	background:#F9F9F9;
	color:#000;
}

.review-1 { color: white; background-color: red;}
.review-2 { color: white; background-color: orangered;}
.review-3 { color: white; background-color: salmon;}
.review-5 { color: black; background-color: lightgreen;}
.review-6 { color: black; background-color: lawngreen;}
.review-7 { color: black; background-color: lime;}