diff options
| author | Volpeon <git@volpeon.ink> | 2021-12-22 08:21:48 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2021-12-22 08:21:48 +0100 |
| commit | 46b8871fde17603a308e1f61bd2d245248a0eb44 (patch) | |
| tree | 718c433d05d8f308417cea4f66bf0fe917c8bec9 | |
| parent | Card: show hidden row if user device is touch-based (diff) | |
| download | volpeon.ink-46b8871fde17603a308e1f61bd2d245248a0eb44.tar.gz volpeon.ink-46b8871fde17603a308e1f61bd2d245248a0eb44.tar.bz2 volpeon.ink-46b8871fde17603a308e1f61bd2d245248a0eb44.zip | |
Improved page date appearance
| -rw-r--r-- | assets/css/scopes/_body.scss | 7 | ||||
| -rw-r--r-- | templates/layouts/page.html | 4 |
2 files changed, 4 insertions, 7 deletions
diff --git a/assets/css/scopes/_body.scss b/assets/css/scopes/_body.scss index 80d1eb2..7596a50 100644 --- a/assets/css/scopes/_body.scss +++ b/assets/css/scopes/_body.scss | |||
| @@ -2,8 +2,8 @@ | |||
| 2 | @include store(( | 2 | @include store(( |
| 3 | --colors: ( | 3 | --colors: ( |
| 4 | --meta: ( | 4 | --meta: ( |
| 5 | --fg: prop(--colors --fg-hi, $global: true), | 5 | --fg: prop(--colors --bg-hi, $global: true), |
| 6 | --bg: prop(--colors --bg-lo, $global: true), | 6 | --bg: prop(--colors --fg-lo, $global: true), |
| 7 | ), | 7 | ), |
| 8 | --code: ( | 8 | --code: ( |
| 9 | --fg: prop(--colors --accent --strong, $global: true), | 9 | --fg: prop(--colors --accent --strong, $global: true), |
| @@ -35,9 +35,6 @@ | |||
| 35 | 35 | ||
| 36 | @include store(( | 36 | @include store(( |
| 37 | --colors: ( | 37 | --colors: ( |
| 38 | --meta: ( | ||
| 39 | --bg: prop(--colors --bg-hi, $global: true), | ||
| 40 | ), | ||
| 41 | --code: ( | 38 | --code: ( |
| 42 | --bg: prop(--colors --accent --faint, $global: true), | 39 | --bg: prop(--colors --accent --faint, $global: true), |
| 43 | ), | 40 | ), |
diff --git a/templates/layouts/page.html b/templates/layouts/page.html index 46c47a6..98b8a1c 100644 --- a/templates/layouts/page.html +++ b/templates/layouts/page.html | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | <article class="s-body s-colored-links s-headlines $if(intro)$s-intro$endif$"> | 1 | <article class="s-body s-colored-links s-headlines $if(intro)$s-intro$endif$"> |
| 2 | $if(date)$ | 2 | $if(show_date)$ |
| 3 | <div class="s-body__meta"> | 3 | <div class="s-body__meta"> |
| 4 | $date.long$ | 4 | $last_update.long$ |
| 5 | </div> | 5 | </div> |
| 6 | $endif$ | 6 | $endif$ |
| 7 | 7 | ||
