1/* Globals */
2
3:root {
4 --color-scheme: light;
5
6 --logo-brightness: brightness(1);
7
8 --sidebar-width: 300px;
9 --sidebar-resize-indicator-width: 0px;
10 --sidebar-resize-indicator-space: 2px;
11 --page-padding: 15px;
12 --content-max-width: 750px;
13 --menu-bar-height: 64px;
14 --font: "IA Writer Quattro S", sans-serif;
15 --title-font: "Lora", "Helvetica Neue", Helvetica, Arial, sans-serif;
16 --mono-font:
17 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono,
18 Courier New, monospace;
19 --code-font-size: 0.875em
20 /* please adjust the ace font size accordingly in editor.js */;
21
22 --bg: hsla(50, 25%, 96%);
23 --fg: hsl(220, 13%, 34%);
24 --title-color: hsl(220, 92%, 42%);
25
26 --border: hsl(220, 13%, 80%);
27 --border-light: hsl(220, 13%, 90%);
28 --border-hover: hsl(220, 13%, 70%);
29
30 --media-bg: hsl(50, 25%, 92%);
31
32 --sidebar-fg: hsl(0, 0%, 0%);
33 --sidebar-non-existant: #aaaaaa;
34 --sidebar-active: hsl(220, 93%, 42%);
35 --sidebar-active-bg: hsl(220, 93%, 42%, 0.1);
36
37 --divider: hsl(220, 93%, 42%, 0.15);
38 --scrollbar: #8f8f8f;
39
40 --icons: #747474;
41 --icons-hover: #000000;
42 --icon-btn-bg-hover: hsl(220, 93%, 42%, 0.15);
43
44 --links: hsl(220, 92%, 42%);
45 --link-line-decoration: hsl(220, 93%, 42%, 0.2);
46 --link-line-decoration-hover: hsl(220, 93%, 42%, 0.5);
47
48 --full-contrast: #000;
49
50 --inline-code-color: #301900;
51 --code-text: hsl(220, 13%, 10%);
52 --code-bg: hsl(220, 93%, 42%, 0.1);
53 --keybinding-bg: hsl(0, 0%, 94%);
54
55 --pre-bg: #fff;
56 --pre-border: hsla(220, 93%, 42%, 0.3);
57 --pre-shadow: hsla(220, 93%, 42%, 0.07);
58
59 --theme-popup-bg: #fafafa;
60 --theme-popup-border: #cccccc;
61 --theme-hover: #e6e6e6;
62
63 --quote-bg: hsl(197, 37%, 96%);
64 --quote-border: hsl(197, 37%, 84%);
65
66 --warning-border: hsl(25, 100%, 85%);
67 --warning-bg: hsl(42, 100%, 60%, 0.1);
68 --warning-icon: hsl(42, 100%, 30%);
69
70 --table-header-bg: hsl(220, 50%, 90%, 0.4);
71 --table-border-color: hsl(220, 93%, 42%, 0.15);
72 --table-alternate-bg: hsl(220, 10%, 90%, 0.4);
73
74 --searchbar-border-color: #aaa;
75 --searchbar-bg: #fafafa;
76 --searchbar-fg: #000;
77 --searchbar-shadow-color: #aaa;
78 --searchresults-header-fg: #666;
79 --searchresults-border-color: #888;
80 --searchresults-li-bg: #e4f2fe;
81 --search-mark-bg: #a2cff5;
82
83 --download-btn-bg: hsl(220, 60%, 95%);
84 --download-btn-bg-hover: hsl(220, 60%, 93%);
85 --download-btn-color: hsl(220, 60%, 30%);
86 --download-btn-border: hsla(220, 60%, 40%, 0.2);
87 --download-btn-border-hover: hsla(220, 60%, 50%, 0.2);
88 --download-btn-shadow: hsla(220, 40%, 60%, 0.1);
89}
90
91.dark {
92 --color-scheme: dark;
93
94 --logo-brightness: brightness(2);
95
96 --bg: hsl(220, 13%, 10%);
97 --fg: hsl(220, 14%, 70%);
98 --title-color: hsl(220, 92%, 80%);
99
100 --border: hsl(220, 13%, 20%);
101 --border-light: hsl(220, 13%, 15%);
102 --border-hover: hsl(220, 13%, 40%);
103
104 --media-bg: hsl(220, 13%, 8%);
105
106 --sidebar-bg: hsl(220, 13%, 10%);
107 --sidebar-fg: hsl(220, 14%, 71%);
108 --sidebar-non-existant: #505254;
109 --sidebar-active: hsl(220, 92%, 75%);
110 --sidebar-active-bg: hsl(220, 93%, 42%, 0.25);
111
112 --divider: hsl(220, 13%, 20%);
113 --scrollbar: hsl(220, 13%, 30%);
114
115 --icons: hsl(220, 14%, 71%);
116 --icons-hover: hsl(220, 14%, 90%);
117 --icon-btn-bg-hover: hsl(220, 93%, 42%, 0.4);
118
119 --links: hsl(220, 93%, 75%);
120 --link-line-decoration: hsl(220, 92%, 80%, 0.4);
121 --link-line-decoration-hover: hsl(220, 92%, 80%, 0.8);
122 --full-contrast: #fff;
123
124 --inline-code-color: hsl(40, 100%, 80%);
125 --code-text: hsl(220, 13%, 95%);
126 --code-bg: hsl(220, 93%, 50%, 0.2);
127 --keybinding-bg: hsl(0, 0%, 12%);
128
129 --pre-bg: hsl(220, 13%, 5%);
130 --pre-border: hsla(220, 93%, 70%, 0.3);
131 --pre-shadow: hsla(220, 93%, 70%, 0.1);
132
133 --theme-popup-bg: hsl(220, 13%, 15%);
134 --theme-popup-border: hsl(220, 13%, 20%);
135 --theme-hover: hsl(220, 13%, 25%);
136
137 --quote-bg: hsl(220, 13%, 25%, 0.4);
138 --quote-border: hsl(220, 13%, 32%, 0.5);
139
140 --table-border-color: hsl(220, 13%, 30%, 0.5);
141 --table-header-bg: hsl(220, 13%, 25%, 0.5);
142 --table-alternate-bg: hsl(220, 13%, 20%, 0.4);
143
144 --warning-border: hsl(25, 100%, 85%, 0.2);
145 --warning-bg: hsl(42, 100%, 40%, 0.1);
146 --warning-icon: hsl(42, 100%, 80%);
147
148 --searchbar-border-color: hsl(220, 13%, 30%);
149 --searchbar-bg: hsl(220, 13%, 22%, 0.5);
150 --searchbar-fg: hsl(220, 14%, 71%);
151 --searchbar-shadow-color: hsl(220, 13%, 15%);
152 --searchresults-header-fg: hsl(220, 14%, 60%);
153 --searchresults-border-color: hsl(220, 13%, 30%);
154 --searchresults-li-bg: hsl(220, 13%, 25%);
155 --search-mark-bg: hsl(220, 93%, 60%);
156
157 --download-btn-bg: hsl(220, 90%, 90%, 0.1);
158 --download-btn-bg-hover: hsl(220, 90%, 50%, 0.2);
159 --download-btn-color: hsl(220, 90%, 95%);
160 --download-btn-border: hsla(220, 90%, 80%, 0.2);
161 --download-btn-border-hover: hsla(220, 90%, 80%, 0.4);
162 --download-btn-shadow: hsla(220, 50%, 60%, 0.15);
163}