summaryrefslogtreecommitdiffstats
path: root/assets/css/components/_section-heading.scss
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-03-23 18:14:39 +0100
committerVolpeon <git@volpeon.ink>2021-03-23 18:14:39 +0100
commit7531a7125c72227198f7605c6c129d15cd926857 (patch)
tree134015fc623a89cf9db620f675b396d67c5e503b /assets/css/components/_section-heading.scss
parentWIP: Redesign (diff)
downloadvolpeon.ink-7531a7125c72227198f7605c6c129d15cd926857.tar.gz
volpeon.ink-7531a7125c72227198f7605c6c129d15cd926857.tar.bz2
volpeon.ink-7531a7125c72227198f7605c6c129d15cd926857.zip
WIP: Redesign
Diffstat (limited to 'assets/css/components/_section-heading.scss')
-rw-r--r--assets/css/components/_section-heading.scss28
1 files changed, 28 insertions, 0 deletions
diff --git a/assets/css/components/_section-heading.scss b/assets/css/components/_section-heading.scss
new file mode 100644
index 0000000..db75159
--- /dev/null
+++ b/assets/css/components/_section-heading.scss
@@ -0,0 +1,28 @@
1@include namespace('section-heading') {
2 @include store((
3 --dims: (
4 --pad-y: $line-height * 2rem
5 ),
6 --colors: (
7 --line: prop(--colors --accent --color, $global: true),
8 )
9 ));
10
11 @include component(namespace()) {
12 margin: 0 0 prop(--dims --pad-y);
13 font-size: .8em;
14 font-weight: 400;
15 letter-spacing: .2em;
16 text-transform: uppercase;
17
18 &::before {
19 content: '';
20 display: inline-block;
21 width: 3em;
22 height: 1px;
23 margin-right: 1.3em;
24 background-color: prop(--colors --line);
25 vertical-align: middle;
26 }
27 }
28}