]> git.r.bdr.sh - rbdr/r.bdr.sh/blobdiff - css/style.css
Swap font to see how it affects phone
[rbdr/r.bdr.sh] / css / style.css
index cb38a2566fa6ac4d9d0f8c6ad70ab06704138a88..e5236e8aefd1da0fce8a8004c510a75cd0414715 100644 (file)
@@ -3,8 +3,8 @@ html {
 }
 
 body {
-  font-size: 1em;
   font: -apple-system-body;
+  font-size: 1em;
   font-family: "Hoefler Text", "Times New Roman", serif;
   font-feature-settings: "liga" 1, "dlig" 1, "pnum" 1;
   line-height: 1.6;
@@ -14,6 +14,7 @@ body {
 
 aside {
   clear: both;
+  padding-top: 2em;
 }
 
 ::selection {
@@ -64,17 +65,21 @@ blockquote {
 
 br { display: none }
 h1, h2, h3 { font-weight: normal }
+h1 { font-size: 1em }
+h2 { font-size: 1.65em }
+h3 { font-size: 1.25em }
 pre {
   font-family: courier, monospace;
   font-size: 0.875em;
   background-color: #eee;
   overflow-x: auto;
+  padding: 1em;
 }
 
 canvas {
   width: 64px;
   height: 64px;
-  display: inline-block;
+  display: block;
   background-color: #000;
   border: 1px solid #000;
 }