aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets/base/base.scss
diff options
context:
space:
mode:
authorBryan Brattlof <bryanbrattlof@gmail.com>2019-02-06 11:09:49 -0600
committerBryan Brattlof <bryanbrattlof@gmail.com>2019-02-06 11:09:49 -0600
commitd5936e520fdff21fe69af8aed69ef8f849ebc2a4 (patch)
treed4e73d0b8bd208559dcbc75073827351bd117624 /stylesheets/base/base.scss
parent3f9576c87dac2e5cf26e9f3389e716c87a8a872d (diff)
downloadbryanbrattlof.com-d5936e520fdff21fe69af8aed69ef8f849ebc2a4.tar.gz
bryanbrattlof.com-d5936e520fdff21fe69af8aed69ef8f849ebc2a4.tar.bz2
add mormalizing rules to css
Diffstat (limited to 'stylesheets/base/base.scss')
-rw-r--r--stylesheets/base/base.scss16
1 files changed, 16 insertions, 0 deletions
diff --git a/stylesheets/base/base.scss b/stylesheets/base/base.scss
index e904773..2e68897 100644
--- a/stylesheets/base/base.scss
+++ b/stylesheets/base/base.scss
@@ -1,6 +1,12 @@
html, body {
height: 100%;
+
+ /* Correct the line height in all browsers. */
+ line-height: $line-height;
+
+ /* Prevent adjustments of font size after orientation changes in iOS. */
+ -webkit-text-size-adjust: 100%;
}
body {
@@ -23,6 +29,16 @@ body {
}
}
+/* Add the correct display in IE 10+.*/
+template {
+ display: none;
+}
+
+/* Add the correct display in IE 10.*/
+[hidden] {
+ display: none;
+}
+
nav {
@extend %title-font-extend;
margin: auto;