mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
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
This commit is contained in:
@@ -30,12 +30,7 @@ html {
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
color: @text-color;
|
||||
font-family: @font-family-base;
|
||||
font-size: 14px;
|
||||
font-size: 1.4rem;
|
||||
line-height: 1.5;
|
||||
background-color: @body-background;
|
||||
}
|
||||
|
||||
@@ -46,7 +41,7 @@ button,
|
||||
select,
|
||||
textarea {
|
||||
font-family: @font-family-base;
|
||||
font-size: @font-size-base;
|
||||
.font-size();
|
||||
line-height: @line-height-base;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user