diff options
author | Volpeon <git@volpeon.ink> | 2020-12-24 22:07:49 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2020-12-24 22:07:49 +0100 |
commit | 94e30b971e93669810d8a4889d60340900ad60f3 (patch) | |
tree | 8a3512a74042cd075a0409d873c1a3bf7cf768b5 /assets/css/_vars.scss | |
parent | Added header, improved SCSS structure, use metadata file instead of param, im... (diff) | |
download | volpeon.ink-94e30b971e93669810d8a4889d60340900ad60f3.tar.gz volpeon.ink-94e30b971e93669810d8a4889d60340900ad60f3.tar.bz2 volpeon.ink-94e30b971e93669810d8a4889d60340900ad60f3.zip |
Various improvements: CSS classes, favicon, design
Diffstat (limited to 'assets/css/_vars.scss')
-rw-r--r-- | assets/css/_vars.scss | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/assets/css/_vars.scss b/assets/css/_vars.scss index a29ad6d..4883605 100644 --- a/assets/css/_vars.scss +++ b/assets/css/_vars.scss | |||
@@ -4,6 +4,8 @@ $code-block-font-size: $font-size; | |||
4 | $line-height: 1.5; | 4 | $line-height: 1.5; |
5 | $code-block-line-height: 1.4; | 5 | $code-block-line-height: 1.4; |
6 | 6 | ||
7 | $content-width: 75ch; | ||
8 | |||
7 | $page-item-prefix-max-chars: 3ch; | 9 | $page-item-prefix-max-chars: 3ch; |
8 | $page-item-prefix-pad: 2ch; | 10 | $page-item-prefix-pad: 2ch; |
9 | $page-item-prefix-width: $page-item-prefix-max-chars + $page-item-prefix-pad; | 11 | $page-item-prefix-width: $page-item-prefix-max-chars + $page-item-prefix-pad; |
@@ -13,31 +15,40 @@ $subcontent-indent: 4ch; | |||
13 | $breakpoint-sm: 700px; | 15 | $breakpoint-sm: 700px; |
14 | 16 | ||
15 | :root { | 17 | :root { |
16 | --gray1: hsl(270, 0%, 9.7%); | 18 | --gray0: hsl(270, 0%, 7%); |
19 | --gray1: hsl(270, 0%, 10%); | ||
17 | --gray2: hsl(270, 1%, 29%); | 20 | --gray2: hsl(270, 1%, 29%); |
18 | --gray3: hsl(270, 2%, 54%); | 21 | --gray3: hsl(270, 2%, 54%); |
19 | --gray4: hsl(270, 2%, 73%); | 22 | --gray4: hsl(270, 2%, 73%); |
20 | --gray5: hsl(270, 2%, 83%); | 23 | --gray5: hsl(270, 2%, 83%); |
21 | --gray6: hsl(270, 2%, 100%); | 24 | --gray6: hsl(270, 2%, 100%); |
22 | 25 | ||
26 | --bg-minus: var(--gray0); | ||
23 | --bg: var(--gray1); | 27 | --bg: var(--gray1); |
24 | --bg-plus: var(--gray2); | 28 | --bg-plus: var(--gray2); |
25 | --fg-minus: var(--gray3); | 29 | --fg-minus: var(--gray3); |
26 | --fg: var(--gray4); | 30 | --fg: var(--gray4); |
27 | --fg-plus: var(--gray6); | 31 | --fg-plus: var(--gray5); |
32 | --fg-plus-2: var(--gray6); | ||
33 | |||
34 | --heading-fg: var(--fg-plus-2); | ||
28 | 35 | ||
29 | --select-bg: hsla(270, 2%, 100%, 0.996); | 36 | --select-bg: hsla(270, 2%, 100%, 0.996); |
30 | --select-fg: var(--gray1); | 37 | --select-fg: var(--bg-minus); |
31 | 38 | ||
32 | --code-fg: var(--fg-minus); | 39 | --code-fg: var(--fg-minus); |
33 | --code-block-fg: var(--fg-minus); | 40 | --code-block-fg: var(--fg-minus); |
34 | 41 | ||
35 | --page-item-prefix-fg: var(--fg-minus); | 42 | --page-item-prefix-fg: var(--fg-minus); |
36 | 43 | ||
37 | --link-idle-fg: var(--gray6); //#90acf2; //var(--gray6); | 44 | --link-idle-fg: var(--fg-plus-2); //#90acf2; //var(--gray6); |
38 | --link-visited-fg: var(--gray5); //#bc9df2; //var(--gray5); | 45 | --link-visited-fg: var(--fg-plus); //#bc9df2; //var(--gray5); |
39 | --link-hover-bg: var(--gray6); | 46 | --link-hover-bg: var(--fg-plus-2); |
40 | --link-hover-fg: var(--gray1); | 47 | --link-hover-fg: var(--bg-minus); |
41 | 48 | ||
42 | --heading: var(--fg-plus); | 49 | --nav-bg: var(--bg-minus); |
50 | --nav-logo-fg: var(--fg-minus); | ||
51 | --nav-item-idle-fg: var(--fg); | ||
52 | --nav-item-hover-fg: var(--fg-plus-2); | ||
53 | --nav-item-active-fg: var(--fg-plus-2); | ||
43 | } | 54 | } |