diff options
Diffstat (limited to 'assets/css')
-rw-r--r-- | assets/css/_basics.scss | 4 | ||||
-rw-r--r-- | assets/css/_vars.scss | 5 | ||||
-rw-r--r-- | assets/css/scopes/_page.scss | 4 |
3 files changed, 11 insertions, 2 deletions
diff --git a/assets/css/_basics.scss b/assets/css/_basics.scss index fe7b639..8db3505 100644 --- a/assets/css/_basics.scss +++ b/assets/css/_basics.scss | |||
@@ -19,6 +19,10 @@ | |||
19 | color: var(--select--fg); | 19 | color: var(--select--fg); |
20 | } | 20 | } |
21 | 21 | ||
22 | img::selection { | ||
23 | background-color: var(--select--img-bg); | ||
24 | } | ||
25 | |||
22 | html, | 26 | html, |
23 | pre, | 27 | pre, |
24 | code { | 28 | code { |
diff --git a/assets/css/_vars.scss b/assets/css/_vars.scss index 7e91453..f40faad 100644 --- a/assets/css/_vars.scss +++ b/assets/css/_vars.scss | |||
@@ -57,8 +57,9 @@ $breakpoints: ( | |||
57 | 57 | ||
58 | --heading--fg: var(--fg-lo); | 58 | --heading--fg: var(--fg-lo); |
59 | 59 | ||
60 | --select--bg: hsla(270, 2%, 100%, .996); | 60 | --select--bg: hsla(270, 2%, 100%, .996); |
61 | --select--fg: var(--bg-hi); | 61 | --select--img-bg: hsla(270, 2%, 100%, .5); |
62 | --select--fg: var(--bg-hi); | ||
62 | 63 | ||
63 | --code--fg: var(--fg-hi); | 64 | --code--fg: var(--fg-hi); |
64 | 65 | ||
diff --git a/assets/css/scopes/_page.scss b/assets/css/scopes/_page.scss index bf3df8d..e4c505e 100644 --- a/assets/css/scopes/_page.scss +++ b/assets/css/scopes/_page.scss | |||
@@ -14,4 +14,8 @@ | |||
14 | color: var(--page--link--hover--fg); | 14 | color: var(--page--link--hover--fg); |
15 | } | 15 | } |
16 | } | 16 | } |
17 | |||
18 | img { | ||
19 | max-width: 100%; | ||
20 | } | ||
17 | } | 21 | } |