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)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* To facilitate rtl translations */
.table-FA {
font-family: Tahoma;
}
#bodyContent .table-RTL a{
background:none;
padding-right:0;
}
#bodyContent .table-RTL UL{
margin-right:10px;
display:table;
}
.persian, .rtl {
direction: rtl;
font-family: Tahoma;
text-align: right;
}
#bodyContent .persian a, #bodyContent .persian a.external, #bodyContent .rtl a, #bodyContent .rtl a.external {
background:none;
padding-right:0;
}
.persian #toctitle, .rtl #toctitle {
direction:ltr;
}
.persian .toclevel-1, .persian .toclevel-2, .persian .toclevel-3, .persian .toclevel-4 {
text-align:right;
}
.rtl .toclevel-1, .rtl .toclevel-2, .rtl .toclevel-3, .rtl .toclevel-4 {
text-align:right;
}
.persian .toclevel-2, .rtl .toclevel-2 {
margin-right:10px;
}
.persian .toclevel-3, .rtl .toclevel-3 {
margin-right:20px;
}
.persian .toclevel-4, .rtl .toclevel-4 {
margin-right:30px;
}
.persian .editsection, .rtl .editsection {
float:left;
}
.persian UL, .rtl UL {
margin-right:16px;
display:table;
}
.persian OL, .rtl OL {
margin-right:16px;
display:table;
}
/* To make redirects show up in italics on [[Special:Allpages]]. */
.allpagesredirect a, .watchlistredir a {
font-style:italic;
}
/* Default style for PrettyTextBox and InformationBox class of templates */
.InformationBox {
width: 80%;
border: solid #999999 1px;
background: #F8F8F8;
margin: 0.5em auto;
clear: both;
color: #000000;
padding: 3px;
}
/* Language navigation links (moved from monobook.css */
.divlang {
background: #F9F9F9;
border: 1px solid #E9E9E9;
font-size: 0.85em;
margin: 0 0 1em 0;
padding: 0.5em 1em;
text-align: left;
}
.divlang ul {
display: inline;
margin-left: 0;
padding-left: 0;
}
.divlang ul li {
border-left: 1px solid #E4E4E4;
display: inline;
list-style: none;
margin-left: 0;
padding: 0 0.5em;
}
.divlang ul li.firstlang {
border-left: none;
display: inline;
list-style: none;
margin-left: 0;
padding-left: 0;
}
/* For the show/hide link; see also [[MediaWiki:Common.js]] and [[w:Wikipedia:NAVFRAME]] */
.collapseButton { /* 'show'/'hide' buttons created dynamically */
float: right; /* by the CollapsibleTables javascript in */
font-weight: normal; /* [[MediaWiki:Common.js]]are styled here */
text-align: right; /* so they can be customised. */
width: auto;
}
/* Hide "Try Beta" link */
li#pt-optin-try { display: none !important; }