summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/css/_vars.scss7
-rw-r--r--assets/css/scopes/_body.scss5
2 files changed, 12 insertions, 0 deletions
diff --git a/assets/css/_vars.scss b/assets/css/_vars.scss
index f6929a2..2c0e9b5 100644
--- a/assets/css/_vars.scss
+++ b/assets/css/_vars.scss
@@ -77,6 +77,10 @@ $content--width: 44rem;
77 --bg: rgba($gray7, .996), 77 --bg: rgba($gray7, .996),
78 --img-bg: rgba($gray7, .5), 78 --img-bg: rgba($gray7, .5),
79 --fg: var(--colors--bg-hi), 79 --fg: var(--colors--bg-hi),
80 --inverted: (
81 --bg: rgba($gray0, .996),
82 --fg: var(--colors--fg-lo),
83 )
80 ), 84 ),
81 85
82 --link: ( 86 --link: (
@@ -140,6 +144,9 @@ $content--width: 44rem;
140 --select: ( 144 --select: (
141 --bg: rgba($gray7, .996), 145 --bg: rgba($gray7, .996),
142 --img-bg: rgba($gray7, .5), 146 --img-bg: rgba($gray7, .5),
147 --inverted: (
148 --bg: rgba($gray0, .996),
149 ),
143 ), 150 ),
144 151
145 --link: ( 152 --link: (
diff --git a/assets/css/scopes/_body.scss b/assets/css/scopes/_body.scss
index 7596a50..96e1f04 100644
--- a/assets/css/scopes/_body.scss
+++ b/assets/css/scopes/_body.scss
@@ -52,6 +52,11 @@
52 color: prop(--colors --meta --fg); 52 color: prop(--colors --meta --fg);
53 font-size: iro-px-to-rem(14px); 53 font-size: iro-px-to-rem(14px);
54 54
55 &::selection {
56 background-color: prop(--colors --select --inverted --bg, $global: true);
57 color: prop(--colors --select --inverted --fg, $global: true);
58 }
59
55 + h1 { 60 + h1 {
56 margin-top: $line-height * .5rem; 61 margin-top: $line-height * .5rem;
57 } 62 }