mirror of
https://github.com/GenZmeY/casper-i18n.git
synced 2024-11-12 19:38:04 +00:00
Merge pull request #171 from AlexanderGalen/master
Add geometricPrecision text-rendering on text elements to support ligatures
This commit is contained in:
commit
8f9a185a80
@ -184,6 +184,7 @@ body {
|
|||||||
-webkit-font-feature-settings: 'kern' 1;
|
-webkit-font-feature-settings: 'kern' 1;
|
||||||
-moz-font-feature-settings: 'kern' 1;
|
-moz-font-feature-settings: 'kern' 1;
|
||||||
-o-font-feature-settings: 'kern' 1;
|
-o-font-feature-settings: 'kern' 1;
|
||||||
|
text-rendering: geometricPrecision;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-moz-selection {
|
::-moz-selection {
|
||||||
@ -203,6 +204,7 @@ h4, h5, h6 {
|
|||||||
line-height: 1.15em;
|
line-height: 1.15em;
|
||||||
margin: 0 0 0.4em 0;
|
margin: 0 0 0.4em 0;
|
||||||
font-family: "Open Sans", sans-serif;
|
font-family: "Open Sans", sans-serif;
|
||||||
|
text-rendering: geometricPrecision;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
@ -246,6 +248,7 @@ p, ul, ol, dl {
|
|||||||
-moz-font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1;
|
-moz-font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1;
|
||||||
-o-font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1;
|
-o-font-feature-settings: 'liga' 1, 'onum' 1, 'kern' 1;
|
||||||
margin: 0 0 1.75em 0;
|
margin: 0 0 1.75em 0;
|
||||||
|
text-rendering: geometricPrecision;
|
||||||
}
|
}
|
||||||
|
|
||||||
ol, ul {
|
ol, ul {
|
||||||
|
Loading…
Reference in New Issue
Block a user