summaryrefslogtreecommitdiffstats
path: root/assets/css/layouts
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-05-15 20:28:42 +0200
committerVolpeon <git@volpeon.ink>2021-05-15 20:28:42 +0200
commitec81f70b5983054b0e0fa46a75c639c665b1550b (patch)
tree9e4986ac78f26afab24cb3f4b2067b2b1c846664 /assets/css/layouts
parentAdded light theme (diff)
downloadvolpeon.ink-ec81f70b5983054b0e0fa46a75c639c665b1550b.tar.gz
volpeon.ink-ec81f70b5983054b0e0fa46a75c639c665b1550b.tar.bz2
volpeon.ink-ec81f70b5983054b0e0fa46a75c639c665b1550b.zip
Fix overlapping box-shadows in card grid, load theme from localStorage
Diffstat (limited to 'assets/css/layouts')
-rw-r--r--assets/css/layouts/_card-grid.scss5
1 files changed, 5 insertions, 0 deletions
diff --git a/assets/css/layouts/_card-grid.scss b/assets/css/layouts/_card-grid.scss
index 7c8ad8c..235ef0b 100644
--- a/assets/css/layouts/_card-grid.scss
+++ b/assets/css/layouts/_card-grid.scss
@@ -9,6 +9,11 @@
9 display: grid; 9 display: grid;
10 grid-template-columns: repeat(auto-fill, minmax(#{prop(--dims --col-width)}, 1fr)); 10 grid-template-columns: repeat(auto-fill, minmax(#{prop(--dims --col-width)}, 1fr));
11 gap: .6rem; 11 gap: .6rem;
12 filter: drop-shadow(#{prop(--dims --obj-shadow, $global: true)} #{prop(--colors --obj-shadow-filter, $global: true)});
13
14 @include element('card') {
15 box-shadow: none;
16 }
12 17
13 @include media('<=sm') { 18 @include media('<=sm') {
14 grid-template-columns: 1fr; 19 grid-template-columns: 1fr;