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.
/* CSS placed here will be applied to all skins */
/* 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;
}
/* [[template:other languages]] */
#otherlangs
{
background: #fafafa;
border: 1px solid #ccc;
font-size: 0.9em;
margin: 0.5em;
padding: 2px;
}
#otherlangs span.langblock
{
border-left: 1px solid gray;
margin: 0 2px;
padding-left: 2px;
}
#otherlangs span.firstlang
{
border: none;
}
/* To make redirects show up in italics and green on [[Special:Allpages]]. */
.allpagesredirect a,
.watchlistredir a
{
color: #606060;
font-style: italic;
}
/* 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 tagline */
#siteSub {
display: inline;
font-size: 92%;
font-weight: normal;
}
/* Support for Persian content */
.persian {
direction: rtl;
font-family: Tahoma;
}
#bodyContent .persian a{
background:none;
padding-right:0;
}
.persian #toctitle {
direction:rtl;
}
.persian .toclevel-1 {
text-align:right;
}
.persian .editsection {
float:left;
}
.persian #otherlangs {
direction:ltr;
}
.persian UL {
display:table;
margin-right:10px;
}