MediaWiki:Common.css
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.
/* Displaying tag line */
#siteSub {
display:inline;
font-weight:normal;
font-size:90%;
}
/* Hide main page title */
body.page-Main_Page #siteSub,
body.page-Main_Page #contentSub,
body.page-Main_Page h1.firstHeading {
display: none !important;
}
/* Reduce space taken by <languages/> */
.mw-pt-languages-label { width: auto; white-space: nowrap; }
/* 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;
}
/* Default styling for Navbar template */
.navbar {
display: inline;
font-size: 88%;
font-weight: normal;
}
.navbar ul {
display: inline;
white-space: nowrap;
}
.navbar li {
word-spacing: -0.125em;
}
/* Navbar styling when nested in navbox */
.navbox .navbar {
display: block;
font-size: 100%;
}
.navbox-title .navbar {
/* @noflip */
float: left;
/* @noflip */
text-align: left;
/* @noflip */
margin-right: 0.5em;
width: 6em;
}
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.collapseButton {
/* @noflip */
float: right;
font-weight: normal;
/* @noflip */
margin-left: 0.5em;
/* @noflip */
text-align: right;
width: auto;
}
/* In navboxes, the show/hide button balances the v·d·e links
from [[Template:Navbar]], so they need to be the same width. */
.navbox .collapseButton {
width: 6em;
}
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.mw-parser-output .mw-collapsible-toggle {
font-weight: normal;
/* @noflip */
text-align: right;
}
.navbox .mw-collapsible-toggle {
width: 6em;
}
/* Standard Navigationsleisten, aka box hiding thingy
from .de. Documentation at [[Wikipedia:NavFrame]]. */
div.mw-collapsible,
div.NavFrame {
margin: 0;
padding: 4px;
border: 1px solid #aaa;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
div.mw-collapsible + div.mw-collapsible,
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavPic {
background-color: #fff;
margin: 0;
padding: 2px;
/* @noflip */
float: left;
}
div.mw-collapsible div.NavHead,
div.NavFrame div.NavHead {
height: 1.6em;
font-weight: bold;
background-color: #ccf;
position: relative;
}
div.mw-collapsible p,
div.mw-collapsible div.NavContent,
div.mw-collapsible div.NavContent p,
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
font-size: 100%;
}
div.NavEnd {
margin: 0;
padding: 0;
line-height: 1px;
clear: both;
}
a.NavToggle {
position: absolute;
top: 0;
/* @noflip */
right: 3px;
font-weight: normal;
font-size: 90%;
}
/*******************
** 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;}
.review-8 { color: #EEEEEE; background-color: #AAAAAA;}
#langlist li {
margin-right: .5em;
}