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