From 5ab5e6a4781c53aade17a9a98e123762691205c6 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 28 Dec 2020 21:34:30 +0100 Subject: Handle blog entry categories --- assets/css/_basics.scss | 2 +- assets/css/components/_hlist.scss | 13 +++++++++++++ assets/css/components/_spacer.scss | 5 +++++ assets/css/style.scss | 2 ++ 4 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 assets/css/components/_hlist.scss create mode 100644 assets/css/components/_spacer.scss (limited to 'assets/css') diff --git a/assets/css/_basics.scss b/assets/css/_basics.scss index a8ed013..2b0d0a6 100644 --- a/assets/css/_basics.scss +++ b/assets/css/_basics.scss @@ -144,7 +144,7 @@ p { hr { height: 1px; - margin: ($line-height * 2em) 0 ($line-height * 2em); + margin: ($line-height * 2em) 0; border: 0; background-color: var(--obj); } diff --git a/assets/css/components/_hlist.scss b/assets/css/components/_hlist.scss new file mode 100644 index 0000000..a7cf665 --- /dev/null +++ b/assets/css/components/_hlist.scss @@ -0,0 +1,13 @@ +.c-hlist { + display: flex; + + &__item { + display: block; + margin-right: 4ch; + padding-left: 0; + + &::before { + display: none; + } + } +} diff --git a/assets/css/components/_spacer.scss b/assets/css/components/_spacer.scss new file mode 100644 index 0000000..692eb29 --- /dev/null +++ b/assets/css/components/_spacer.scss @@ -0,0 +1,5 @@ +.c-spacer { + display: block; + height: 0; + margin: ($line-height * 2em) 0 0; +} diff --git a/assets/css/style.scss b/assets/css/style.scss index 8d9a87f..90c1bfc 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss @@ -2,6 +2,8 @@ @import 'functions'; @import 'basics'; +@import 'components/spacer'; +@import 'components/hlist'; @import 'components/nav'; @import 'components/page-header'; -- cgit v1.2.3-70-g09d2