IE font-size fixing

This commit is contained in:
Raphael Goetter 2014-05-19 10:46:39 +02:00
parent 9acce25176
commit dd856d6755
12 changed files with 1088 additions and 1534 deletions

View file

@ -1,6 +1,6 @@
@import "00-config";
/*!
* www.KNACSS.com V3.0.2 (2014-05-07) @author: Raphael Goetter, Alsacreations
* www.KNACSS.com V3.0.3 (2014-05-019) @author: Raphael Goetter, Alsacreations
* Licence WTFPL http://www.wtfpl.net/
*/
@ -49,19 +49,29 @@ svg:not(:root) {
/* == typography */
/* ----------------------------- */
/* base font-size corresponds to "10px" and is adapted to rem unit */
html {
/* set base font-size to equiv "10px", which is adapted to rem unit */
font-size: 62.5%;
/* IE9-IE11 math fixing. See http://bit.ly/1g4X0bX */
/* thanks to @guardian, @victorbritopro and @eQRoeil */
font-size: calc(1em * 0.625);
/* disallow text zooming on orientation change (non standard property) */
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
text-size-adjust: 100%;
}
body {
/* set body font-size in em (1.4em equiv "14px") */
font-size: unit((@base-font-size / 10), em);
background-color: @base-background;
color: @base-color;
font-family: @font-stack-common;
font-size: unit((@base-font-size / 10), em);
font-family: @font-stack-common;
line-height: @line-height;
}
@ -140,7 +150,8 @@ code,
pre,
samp,
kbd {
white-space: pre-line; /* IE fix */
/* IE fix */
white-space: pre-line;
white-space: pre-wrap;
font-family: @font-stack-monospace;
line-height: normal;