all repos — website @ 111c6b45bfe83c9ff3cee9081392d9a645af8160

My website

Use relative font sizes
Alan Pearce alan@alanpearce.eu
Wed, 26 Apr 2023 09:55:21 +0200
commit

111c6b45bfe83c9ff3cee9081392d9a645af8160

parent

402d85094185554d6150d6dfd6e76683abf7b663

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M templates/style.htmltemplates/style.html
@@ -42,11 +42,11 @@ } 
   textarea {
     width: 100%;
-    font-size: 16px;
+    font-size: 1rem;
   }
 
   input {
-    font-size: 16px;
+    font-size: 1rem;
   }
 
   main,article {
@@ -71,7 +71,7 @@ color: #222;     display: block;
     padding: 20px;
     white-space: pre-wrap;
-    font-size: 14px;
+    font-size: 0.875rem;
     overflow-x: auto;
   }