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 --footer-btn-bg: hsl(220, 60%, 98%, 0.4);
91 --footer-btn-bg-hover: hsl(220, 60%, 93%, 0.5);
92 --footer-btn-border: hsla(220, 60%, 40%, 0.15);
93 --footer-btn-border-hover: hsla(220, 60%, 50%, 0.2);
94}
95
96.dark {
97 --color-scheme: dark;
98
99 --logo-brightness: brightness(2);
100
101 --bg: hsl(220, 13%, 10%);
102 --fg: hsl(220, 14%, 70%);
103 --title-color: hsl(220, 92%, 80%);
104
105 --border: hsl(220, 13%, 20%);
106 --border-light: hsl(220, 13%, 15%);
107 --border-hover: hsl(220, 13%, 40%);
108
109 --media-bg: hsl(220, 13%, 8%);
110
111 --sidebar-bg: hsl(220, 13%, 10%);
112 --sidebar-fg: hsl(220, 14%, 71%);
113 --sidebar-non-existant: #505254;
114 --sidebar-active: hsl(220, 92%, 75%);
115 --sidebar-active-bg: hsl(220, 93%, 42%, 0.25);
116
117 --divider: hsl(220, 13%, 20%);
118 --scrollbar: hsl(220, 13%, 30%);
119
120 --icons: hsl(220, 14%, 71%);
121 --icons-hover: hsl(220, 14%, 90%);
122 --icon-btn-bg-hover: hsl(220, 93%, 42%, 0.4);
123
124 --links: hsl(220, 93%, 75%);
125 --link-line-decoration: hsl(220, 92%, 80%, 0.4);
126 --link-line-decoration-hover: hsl(220, 92%, 80%, 0.8);
127 --full-contrast: #fff;
128
129 --inline-code-color: hsl(40, 100%, 80%);
130 --code-text: hsl(220, 13%, 95%);
131 --code-bg: hsl(220, 93%, 50%, 0.2);
132 --keybinding-bg: hsl(0, 0%, 12%);
133
134 --pre-bg: hsl(220, 13%, 5%);
135 --pre-border: hsla(220, 93%, 70%, 0.3);
136 --pre-shadow: hsla(220, 93%, 70%, 0.1);
137
138 --theme-popup-bg: hsl(220, 13%, 15%);
139 --theme-popup-border: hsl(220, 13%, 20%);
140 --theme-hover: hsl(220, 13%, 25%);
141
142 --quote-bg: hsl(220, 13%, 25%, 0.4);
143 --quote-border: hsl(220, 13%, 32%, 0.5);
144
145 --table-border-color: hsl(220, 13%, 30%, 0.5);
146 --table-header-bg: hsl(220, 13%, 25%, 0.5);
147 --table-alternate-bg: hsl(220, 13%, 20%, 0.4);
148
149 --warning-border: hsl(25, 100%, 85%, 0.2);
150 --warning-bg: hsl(42, 100%, 40%, 0.1);
151 --warning-icon: hsl(42, 100%, 80%);
152
153 --searchbar-border-color: hsl(220, 13%, 30%);
154 --searchbar-bg: hsl(220, 13%, 22%, 0.5);
155 --searchbar-fg: hsl(220, 14%, 71%);
156 --searchbar-shadow-color: hsl(220, 13%, 15%);
157 --searchresults-header-fg: hsl(220, 14%, 60%);
158 --searchresults-border-color: hsl(220, 13%, 30%);
159 --searchresults-li-bg: hsl(220, 13%, 25%);
160 --search-mark-bg: hsl(220, 93%, 60%);
161
162 --download-btn-bg: hsl(220, 90%, 90%, 0.1);
163 --download-btn-bg-hover: hsl(220, 90%, 50%, 0.2);
164 --download-btn-color: hsl(220, 90%, 95%);
165 --download-btn-border: hsla(220, 90%, 80%, 0.2);
166 --download-btn-border-hover: hsla(220, 90%, 80%, 0.4);
167 --download-btn-shadow: hsla(220, 50%, 60%, 0.15);
168
169 --footer-btn-bg: hsl(220, 90%, 95%, 0.01);
170 --footer-btn-bg-hover: hsl(220, 90%, 50%, 0.05);
171 --footer-btn-border: hsla(220, 90%, 90%, 0.05);
172 --footer-btn-border-hover: hsla(220, 90%, 80%, 0.2);
173}