aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets/base/base.scss
diff options
context:
space:
mode:
authorBryan Brattlof <hello@bryanbrattlof.com>2020-04-26 10:12:51 -0400
committerBryan Brattlof <hello@bryanbrattlof.com>2020-04-26 11:20:10 -0400
commita9725e8ac4c39db8eb435c4f24b9e33713b38928 (patch)
tree198810148b1b4e6741b4b76de70ac8f02e1318ff /stylesheets/base/base.scss
parent33988d5a36b640a1966a5907c40e1b7c0d3fd4d3 (diff)
downloadbryanbrattlof.com-a9725e8ac4c39db8eb435c4f24b9e33713b38928.tar.gz
bryanbrattlof.com-a9725e8ac4c39db8eb435c4f24b9e33713b38928.tar.bz2
remove default font-sizes
almost every browser has this set to 16px. removing the 16px and switching to using 'em' and 'rem' units simplifies the typography considerably
Diffstat (limited to 'stylesheets/base/base.scss')
-rw-r--r--stylesheets/base/base.scss6
1 files changed, 2 insertions, 4 deletions
diff --git a/stylesheets/base/base.scss b/stylesheets/base/base.scss
index 5c18c8f..0909cfa 100644
--- a/stylesheets/base/base.scss
+++ b/stylesheets/base/base.scss
@@ -17,12 +17,10 @@ body {
padding: 0;
margin: 0 20px;
- font-size: $mobile-font-size;
- @include breakpoint-min(600px) {
- font-size: $font-size;
+ @include breakpoint-max(600px) {
+ font-size: $mobile-font-size;
}
@include print {
- font-size: $print-font-size;
font-color: $print-font-color;
margin: 0;
}