diff options
author | Volpeon <git@volpeon.ink> | 2021-11-20 10:39:33 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-11-20 10:39:33 +0100 |
commit | d575b31e19aa046fcfe921632a8b36b8af4e6e91 (patch) | |
tree | f91b07963b0c0b11e2ce68c5bb38f70ffa154722 /assets | |
parent | Added text ellipsis to cards, added macro to use icons in content (diff) | |
download | volpeon.ink-d575b31e19aa046fcfe921632a8b36b8af4e6e91.tar.gz volpeon.ink-d575b31e19aa046fcfe921632a8b36b8af4e6e91.tar.bz2 volpeon.ink-d575b31e19aa046fcfe921632a8b36b8af4e6e91.zip |
Fix card hover transition on Chrome
Diffstat (limited to 'assets')
-rw-r--r-- | assets/css/_vars.scss | 3 | ||||
-rw-r--r-- | assets/css/components/_card.scss | 5 |
2 files changed, 4 insertions, 4 deletions
diff --git a/assets/css/_vars.scss b/assets/css/_vars.scss index 47ca599..7c2534d 100644 --- a/assets/css/_vars.scss +++ b/assets/css/_vars.scss | |||
@@ -36,8 +36,7 @@ $content--width: 46rem; | |||
36 | 36 | ||
37 | @include store(( | 37 | @include store(( |
38 | --dims: ( | 38 | --dims: ( |
39 | --indent: 2rem, | 39 | --indent: 2rem, |
40 | |||
41 | --obj-shadow: 0 .4em 2.8em, | 40 | --obj-shadow: 0 .4em 2.8em, |
42 | ), | 41 | ), |
43 | --colors: ( | 42 | --colors: ( |
diff --git a/assets/css/components/_card.scss b/assets/css/components/_card.scss index 2e36d3e..b023447 100644 --- a/assets/css/components/_card.scss +++ b/assets/css/components/_card.scss | |||
@@ -71,8 +71,9 @@ | |||
71 | display: block; | 71 | display: block; |
72 | } | 72 | } |
73 | 73 | ||
74 | * { | 74 | small, |
75 | color: currentColor; | 75 | strong { |
76 | color: prop(--colors --hover --fg); | ||
76 | } | 77 | } |
77 | 78 | ||
78 | @include element('block') { | 79 | @include element('block') { |