MediaWiki:Common.css: Difference between revisions
Content deleted Content added
minor fix |
Cbrown1023 (talk | contribs) We're using this for all rtl languages, so persian => rtl. |
||
Line 4: | Line 4: | ||
.table-FA { |
.table-FA { |
||
font-family: Tahoma; |
font-family: Tahoma; |
||
⚫ | |||
#bodyContent .table-FA a{ |
|||
background:none; |
|||
padding-right:0; |
|||
} |
} |
||
#bodyContent .table- |
#bodyContent .table-RTL a{ |
||
margin-right:10px; |
|||
display:table; |
|||
} |
|||
#bodyContent .table-AR a{ |
|||
background:none; |
background:none; |
||
padding-right:0; |
padding-right:0; |
||
} |
} |
||
#bodyContent .table- |
#bodyContent .table-RTL UL{ |
||
margin-right:10px; |
margin-right:10px; |
||
display:table; |
display:table; |
||
} |
} |
||
.persian { |
.persian, .rtl { |
||
direction: rtl; |
direction: rtl; |
||
font-family: Tahoma; |
font-family: Tahoma; |
||
Line 32: | Line 22: | ||
} |
} |
||
#bodyContent .persian a, #bodyContent .persian a.external { |
#bodyContent .persian a, #bodyContent .persian a.external, #bodyContent .rtl a, #bodyContent .rtl a.external { |
||
background:none; |
background:none; |
||
padding-right:0; |
padding-right:0; |
||
} |
} |
||
.persian #toctitle { |
.persian #toctitle, .rtl #toctitle { |
||
direction:ltr; |
direction:ltr; |
||
} |
} |
||
Line 44: | Line 34: | ||
text-align:right; |
text-align:right; |
||
} |
} |
||
.rtl .toclevel-1, .rtl .toclevel-2, .rtl .toclevel-3, .rtl .toclevel-4 { |
|||
text-align:right; |
|||
⚫ | |||
.persian .toclevel-2 { |
.persian .toclevel-2, .rtol .toclevel-2 { |
||
margin-right:10px; |
margin-right:10px; |
||
} |
} |
||
.persian .toclevel-3 { |
.persian .toclevel-3, .rtl .toclevel-3 { |
||
margin-right:20px; |
margin-right:20px; |
||
} |
} |
||
.persian .toclevel-4 { |
.persian .toclevel-4, .rtl .toclevel-4 { |
||
margin-right:30px; |
margin-right:30px; |
||
} |
} |
||
.persian .editsection { |
.persian .editsection, .rtl .editsection { |
||
float:left; |
float:left; |
||
} |
} |
||
.persian UL { |
.persian UL, .rtl UL { |
||
margin-right:16px; |
margin-right:16px; |
||
display:table; |
display:table; |
||
} |
} |
||
.persian OL { |
.persian OL, .rtl OL { |
||
margin-right:16px; |
margin-right:16px; |
||
display:table; |
display:table; |
Revision as of 19:29, 3 January 2010
/* 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, .rtol .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; }