From c7eb8d7f6105a5a15a1f45b5e2be3c2d1e2204bd Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 19 Mar 2021 22:10:55 +0100 Subject: WIP: Redesign --- assets/css/scopes/_code.scss | 4 ++-- assets/css/scopes/_page.scss | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'assets/css/scopes') diff --git a/assets/css/scopes/_code.scss b/assets/css/scopes/_code.scss index 4a40d0f..3f50ce3 100644 --- a/assets/css/scopes/_code.scss +++ b/assets/css/scopes/_code.scss @@ -1,5 +1,5 @@ -.s-code { - &--highlight { +@include scope('code') { + @include modifier('highlight') { pre { color: var(--fg-lo); } diff --git a/assets/css/scopes/_page.scss b/assets/css/scopes/_page.scss index e4c505e..70489fb 100644 --- a/assets/css/scopes/_page.scss +++ b/assets/css/scopes/_page.scss @@ -1,4 +1,4 @@ -.s-page { +@include scope('page-content') { :link { color: var(--page--link--idle--fg); } @@ -18,4 +18,8 @@ img { max-width: 100%; } + + > :first-child { + margin-top: 0; + } } -- cgit v1.2.3-70-g09d2