Skip to content

Commit

Permalink
Updated where the font-size is declared for proper calculation of REM…
Browse files Browse the repository at this point in the history
… Sizing function in LESS and SCSS
  • Loading branch information
cibgraphics committed Oct 7, 2014
1 parent 9a397a1 commit 0146dfa
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Vanilla5 v2.3
# Vanilla5 v2.3.1

_Copyright Christopher Bishop 2011-2014._

Expand Down Expand Up @@ -145,6 +145,10 @@ var trackingID = '',

#ChangeLog:

####Version 2.3.1:

* Updated where the font-size is declared for proper calculation of REM Sizing function in LESS and SCSS

####Version 2.3:

* Complete restructure of LESS and SCSS to make it more module
Expand Down
2 changes: 1 addition & 1 deletion css/less/includes/partials/general.less
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ HTML {
/* Prevents webpage zooming for mobile devices change orientation */
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
font-size: @font-size;
}

BODY {
font-family: @font-sans;
background: @base-color;
font-size: @font-size;
}


Expand Down
2 changes: 1 addition & 1 deletion css/scss/includes/partials/general.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ HTML {
/* Prevents webpage zooming for mobile devices change orientation */
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
font-size: $font-size;
}

BODY {
font-family: $font-sans;
background: $base-color;
font-size: $font-size;
}


Expand Down
2 changes: 1 addition & 1 deletion css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,11 @@ HTML {
/* Prevents webpage zooming for mobile devices change orientation */
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
font-size: 62.5%; /* 1em = 10px */
}

BODY {
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
font-size: 62.5%; /* 1em = 10px */
}


Expand Down

0 comments on commit 0146dfa

Please sign in to comment.