From 881e4ca1569fe640588c644ab48c5250383d89c2 Mon Sep 17 00:00:00 2001 From: Mark Teekman Date: Thu, 25 Nov 2021 09:17:13 +0100 Subject: [PATCH] Reorganize declarations --- src/styles/base/_font.scss | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/src/styles/base/_font.scss b/src/styles/base/_font.scss index 37b803e..2b5d68e 100644 --- a/src/styles/base/_font.scss +++ b/src/styles/base/_font.scss @@ -19,10 +19,7 @@ body { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; - *:focus { - @include outline; - } - + // anchor links a { color: var(--action-color); @@ -44,6 +41,22 @@ body { } // headings + :where(h1, h2) { + font-family: var(--font-family-special); + } + + h1, + h2 { + font-weight: 800; + } + + h3, + h4, + h5, + h6 { + font-weight: 600; + } + h1 { @include size-36; @@ -91,20 +104,4 @@ body { @include size-18; } } - - :where(h1, h2) { - font-family: var(--font-family-special); - } - - h1, - h2 { - font-weight: 800; - } - - h3, - h4, - h5, - h6 { - font-weight: 600; - } }