summaryrefslogtreecommitdiffstats
path: root/assets/css/scopes
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-12-30 09:45:40 +0100
committerVolpeon <git@volpeon.ink>2021-12-30 09:45:40 +0100
commitfc78b8c5e852327660a2d7616d765393ff407d1f (patch)
tree5e1957e70278a0359bf5fe6a38a3181cadbe54c3 /assets/css/scopes
parentFixed lightbox in light mode (diff)
downloadvolpeon.ink-fc78b8c5e852327660a2d7616d765393ff407d1f.tar.gz
volpeon.ink-fc78b8c5e852327660a2d7616d765393ff407d1f.tar.bz2
volpeon.ink-fc78b8c5e852327660a2d7616d765393ff407d1f.zip
Improved lightbox
Diffstat (limited to 'assets/css/scopes')
-rw-r--r--assets/css/scopes/_body.scss19
1 files changed, 0 insertions, 19 deletions
diff --git a/assets/css/scopes/_body.scss b/assets/css/scopes/_body.scss
index 96e1f04..1fc8166 100644
--- a/assets/css/scopes/_body.scss
+++ b/assets/css/scopes/_body.scss
@@ -1,10 +1,6 @@
1@include namespace('body') { 1@include namespace('body') {
2 @include store(( 2 @include store((
3 --colors: ( 3 --colors: (
4 --meta: (
5 --fg: prop(--colors --bg-hi, $global: true),
6 --bg: prop(--colors --fg-lo, $global: true),
7 ),
8 --code: ( 4 --code: (
9 --fg: prop(--colors --accent --strong, $global: true), 5 --fg: prop(--colors --accent --strong, $global: true),
10 --bg: prop(--colors --bg-hi, $global: true), 6 --bg: prop(--colors --bg-hi, $global: true),
@@ -18,10 +14,6 @@
18 ) 14 )
19 ), 15 ),
20 --dims: ( 16 --dims: (
21 --meta: (
22 --pad-x: .6em,
23 --pad-y: .2em
24 ),
25 --code: ( 17 --code: (
26 --pad-x: .3em, 18 --pad-x: .3em,
27 --pad-y: .1em 19 --pad-y: .1em
@@ -46,17 +38,6 @@
46 38
47 @include scope(namespace()) { 39 @include scope(namespace()) {
48 @include element('meta') { 40 @include element('meta') {
49 display: inline-block;
50 padding: prop(--dims --meta --pad-y) prop(--dims --meta --pad-x);
51 background-color: prop(--colors --meta --bg);
52 color: prop(--colors --meta --fg);
53 font-size: iro-px-to-rem(14px);
54
55 &::selection {
56 background-color: prop(--colors --select --inverted --bg, $global: true);
57 color: prop(--colors --select --inverted --fg, $global: true);
58 }
59
60 + h1 { 41 + h1 {
61 margin-top: $line-height * .5rem; 42 margin-top: $line-height * .5rem;
62 } 43 }