diff options
author | Volpeon <git@volpeon.ink> | 2021-11-17 17:43:40 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-11-17 17:43:40 +0100 |
commit | 18321ad1c5c09534e39817d9b75070b5481950bd (patch) | |
tree | 9a1064ac9294be0211533e58bd36fd692aff0888 /assets/css/components | |
parent | Undo preload removal (diff) | |
download | volpeon.ink-18321ad1c5c09534e39817d9b75070b5481950bd.tar.gz volpeon.ink-18321ad1c5c09534e39817d9b75070b5481950bd.tar.bz2 volpeon.ink-18321ad1c5c09534e39817d9b75070b5481950bd.zip |
Improved list, made header sticky, removed git link
Diffstat (limited to 'assets/css/components')
-rw-r--r-- | assets/css/components/_card-list.scss | 6 | ||||
-rw-r--r-- | assets/css/components/_header.scss | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/assets/css/components/_card-list.scss b/assets/css/components/_card-list.scss index 0f44b00..7455193 100644 --- a/assets/css/components/_card-list.scss +++ b/assets/css/components/_card-list.scss | |||
@@ -23,6 +23,10 @@ | |||
23 | } | 23 | } |
24 | 24 | ||
25 | @include element('category-title') { | 25 | @include element('category-title') { |
26 | display: inline-block; | ||
27 | margin-top: 0; | ||
28 | margin-right: 1em; | ||
29 | |||
26 | :link, | 30 | :link, |
27 | :visited { | 31 | :visited { |
28 | text-decoration: none; | 32 | text-decoration: none; |
@@ -33,7 +37,7 @@ | |||
33 | } | 37 | } |
34 | } | 38 | } |
35 | 39 | ||
36 | @include element('category-subtitle') { | 40 | @include element('category-description') { |
37 | display: block; | 41 | display: block; |
38 | 42 | ||
39 | p { | 43 | p { |
diff --git a/assets/css/components/_header.scss b/assets/css/components/_header.scss index 9afa2e6..1470bea 100644 --- a/assets/css/components/_header.scss +++ b/assets/css/components/_header.scss | |||
@@ -72,6 +72,8 @@ | |||
72 | } | 72 | } |
73 | 73 | ||
74 | @include media('>=lg') { | 74 | @include media('>=lg') { |
75 | position: sticky; | ||
76 | top: 2px; | ||
75 | margin-bottom: calc(-.75 * #{prop(--dims --height)}); | 77 | margin-bottom: calc(-.75 * #{prop(--dims --height)}); |
76 | } | 78 | } |
77 | } | 79 | } |