Font size fix for examples, tidied up variables

This commit is contained in:
Sam Potts
2015-02-19 12:21:37 +11:00
parent 18001e7799
commit d46d40fa17
5 changed files with 23 additions and 19 deletions

View File

@ -22,10 +22,11 @@
}
// Use rems for font sizing
// Leave <body> at 100%/16px
// ---------------------------------------
.font-size(@font-size: 16){
@rem: (@font-size / 10);
font-size: @font-size * 1px;
@rem: round((@font-size / 16), 1);
font-size: (@font-size * 1px);
font-size: ~"@{rem}rem";
}