-
Notifications
You must be signed in to change notification settings - Fork 4
/
custom.css
43 lines (35 loc) · 905 Bytes
/
custom.css
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
/* Make logo smaller */
#navbar img[src*="public/logo"] {
height: 22px;
}
/* Global font weight adjustments */
.font-extrabold {
font-weight: 600;
}
.font-semibold {
font-weight: 500;
}
/* By default h2s are very bold, this reduces the font-weight */
.prose :where(h2):not(:where([class~="not-prose"] *)) {
font-weight: 600;
}
/* Within plain we never want a tighter leading than the default so override this globally. */
.tracking-tight {
letter-spacing: 0;
}
/* Remove tight leading on titles within the content */
.prose :where(h1, h2, h3):not(:where([class~="not-prose"] *)) {
letter-spacing: initial;
}
/* Links that are in the content of the page */
.prose :where(a):not(:where([class~="not-prose"] *)) {
font-weight: 500;
}
/* Prevent layout shift from scrollbar appearing */
html {
overflow-y: scroll;
}
/* Hide sidebar scrollbar */
#sidebar::-webkit-scrollbar {
display: none;
}