From: Michael D. Lowis Date: Tue, 28 Nov 2017 21:12:25 +0000 (-0500) Subject: switched to rem instead of em for font sizes X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=a86c4e97a97c433a88648a1ec6e64de205583ced;p=proto%2Fjournal.git switched to rem instead of em for font sizes --- diff --git a/style.css b/style.css index 3c8bedc..43d9f73 100644 --- a/style.css +++ b/style.css @@ -2,14 +2,6 @@ * { -moz-box-sizing: border-box; box-sizing: border-box; } *:focus { outline: none; } -/* override default heading sizes */ -h1 { font-size: 2.0em; } -h2 { font-size: 1.5em; } -h3 { font-size: 1.17em; } -h4 { font-size: 1.0em; } -h5 { font-size: 0.83em; } -h6 { font-size: 0.67em; } - /* set the font and the artical content width */ body { font-family: -apple-system, BlinkMacSystemFont, “Segoe UI”, Roboto, Helvetica, Arial, sans-serif; @@ -20,12 +12,15 @@ body { margin-right: auto; } -/* table styling - - Github table style and code block style - code plock style from logbook link? +/* override default heading sizes */ +h1 { font-size: 2.0rem; } +h2 { font-size: 1.5rem; } +h3 { font-size: 1.17rem; } +h4 { font-size: 1.0rem; } +h5 { font-size: 0.83rem; } +h6 { font-size: 0.67rem; } -*/ +/* table styling: Github or skeleton table style */ table { display: block; width: 100%;