Refresh and cleanup CSS and layout for old languages

Apply new layout
Drop deprecated CSS and icons
Fix various broken layout styles
Merge duplicating CSS "per language" into single files
This commit is contained in:
Saivann 2013-10-17 03:50:10 -04:00
parent 95593ec197
commit fb2f594f9a
26 changed files with 138 additions and 951 deletions

View file

@ -1,165 +0,0 @@
/*Language specific styles that override default*/
/*Styles for HTML tags*/
body{
font-family:'DroidNaskh', sans-serif;
direction:rtl;
}
h1,h2{
font-family:'DroidNaskh', sans-serif;
}
h1,h2,h3{
text-align:right;
}
ul{
padding-right:20px;
padding-left:auto;
}
li{
text-align:right;
}
p{
line-height:2em;
}
/*Styles for whole website*/
#head{
direction:ltr;
}
#lang{
font-family:"Helvetica Neue", "Liberation Sans", Arial, sans-serif;
}
#menusimple li a,
#menusimple li a:active,
#menusimple li a:visited,
#menusimple li a:link{
font-family:'DroidNaskh', sans-serif;
}
#footer{
text-align:right;
padding:20px 40px 20px 0px;
}
#footer>div>a{
margin-right:0px;
margin-left:15px;
}
.titleicon{
margin-right:auto;
margin-left:5px;
}
h1 .rssicon{
margin-left:0px;
margin-right:10px;
}
h2 .rssicon{
margin-left:0px;
margin-right:10px;
}
.previewrow>div{
margin-right:auto;
margin-left:17px;
}
.previewrow>div>a{
line-height:1.2em;
}
.previewrow>div.last{
margin-left:0px;
}
.previewrow>div>div>div>span {
right:auto;
left:30px;
}
.previewrow>div>div>div>h2{
text-align:right;
}
.previewrow>div>div>div>h2:first-child+span+p{
line-height:1.5em;
}
.index a,.index a:link,.index a:active,.index a:visited{
line-height:2em;
}
.floatimg{
float:right;
margin-right:auto;
margin-left:10px;
}
.press-faq li{
line-height:2em;
}
.conferencebanner{
right:auto;
left:5px;
}
/*Override UbuntuBold by Droid Naskh*/
@font-face{font-family:'DroidNaskh';src:url('/font/droidnaskh-regular.eot');font-weight:normal;font-style:normal;}
@font-face{font-family:'DroidNaskh';src:url('/font/droidnaskh-regular.ttf') format('truetype');font-weight:normal;font-style:normal;}
/*Styles specific to mobiles*/
@media handheld, only screen and (max-device-height: 37em), only screen and (max-device-width: 50em){
#content{
position:static;
padding:15px 10px 20px 10px;
text-align:right;
}
}
/* Deprecated styles (should be removed when translations are updated) */
body.old #menufor li a,
body.old #menufor li a:active,
body.old #menufor li a:visited,
body.old #menufor li a:link{
font-family:'DroidNaskh', sans-serif;
}
body.old #menu li a,
body.old #menu li a:active,
body.old #menu li a:visited,
body.old #menu li a:link{
font-family:'DroidNaskh', sans-serif;
}
body.old h1,body.old h2{
font-family:'DroidNaskh', sans-serif;
}
body.old h1,body.old h2,body.old h3{
text-align:right;
}
body.old .summary{
text-align:right;
}
body.old #content{
padding:20px 30px 30px 265px;
}
body.old #rightbox{
left:30px;
right:auto;
}
body.old #choose img,
body.old #before img,
body.old #support img,
body.old #choose .ieimg,
body.old #before .ieimg,
body.old #support .ieimg{
margin-right:-40px;
margin-left:8px;
}
body.old #choose>a:first-child,
body.old #before>a:first-child,
body.old #support>a:first-child{
text-align:right;
padding:10px 48px 10px 8px;
}
/* Deprecated styles specific to mobiles (should be removed when translations are updated) */
@media handheld, only screen and (max-device-height: 37em), only screen and (max-device-width: 50em){
body.old #menufor{
bottom:0px;
}
body.old #content{
padding:15px 10px 20px 10px;
}
}