diff options
Diffstat (limited to 'assets/css/components')
-rw-r--r-- | assets/css/components/_ascii.scss | 25 | ||||
-rw-r--r-- | assets/css/components/_post-list.scss | 1 |
2 files changed, 26 insertions, 0 deletions
diff --git a/assets/css/components/_ascii.scss b/assets/css/components/_ascii.scss new file mode 100644 index 0000000..b32cbfd --- /dev/null +++ b/assets/css/components/_ascii.scss | |||
@@ -0,0 +1,25 @@ | |||
1 | @include namespace('ascii') { | ||
2 | @include store(( | ||
3 | --colors: ( | ||
4 | --fg: prop(--colors --fg-hi, $global: true), | ||
5 | --border: prop(--colors --fg-hi, $global: true), | ||
6 | ) | ||
7 | )); | ||
8 | |||
9 | @include component(namespace()) { | ||
10 | padding-left: 0; | ||
11 | overflow: hidden; | ||
12 | border-left: 0; | ||
13 | color: prop(--colors --fg); | ||
14 | font-size: 1rem; | ||
15 | |||
16 | &::after { | ||
17 | content: str-repeat('░', 120); | ||
18 | display: block; | ||
19 | margin-top: 1 / 16 * 2em; | ||
20 | padding-top: 1 / 16 * 2em; | ||
21 | border-top: 1px solid prop(--colors --border); | ||
22 | color: prop(--colors --fg); | ||
23 | } | ||
24 | } | ||
25 | } | ||
diff --git a/assets/css/components/_post-list.scss b/assets/css/components/_post-list.scss index bc41849..dc56724 100644 --- a/assets/css/components/_post-list.scss +++ b/assets/css/components/_post-list.scss | |||
@@ -44,6 +44,7 @@ | |||
44 | 44 | ||
45 | @include element('post-title') { | 45 | @include element('post-title') { |
46 | color: prop(--colors --post --idle-fg); | 46 | color: prop(--colors --post --idle-fg); |
47 | //font-size: 1 / 16 * 17em; | ||
47 | font-weight: normal; | 48 | font-weight: normal; |
48 | } | 49 | } |
49 | 50 | ||