MediaWiki talk:Common.css: Difference between revisions
Latest comment: 16 years ago by Huji in topic New sections to be added for Persian pages to look fine
Content deleted Content added
sorry, from my addon |
|||
Line 29: | Line 29: | ||
Regards, [[User:Huji|Huji]] 14:40, 2 February 2008 (UTC) |
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) |
Revision as of 11:22, 25 April 2008
Please add this section to the end of Common.css
/* 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; }
Regards, 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:
.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; }
Cheers, Huji 11:22, 25 April 2008 (UTC)