summaryrefslogtreecommitdiffstats
path: root/assets/css/components
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-05-15 18:11:24 +0200
committerVolpeon <git@volpeon.ink>2021-05-15 18:11:24 +0200
commit055093d463a1d58bd412df1bfe189e27909f8adc (patch)
treec79a947abb33bda259fe7df113018440eb929f3a /assets/css/components
parentMoved ASCII fox from page list header to general footer (diff)
downloadvolpeon.ink-055093d463a1d58bd412df1bfe189e27909f8adc.tar.gz
volpeon.ink-055093d463a1d58bd412df1bfe189e27909f8adc.tar.bz2
volpeon.ink-055093d463a1d58bd412df1bfe189e27909f8adc.zip
Added light theme
Diffstat (limited to 'assets/css/components')
-rw-r--r--assets/css/components/_card.scss7
-rw-r--r--assets/css/components/_header.scss1
-rw-r--r--assets/css/components/_outer-button.scss6
-rw-r--r--assets/css/components/_project.scss18
4 files changed, 23 insertions, 9 deletions
diff --git a/assets/css/components/_card.scss b/assets/css/components/_card.scss
index fd897a7..eeaa7c1 100644
--- a/assets/css/components/_card.scss
+++ b/assets/css/components/_card.scss
@@ -15,6 +15,12 @@
15 ) 15 )
16 )); 16 ));
17 17
18 @include store((
19 --colors: (
20 --bg: prop(--colors --bg-hi, $global: true),
21 )
22 ), 'light');
23
18 @include component(namespace()) { 24 @include component(namespace()) {
19 display: flex; 25 display: flex;
20 position: relative; 26 position: relative;
@@ -22,6 +28,7 @@
22 transform: translateY(0); 28 transform: translateY(0);
23 transition: transform .2s, background-color .2s, color .2s; 29 transition: transform .2s, background-color .2s, color .2s;
24 background-color: prop(--colors --bg); 30 background-color: prop(--colors --bg);
31 box-shadow: prop(--dims --obj-shadow, $global: true) prop(--colors --obj-shadow, $global: true);
25 color: prop(--colors --fg); 32 color: prop(--colors --fg);
26 line-height: 1.4; 33 line-height: 1.4;
27 34
diff --git a/assets/css/components/_header.scss b/assets/css/components/_header.scss
index 61f6f4a..e74780b 100644
--- a/assets/css/components/_header.scss
+++ b/assets/css/components/_header.scss
@@ -18,5 +18,6 @@
18 left: 0; 18 left: 0;
19 flex-direction: row; 19 flex-direction: row;
20 justify-content: flex-start; 20 justify-content: flex-start;
21 box-shadow: prop(--dims --obj-shadow, $global: true) prop(--colors --obj-shadow, $global: true);
21 } 22 }
22} 23}
diff --git a/assets/css/components/_outer-button.scss b/assets/css/components/_outer-button.scss
index 2b7775e..f3d3276 100644
--- a/assets/css/components/_outer-button.scss
+++ b/assets/css/components/_outer-button.scss
@@ -18,6 +18,12 @@
18 ) 18 )
19 )); 19 ));
20 20
21 @include store((
22 --colors: (
23 --border: rgba(#fff, .1),
24 )
25 ), 'light');
26
21 @include component(namespace()) { 27 @include component(namespace()) {
22 display: flex; 28 display: flex;
23 height: prop(--dims --outer, $global: true); 29 height: prop(--dims --outer, $global: true);
diff --git a/assets/css/components/_project.scss b/assets/css/components/_project.scss
index 76cc68b..5248e32 100644
--- a/assets/css/components/_project.scss
+++ b/assets/css/components/_project.scss
@@ -6,8 +6,9 @@
6 )); 6 ));
7 7
8 @include component(namespace()) { 8 @include component(namespace()) {
9 position: relative; 9 position: relative;
10 overflow: hidden; 10 overflow: hidden;
11 box-shadow: prop(--dims --obj-shadow, $global: true) prop(--colors --obj-shadow, $global: true);
11 12
12 &::before { 13 &::before {
13 content: ''; 14 content: '';
@@ -56,13 +57,12 @@
56 } 57 }
57 58
58 @include element('card') { 59 @include element('card') {
59 position: absolute; 60 position: absolute;
60 z-index: 20; 61 z-index: 20;
61 right: 1em; 62 right: 1em;
62 bottom: 1em; 63 bottom: 1em;
63 min-width: 15em; 64 min-width: 15em;
64 max-width: calc(100% - 2em); 65 max-width: calc(100% - 2em);
65 box-shadow: 0 .8em 2.5em rgba(#000, .25);
66 } 66 }
67 } 67 }
68} 68}