From 3b15d49467a4ea81c3adf101b806d7236ba395bb Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 23 Dec 2020 09:10:31 +0100 Subject: Better build script, allow static files in content folder --- assets/style.scss | 62 +++++++++++++++++++++++++++---------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) (limited to 'assets') diff --git a/assets/style.scss b/assets/style.scss index f3a8b81..8e021d8 100644 --- a/assets/style.scss +++ b/assets/style.scss @@ -1,5 +1,5 @@ $font-size: 17px; -$heading-font-size: 18px; +$heading-font-size: $font-size + 1; $line-height: 1.4; $page-item-prefix-max-chars: 3ch; @@ -98,36 +98,6 @@ main { margin: 0 auto; } -.c-page-header { - margin-bottom: $line-height * 2rem; - overflow: hidden; - - &::after { - position: relative; - z-index: -10; - content: str-repeat("░", 120); - display: block; - height: $line-height; - margin-top: px-to-em(2px); - padding-top: px-to-em(2px); - color: var(--fg-minus); - border-top: 1px solid var(--fg-minus); - } - - &--sm { - display: none; - } - - @media (max-width: 700px) { - display: none; - - &--sm, - &--nohide { - display: block; - } - } -} - code { color: var(--code-fg); } @@ -259,6 +229,36 @@ blockquote { border-left: 2px solid var(--bg-plus); } +.c-page-header { + margin-bottom: $line-height * 2rem; + overflow: hidden; + + &::after { + position: relative; + z-index: -10; + content: str-repeat("░", 120); + display: block; + height: $line-height; + margin-top: px-to-em(2px); + padding-top: px-to-em(2px); + color: var(--fg-minus); + border-top: 1px solid var(--fg-minus); + } + + &--sm { + display: none; + } + + @media (max-width: 700px) { + display: none; + + &--sm, + &--nohide { + display: block; + } + } +} + .s-page { padding-left: $page-item-prefix-width; -- cgit v1.2.3-54-g00ecf