diff options
author | Volpeon <git@volpeon.ink> | 2023-01-10 10:03:23 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2023-01-10 10:03:23 +0100 |
commit | 490e4c34c8588bf6095346944e9f025eaa0addaf (patch) | |
tree | ef22b059fddecf7b869ab657d933599daf0b4ef6 /assets/css/components | |
parent | Better asset handling; paragraph fix for new Pandoc versions; updated emojis (diff) | |
download | volpeon.ink-490e4c34c8588bf6095346944e9f025eaa0addaf.tar.gz volpeon.ink-490e4c34c8588bf6095346944e9f025eaa0addaf.tar.bz2 volpeon.ink-490e4c34c8588bf6095346944e9f025eaa0addaf.zip |
Improved appearance of related content
Diffstat (limited to 'assets/css/components')
-rw-r--r-- | assets/css/components/_card.scss | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/assets/css/components/_card.scss b/assets/css/components/_card.scss index 1bd60de..ca23bf4 100644 --- a/assets/css/components/_card.scss +++ b/assets/css/components/_card.scss | |||
@@ -27,8 +27,10 @@ | |||
27 | ), 'colors'); | 27 | ), 'colors'); |
28 | 28 | ||
29 | @include iro.bem-component(iro.props-namespace()) { | 29 | @include iro.bem-component(iro.props-namespace()) { |
30 | display: block; | 30 | display: flex; |
31 | position: relative; | 31 | position: relative; |
32 | flex-direction: column; | ||
33 | justify-content: center; | ||
32 | transform: translateY(0); | 34 | transform: translateY(0); |
33 | transition: transform .2s, background-color .2s, color .2s, border-color .2s; | 35 | transition: transform .2s, background-color .2s, color .2s, border-color .2s; |
34 | background-color: fn.color(--bg); | 36 | background-color: fn.color(--bg); |