-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdark.css
executable file
·64 lines (64 loc) · 1.25 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
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;
}
.login label, .register label {
display: inline-block;
width: 45px;
}
.fontResult {
overflow-x: auto;
white-space: nowrap;
}
.fontResult tbody tr {
height: 42px;
white-space: pre-line;
}
.fontid {
width: 50px;
}
.fontuploader, .fontsize {
width: 70px;
}
.fontfile {
width: 235px;
}
.fontname, .fontfullname, .fontpsname {
width: 255px;
}
.fontsubfamily, .fontversion {
width: 120px;
}
.fontcreatedat {
width: 140px;
}
@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;
}
}