-
Notifications
You must be signed in to change notification settings - Fork 0
/
dark.css
executable file
·46 lines (46 loc) · 1.01 KB
/
dark.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
a, p, h1, h2, h3, h4, h5, h6, input, button, label, legend, fieldset, textarea, .content {
font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
}
a {
color: royalblue;
}
.header {
display: flex;
}
.header h2, .header p {
margin: 0;
display: flex;
align-items: center;
}
.header p {
margin-left: auto;
}
.downloadLink {
margin-top: 8px;
margin-bottom: 8px;
}
.fontResult {
overflow-x: auto;
white-space: nowrap;
}
.login label, .register label {
display: inline-block;
width: 45px;
}
@media (prefers-color-scheme: dark) {
html {
background-color: #000;
}
input[type="checkbox"] {
filter: invert(80%) hue-rotate(180deg) brightness(1.5);
}
p, h1, h2, th, td, label, input, button, textarea, input[type="file"]::file-selector-button {
color: #fff;
}
textarea {
background-color: #333;
}
button, input[type="text"], input[type="password"], input[type="file"]::file-selector-button {
background-color: #666;
}
}