diff options
| author | Mark Otto <[email protected]> | 2013-03-17 11:33:07 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-03-17 11:33:07 -0700 |
| commit | 6012d8221b8e4f94c0cf842790ce70d868bb341a (patch) | |
| tree | 181525ebd2f3753a8cdd3078d4364d31d7e52c33 /less/variables.less | |
| parent | 47f69c0d9e6136a2f8e6deec6093684a41969c85 (diff) | |
| download | bootstrap-6012d8221b8e4f94c0cf842790ce70d868bb341a.tar.xz bootstrap-6012d8221b8e4f94c0cf842790ce70d868bb341a.zip | |
Exploring rems as font-size unit
* Added a new mixin to calculate rems and pixels for IE fallback
* Updated the body, p, and .lead elements to use the new .font-size() mixin
* New mixin has default value of 14px or 1.4rem
* Still needs exploration, and change this means lots of work rejiggering margins and line-heights
* Related, started to reorganize the mixins a bit to call out mixins that are used by the framework and not utilities or snippets
Diffstat (limited to 'less/variables.less')
| -rw-r--r-- | less/variables.less | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/less/variables.less b/less/variables.less index bb73e3dce..45495a9e1 100644 --- a/less/variables.less +++ b/less/variables.less @@ -45,7 +45,7 @@ @font-family-monospace: Monaco, Menlo, Consolas, "Courier New", monospace; @font-family-base: @font-family-sans-serif; -@font-size-base: 14px; +@font-size-base: 14; @font-size-large: (@font-size-base * 1.25); // ~18px @font-size-small: (@font-size-base * 0.85); // ~12px @font-size-mini: (@font-size-base * 0.75); // ~11px |
