summaryrefslogtreecommitdiffstats
path: root/assets/css/scopes
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-05-10 16:41:05 +0200
committerVolpeon <git@volpeon.ink>2021-05-10 16:41:05 +0200
commita48d05d1d5fcff414359c8ba6cc8f38467aebdeb (patch)
tree3542bf116c910a1bb42b40d8531f60c2c2498b08 /assets/css/scopes
parentUpdate (diff)
downloadvolpeon.ink-a48d05d1d5fcff414359c8ba6cc8f38467aebdeb.tar.gz
volpeon.ink-a48d05d1d5fcff414359c8ba6cc8f38467aebdeb.tar.bz2
volpeon.ink-a48d05d1d5fcff414359c8ba6cc8f38467aebdeb.zip
Refactoring to fully take advantage of Make
Diffstat (limited to 'assets/css/scopes')
-rw-r--r--assets/css/scopes/_body.scss9
-rw-r--r--assets/css/scopes/_headlines.scss12
2 files changed, 16 insertions, 5 deletions
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 @@
11 font-size: 1 / 16 * 19em; 11 font-size: 1 / 16 * 19em;
12 12
13 @include element('meta') { 13 @include element('meta') {
14 margin-top: $line-height * 1rem; 14 color: prop(--colors --meta --fg);
15 color: prop(--colors --meta --fg); 15 font-size: 1 / 16 * 15rem;
16 font-size: 1 / 16 * 15rem;
17 16
18 + * { 17 + h1 {
19 margin-top: $line-height * 1.5rem; 18 margin-top: $line-height * .5rem;
20 } 19 }
21 } 20 }
22 21
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
@@ -11,6 +11,18 @@
11 h1, 11 h1,
12 h2, 12 h2,
13 h3, 13 h3,
14 h4,
15 h5,
16 h6 {
17 font-family: $font-fam--large;
18 font-weight: 600;
19 line-height: 1.4;
20 font-feature-settings: 'ss02' 1;
21 }
22
23 h1,
24 h2,
25 h3,
14 h4 { 26 h4 {
15 transform: translateX(-.06em); 27 transform: translateX(-.06em);
16 } 28 }