Skip to content

NOW MANAGED ON CODEBERG

CSS: Tweaked css heading font to fall back to body font

Dan Brownb24246085f85
diff --git a/resources/sass/_text.scss b/resources/sass/_text.scss
index f2c88d96d..7cade9607 100644
--- a/resources/sass/_text.scss
+++ b/resources/sass/_text.scss
@@ -42,7 +42,7 @@ h1, h2, h3, h4, h5, h6 {
font-weight: 400;
position: relative;
display: block;
- font-family: var(--font-heading);
+ font-family: var(--font-heading, var(--font-body));
@include lightDark(color, #222, #BBB);
.subheader {
font-size: 0.5em;
diff --git a/resources/sass/_variables.scss b/resources/sass/_variables.scss
index 5892237d9..a3598e29c 100644
--- a/resources/sass/_variables.scss
+++ b/resources/sass/_variables.scss
@@ -60,10 +60,8 @@ $bs-hover: 0 2px 2px 1px rgba(0,0,0,.13);
// CSS root variables
:root {
--font-body: #{$font-body};
- --font-heading: #{$font-body};
--font-code: #{$font-mono};
-
--color-primary: #206ea7;
--color-primary-light: rgba(32,110,167,0.15);
--color-link: #206ea7;