From: Carl Worth Date: Sun, 17 May 2020 21:59:57 +0000 (-0700) Subject: style: Remove some duplicated code between h1 and h2 X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=commitdiff_plain;h=f2bff01c0330293fd9a4f042ad2337c5d794259d style: Remove some duplicated code between h1 and h2 By adding one block for both h1 _and_ h2 to hold common properties. --- diff --git a/style.css b/style.css index cfef9c8..9f922b6 100644 --- a/style.css +++ b/style.css @@ -36,16 +36,17 @@ body { color: var(--text-fg-color-max-contrast); } -h1 { +h1,h2 { color: var(--text-fg-color); - font-size: 150%; font-weight: bold; } +h1 { + font-size: 150%; +} + h2 { - color: var(--text-fg-color); font-size: 110%; - font-weight: bold; } p,dl,dd {