]> git.neb.cc Git - xyz.git/commitdiff
Tweak fonts
authorBen Larson <[email protected]>
Sat, 12 Jun 2021 03:43:34 +0000 (22:43 -0500)
committerBen Larson <[email protected]>
Sat, 12 Jun 2021 03:43:34 +0000 (22:43 -0500)
src/styles/main.css

index 1498fcb23ecb6a73a6b8d1e45143b2fbad382c2e..713397c1e9df29b5cf1a5f0e75ff581ec6c29d0b 100644 (file)
@@ -8,8 +8,8 @@
 }
 
 body {
-  font-family: eadui;
-  font-size: 1.7rem;
+  font-family: lingua-franca, serif;
+  font-size: 19pt;
   background-color: var(--background-color-primary);
   color: var(--text-color-primary);
   text-shadow: var(--text-shadow);
@@ -21,7 +21,7 @@ header {
 }
 
 h1 {
-  font-size: 4rem;
+  font-size: 45pt;
   line-height: 1em;
   margin: 0 auto;
   max-width: 50rem;
@@ -47,7 +47,7 @@ p {
   position: relative;
   margin: 0 auto;
   max-width: 50rem;
-  line-height: 1.5em;
+  line-height: 1.6em;
   padding-bottom: 2rem;
 }
 
@@ -59,17 +59,8 @@ p::first-letter {
 }
 
 @media (max-width: 45em) {
-  body {
-    font-size: 1.75em;
-  }
-
   header {
-    padding: 3rem 2rem 2rem 1rem;
-  }
-
-  h1 {
-    font-size: 4rem;
-    margin-bottom: 1rem;
+    padding: 3rem 2rem 3rem 1rem;
   }
 
   main {