]> git.cworth.org Git - lmno.games/commitdiff
style: Remove some duplicated code between h1 and h2
authorCarl Worth <cworth@cworth.org>
Sun, 17 May 2020 21:59:57 +0000 (14:59 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 19 May 2020 13:43:40 +0000 (06:43 -0700)
By adding one block for both h1 _and_ h2 to hold common properties.

style.css

index cfef9c8984d4936b37dd535b79c808bdad5c166f..9f922b61b6436a4621a601dc2b0791f615ee5494 100644 (file)
--- a/style.css
+++ b/style.css
@@ -36,16 +36,17 @@ body {
     color: var(--text-fg-color-max-contrast);
 }
 
     color: var(--text-fg-color-max-contrast);
 }
 
-h1 {
+h1,h2 {
     color: var(--text-fg-color);
     color: var(--text-fg-color);
-    font-size: 150%;
     font-weight: bold;
 }
 
     font-weight: bold;
 }
 
+h1 {
+    font-size: 150%;
+}
+
 h2 {
 h2 {
-    color: var(--text-fg-color);
     font-size: 110%;
     font-size: 110%;
-    font-weight: bold;
 }
 
 p,dl,dd {
 }
 
 p,dl,dd {