Optimize text rendering for legibility

This commit is contained in:
Alfred Xing 2015-02-11 15:45:47 -08:00
parent 7a5a90de82
commit a907addbe2
2 changed files with 10 additions and 0 deletions

View File

@ -18,6 +18,11 @@ body {
color: $text-color; color: $text-color;
background-color: $background-color; background-color: $background-color;
-webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;
-webkit-font-feature-settings: "kern" 1;
-moz-font-feature-settings: "kern" 1;
-o-font-feature-settings: "kern" 1;
font-feature-settings: "kern" 1;
font-kerning: normal;
} }

View File

@ -13,6 +13,11 @@ body {
border-top: 5px solid #fc0; border-top: 5px solid #fc0;
@include box-shadow(inset 0 3px 30px rgba(0,0,0,.3)); @include box-shadow(inset 0 3px 30px rgba(0,0,0,.3));
text-shadow: 0 1px 3px rgba(0,0,0,.5); text-shadow: 0 1px 3px rgba(0,0,0,.5);
-webkit-font-feature-settings: "kern" 1;
-moz-font-feature-settings: "kern" 1;
-o-font-feature-settings: "kern" 1;
font-feature-settings: "kern" 1;
font-kerning: normal;
} }
.clear { .clear {