MediaWiki talk:Common.css
Latest comment: 15 years ago by Huji in topic Please update
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)
Please update
Please update the required parts to look like this:
.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;
}