From a48d05d1d5fcff414359c8ba6cc8f38467aebdeb Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 10 May 2021 16:41:05 +0200 Subject: Refactoring to fully take advantage of Make --- assets/css/scopes/_body.scss | 9 ++++----- assets/css/scopes/_headlines.scss | 12 ++++++++++++ 2 files changed, 16 insertions(+), 5 deletions(-) (limited to 'assets/css/scopes') diff --git a/assets/css/scopes/_body.scss b/assets/css/scopes/_body.scss index 8e5f876..96231ad 100644 --- a/assets/css/scopes/_body.scss +++ b/assets/css/scopes/_body.scss @@ -11,12 +11,11 @@ font-size: 1 / 16 * 19em; @include element('meta') { - margin-top: $line-height * 1rem; - color: prop(--colors --meta --fg); - font-size: 1 / 16 * 15rem; + color: prop(--colors --meta --fg); + font-size: 1 / 16 * 15rem; - + * { - margin-top: $line-height * 1.5rem; + + h1 { + margin-top: $line-height * .5rem; } } diff --git a/assets/css/scopes/_headlines.scss b/assets/css/scopes/_headlines.scss index 6b28e9c..8b75708 100644 --- a/assets/css/scopes/_headlines.scss +++ b/assets/css/scopes/_headlines.scss @@ -8,6 +8,18 @@ )); @include scope(namespace()) { + h1, + h2, + h3, + h4, + h5, + h6 { + font-family: $font-fam--large; + font-weight: 600; + line-height: 1.4; + font-feature-settings: 'ss02' 1; + } + h1, h2, h3, -- cgit v1.2.3-54-g00ecf