MediaWiki talk:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
Cbrown1023 (talk | contribs) Remove (all done) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Please add this section to the end of Common.css |
|||
<pre> |
|||
/* To facilitate rtl translations */ |
|||
.table-FA { |
|||
font-family: Tahoma; |
|||
} |
|||
#bodyContent .table-FA a{ |
|||
background:none; |
|||
padding-right:0; |
|||
} |
|||
#bodyContent .table-FA UL{ |
|||
margin-right:10px; |
|||
display:table; |
|||
} |
|||
#bodyContent .table-AR a{ |
|||
background:none; |
|||
padding-right:0; |
|||
} |
|||
#bodyContent .table-AR UL{ |
|||
margin-right:10px; |
|||
display:table; |
|||
} |
|||
</pre> |
|||
Regards, [[User:Huji|Huji]] 14:40, 2 February 2008 (UTC) |
|||
== New sections to be added for Persian pages to look fine == |
|||
Please add the following (without <pre> tag) to the end of Common.css: |
|||
<pre> |
|||
.persian { |
|||
direction: rtl; |
|||
font-family: Tahoma; |
|||
} |
|||
#bodyContent .persian a, #bodyContent .persian a.external { |
|||
background:none; |
|||
padding-right:0; |
|||
} |
|||
.persian #toctitle { |
|||
direction:ltr; |
|||
} |
|||
.persian .toclevel-1 { |
|||
text-align:right; |
|||
} |
|||
.persian .editsection { |
|||
float:left; |
|||
} |
|||
.persian UL { |
|||
margin-right:16px; |
|||
} |
|||
</pre> |
|||
Cheers, [[User:Huji|Huji]] 11:22, 25 April 2008 (UTC) |
|||
== Redirects as italics == |
|||
<source lang="css"> |
|||
/* To make redirects show up in italics on [[Special:Allpages]]. */ |
|||
.allpagesredirect a, .watchlistredir a { |
|||
font-style:italic; |
|||
} |
|||
</source> |
|||
'''[[User:Cbrown1023|<span style="color:green">Cbrown1023</span>]]''' '''<small>[[User talk:Cbrown1023|<span style="color:#002bb8">talk</span>]]</small>''' 23:43, 11 May 2008 (UTC) |
|||
== Please update == |
|||
Please update the required parts to look like this: |
|||
<source lang="css"> |
|||
.persian { |
|||
direction: rtl; |
|||
font-family: Tahoma; |
|||
} |
|||
#bodyContent .persian a, #bodyContent .persian a.external { |
|||
background:none; |
|||
padding-right:0; |
|||
} |
|||
.persian #toctitle { |
|||
direction:ltr; |
|||
} |
|||
.persian .toclevel-1, .persian .toclevel-2, .persian .toclevel-3, .persian .toclevel-4 { |
|||
text-align:right; |
|||
} |
|||
.persian .toclevel-2 { |
|||
margin-right:10px; |
|||
} |
|||
.persian .toclevel-3 { |
|||
margin-right:20px; |
|||
} |
|||
.persian .toclevel-4 { |
|||
margin-right:30px; |
|||
} |
|||
.persian .editsection { |
|||
float:left; |
|||
} |
|||
.persian UL { |
|||
margin-right:16px; |
|||
display:table; |
|||
} |
|||
.persian OL { |
|||
margin-right:16px; |
|||
display:table; |
|||
} |
|||
</source> |
|||
[[User:Huji|Huji]] 16:35, 10 June 2008 (UTC) |