-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcustom.css
More file actions
340 lines (302 loc) · 9.14 KB
/
Copy pathcustom.css
File metadata and controls
340 lines (302 loc) · 9.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
/*
* Legal Disclaimer for Web license
*
* License to use self-hosted webfonts for displaying dynamic text on specified website domains. Our package includes WOFF and WOFF2 font formats.
*
* Should the license page views limit be exceeded the license holder will be required to contact Lineto.com for an upgrade.
*
* It is strictly prohibited to rename the font and to download or use these fonts in any other media.
*
* These Web fonts are licensed exclusively for the use on the following domain(s) and their subdomains:
*
* flatfile.com (monthly pageviews: <50K)
*
*/
/* complete */
@font-face {
font-family: "CircularXXWeb";
src: url("https://flatfile.com/fonts/CircularXXWeb-Regular.woff2")
format("woff2"),
url("https://flatfile.com/fonts/CircularXXWeb-Regular.woff") format("woff");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "CircularXXWeb";
src: url("https://flatfile.com/fonts/CircularXXWeb-Bold.woff2")
format("woff2"),
url("https://flatfile.com/fonts/CircularXXWeb-Bold.woff") format("woff");
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "CircularXXWeb";
src: url("https://flatfile.com/fonts/CircularXXWeb-Italic.woff2")
format("woff2"),
url("https://flatfile.com/fonts/CircularXXWeb-Italic.woff") format("woff");
font-weight: 400;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "CircularXXWeb";
src: url("https://flatfile.com/fonts/CircularXXWeb-BoldItalic.woff2")
format("woff2"),
url("https://flatfile.com/fonts/CircularXXWeb-BoldItalic.woff")
format("woff");
font-weight: 700;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "CircularXXWeb";
src: url("https://flatfile.com/fonts/CircularXXWeb-Book.woff2")
format("woff2"),
url("https://flatfile.com/fonts/CircularXXWeb-Book.woff") format("woff");
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "CircularXXWeb";
src: url("https://flatfile.com/fonts/CircularXXWeb-Book.woff2/fonts/CircularXXWeb-BookItalic.woff2")
format("woff2"),
url("https://flatfile.com/fonts/CircularXXWeb-Book.woff2/fonts/CircularXXWeb-BookItalic.woff")
format("woff");
font-weight: 300;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "CircularXXWeb";
src: url("https://flatfile.com/fonts/CircularXXWeb-Book.woff2/fonts/CircularXXWeb-Medium.woff2")
format("woff2"),
url("https://flatfile.com/fonts/CircularXXWeb-Book.woff2/fonts/CircularXXWeb-Medium.woff")
format("woff");
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "CircularXXWeb";
src: url("https://flatfile.com/fonts/CircularXXWeb-Book.woff2/fonts/CircularXXWeb-MediumItalic.woff2")
format("woff2"),
url("https://flatfile.com/fonts/CircularXXWeb-Book.woff2/fonts/CircularXXWeb-MediumItalic.woff")
format("woff");
font-weight: 500;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "CircularXXWeb";
src: url("https://flatfile.com/fonts/CircularXXWeb-Book.woff2/fonts/CircularXXWeb-Black.woff2")
format("woff2"),
url("https://flatfile.com/fonts/CircularXXWeb-Book.woff2/fonts/CircularXXWeb-Black.woff")
format("woff");
font-weight: 900;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "CircularXXWeb";
src: url("https://flatfile.com/fonts/CircularXXWeb-Book.woff2/fonts/CircularXXWeb-BlackItalic.woff2")
format("woff2"),
url("https://flatfile.com/fonts/CircularXXWeb-Book.woff2/fonts/CircularXXWeb-BlackItalic.woff")
format("woff");
font-weight: 900;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "CircularXXWeb";
src: url("https://flatfile.com/fonts/CircularXXWeb-Thin.woff2")
format("woff2"),
url("https://flatfile.com/fonts/CircularXXWeb-Thin.woff") format("woff");
font-weight: 100;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "CircularXXWeb";
src: url("https://flatfile.com/fonts/CircularXXWeb-ThinItalic.woff2")
format("woff2"),
url("https://flatfile.com/fonts/CircularXXWeb-ThinItalic.woff")
format("woff");
font-weight: 100;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "CircularXXWeb";
src: url("https://flatfile.com/fonts/CircularXXWeb-Light.woff2")
format("woff2"),
url("https://flatfile.com/fonts/CircularXXWeb-Light.woff") format("woff");
font-weight: 200;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "CircularXXWeb";
src: url("https://flatfile.com/fonts/CircularXXWeb-LightItalic.woff2")
format("woff2"),
url("https://flatfile.com/fonts/CircularXXWeb-LightItalic.woff")
format("woff");
font-weight: 200;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "CircularXXWeb";
src: url("https://flatfile.com/fonts/CircularXXWeb-ExtraBlack.woff2")
format("woff2"),
url("https://flatfile.com/fonts/CircularXXWeb-ExtraBlack.woff")
format("woff");
font-weight: 950;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "CircularXXWeb";
src: url("https://flatfile.com/fonts/CircularXXWeb-ExtraBlackItalic.woff2")
format("woff2"),
url("https://flatfile.com/fonts/CircularXXWeb-ExtraBlackItalic.woff")
format("woff");
font-weight: 950;
font-style: italic;
font-display: swap;
}
/* Friends Fonts */
@font-face {
font-family: "Friends";
src: url("https://flatfile.com/fonts/Friends-Black.otf") format("opentype");
font-weight: 900;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Friends";
src: url("https://flatfile.com/fonts/Friends-UltraBold.otf")
format("opentype");
font-weight: 800;
font-style: normal;
font-display: swap;
}
/* Light mode overrides */
:root {
--primary: 0 0 0;
--background-light: 255 255 255;
--text-light: 0 0 0;
--border-light: rgba(0, 0, 0, 0.1);
/* Light mode grays */
/* --gray-50: 0 0 0; */
/* --gray-100: 0 0 0; */
--gray-200: 0 0 0;
--gray-300: 0 0 0;
--gray-400: 0 0 0;
--gray-500: 0 0 0;
--gray-600: 0 0 0;
--gray-700: 0 0 0;
--gray-800: 0 0 0;
--gray-900: 0 0 0;
--gray-950: 0 0 0;
}
/* Dark mode overrides */
:root.dark {
--primary: 255 255 255;
--background-dark: 0 0 0;
--text-dark: 255 255 255;
--border-dark: rgba(255, 255, 255, 0.1);
/* Dark mode grays */
--gray-50: 255 255 255;
--gray-100: 255 255 255;
--gray-200: 255 255 255;
--gray-300: 255 255 255;
--gray-400: 255 255 255;
--gray-500: 255 255 255;
--gray-600: 255 255 255;
--gray-700: 255 255 255;
--gray-800: 255 255 255;
--gray-900: 255 255 255;
--gray-950: 255 255 255;
}
/* Square all corners */
* {
border-radius: 0 !important;
}
/* Hide dark mode toggle border*/
button[aria-label="Toggle dark mode"] {
border: none;
background-color: transparent;
}
/* Hide scrollbar */
* {
-ms-overflow-style: none !important;
scrollbar-width: none !important;
}
/* Change font weight for text-2xl */
.text-2xl {
font-weight: 450 !important;
}
/* Hide .h-5 elements */
.h-5 {
display: none;
}
/* Uppercase and add letter spacing to left nav headers */
.pl-4 {
text-transform: uppercase;
letter-spacing: 0.05em;
}
/* Remove text transform and letter spacing for table of contents */
#table-of-contents-content .pl-4 {
text-transform: none;
letter-spacing: normal;
}
/* Dark mode hover background buttons lighter shades */
button.relative:not(.dark):hover {
background-color: rgba(250, 250, 250, 0.1);
}
/* Remove hover background on buttons */
html [class*="group-hover:bg-gray-200/50"],
html [class*="dark:group-hover:bg-gray-700/60"],
html .group:hover {
background-color: transparent !important;
transition: none !important;
animation: none !important;
-webkit-animation: none !important;
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
}
/* Light mode card border color should be black */
.card.block.not-prose {
border-color: black; /* Light mode */
}
/* Dark mode card border color should be white */
:root.dark .card.block.not-prose {
border-color: white; /* Dark mode */
}
/* Make filter tags text more visible in dark mode */
.dark .dark\:text-gray-300 {
color: rgba(255, 255, 255, 0.9) !important; /* Brighter white for better visibility */
}
/* Increase contrast for filter tag backgrounds in dark mode */
.dark .dark\:bg-gray-900 {
background-color: rgba(30, 30, 30, 0.8) !important; /* Slightly lighter background */
}
/* Improve hover state visibility in dark mode */
.dark .dark\:text-gray-300:hover {
color: white !important;
background-color: rgba(50, 50, 50, 0.9) !important;
}
/* ONLY fix selected filter tags in dark mode */
.dark #changelog-filters button:not(.dark\:bg-gray-900),
.dark #changelog-filters-content button:not(.dark\:bg-gray-900) {
background-color: #444 !important; /* Dark gray background */
color: white !important; /* White text */
border: 1px solid white !important; /* White border */
}
/* Fix hover state in light mode */
#changelog-filters-content button:hover {
color: white !important; /* Ensure text is white on hover */
}