Permalink
Browse files

Fix Bug 1118368 - Adjust the style of the Thunderbird start page to a…

…ccommodate various locales
  • Loading branch information...
1 parent 83f97c8 commit 9caf84842b0cf2f0f0d20f110958a14cb968efe1 @kyoshino kyoshino committed Jan 12, 2015
Showing with 23 additions and 4 deletions.
  1. +23 −4 media/css/thunderbird/start.less
@@ -70,12 +70,23 @@ section h2.iconic {
}
}
+footer a {
+ display: inline-block;
+ -moz-padding-start: 25px;
+ padding-start: 25px;
+
+ &:before {
+ -moz-margin-start: -25px;
+ margin-start: -25px;
+ }
+}
+
footer a,
section a.iconic {
&:before {
display: inline-block;
- -moz-margin-end: .5ex;
- margin-end: .5ex;
+ -moz-margin-end: 5px;
+ margin-end: 5px;
width: 20px;
height: 20px;
background-image: url('/media/img/thunderbird/start/sprite.png');
@@ -210,9 +221,13 @@ footer {
@media (min-width: 1024px) {
footer li {
- width: 33%;
+ width: 50%;
min-width: 10em;
}
+
+ [lang|="en"] footer li {
+ width: 33%;
+ }
}
@media (min-width: 800px) and (max-width: 1023px) {
@@ -280,10 +295,14 @@ footer {
@media (min-width: 480px) and (max-width: 639px) {
footer li {
- width: 33%;
+ width: 50%;
min-width: 10em;
}
+ [lang|="en"] footer li {
+ width: 33%;
+ }
+
[dir="ltr"] footer li {
float: left;
}

0 comments on commit 9caf848

Please sign in to comment.