-
Notifications
You must be signed in to change notification settings - Fork 7
/
globals.css
120 lines (105 loc) · 1.48 KB
/
globals.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
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
*,
*::before,
*::after {
box-sizing: border-box;
font-family: inherit;
}
html {
overflow-y: scroll;
}
body {
margin: 0;
color: var(--text-1);
background-color: var(--bg-body);
text-rendering: optimizeLegibility;
transition: background-color 300ms;
scrollbar-color: var(--bg-scrollbar);
-webkit-font-smoothing: antialiased;
}
a {
text-decoration: none;
color: inherit;
font-weight: 500;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: var(--text);
& code {
font-size: inherit !important;
}
& a {
font-size: inherit !important;
}
}
h1 {
font-size: 28px;
}
h2 {
font-size: 22px;
}
h3 {
font-size: 20px;
}
h4,
h5,
h6 {
font-size: 18px;
}
::-webkit-scrollbar-track {
background-color: transparent;
}
::-webkit-scrollbar-thumb {
border-radius: 4px;
background-color: var(--bg-scrollbar);
}
::-webkit-scrollbar-corner {
background-color: transparent;
}
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
/* list */
ol,
ul {
margin-top: 6px;
padding-left: 28px;
line-height: 28px;
& > li {
padding-left: 4px;
}
}
p {
margin: 12px 0;
line-height: 28px;
word-break: break-all;
}
strong,
em {
color: var(--text);
}
img {
-webkit-tap-highlight-color: transparent;
}
svg {
display: block;
width: 1em;
height: 1em;
fill: currentColor;
}
.verticalLine {
height: 1em;
width: 1px;
background-color: var(--bg-vertical-line);
}
button {
border: none;
outline: none;
background-color: inherit;
color: inherit;
cursor: pointer;
}