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

This commit is contained in:
Dan Brown 2023-06-28 09:35:30 +01:00
parent bae0e80cee
commit b24246085f
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9
2 changed files with 1 additions and 3 deletions

View File

@ -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;

View File

@ -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;