-
Notifications
You must be signed in to change notification settings - Fork 0
/
toplist.css
126 lines (108 loc) · 2.44 KB
/
toplist.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
121
122
123
124
125
126
body,
body *::backdrop {
--sans-font: -apple-system, BlinkMacSystemFont, "Avenir Next", Avenir,
"Nimbus Sans L", Roboto, "Noto Sans", "Segoe UI", Arial, Helvetica,
"Helvetica Neue", sans-serif;
--mono-font: Consolas, Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
--standard-border-radius: 5px;
--bg: #ffffff; /* #fff */
--accent-bg: #f5f5f5; /* #f5f7ff */
--text: #212121; /* #212121 */
--text-light: #585858; /* #585858 */
--border: #8a8a8a; /* #898ea4 */
--accent: #4b4b4b; /* #0d47a1 */
--accent-hover: var(--text); /* #1266e2 */
--accent-text: var(--bg);
--code: #696969; /* #d81b60 */
--preformatted: #444444; /* #444 */
--marked: #cccccc; /* #fd3 */
--disabled: #efefef; /* #efefef */
}
@media (prefers-color-scheme: dark) {
body,
body *::backdrop {
color-scheme: dark;
--bg: #121212; /* #212121 adjusted to be darker */
--accent-bg: #1c1c1c; /* #2b2b2b adjusted to be darker */
--text: #dcdcdc; /* #dcdcdc */
--text-light: #ababab; /* #ababab */
--accent: #b5b5b5; /* #ffb300 */
--accent-hover: var(--text); /* #ffe099 */
--accent-text: var(--bg);
--code: #cccccc; /* #f06292 */
--preformatted: #cccccc; /* #ccc */
--disabled: #111111; /* #111 */
}
}
.subtle {
font-style: italic;
opacity: 0.8;
}
body h1 {
font-size: 2rem;
}
body h2 {
font-size: 1.2rem;
}
ul {
list-style-type: none;
padding: unset;
}
.action,
a.action {
text-align: center;
background-color: var(--bg);
color: var(--text);
}
.action:hover {
color: var(--bg);
}
.action:hover svg {
fill: var(--bg);
}
.action svg {
fill: var(--text);
height: 1lh;
vertical-align: middle;
}
dialog {
min-width: min(45rem, 90%);
}
.notice--assertive {
--accent-bg: lightpink;
--border: indianred;
}
.float-right {
float: right;
}
body:has(dialog[open]) {
overflow: hidden;
}
.list-item details {
margin-bottom: 0px;
}
.list-item details:not(:hover) {
background: none;
border-color: #00000000;
}
.list-item details > summary {
list-style: none;
font-weight: normal;
}
.list-item details > summary::marker, /* Latest Chrome, Edge, Firefox */
.list-item details > summary::-webkit-details-marker /* Safari */ {
display: none;
}
#qr-code svg path {
fill: var(--border) !important;
stroke: var(--border) !important;
}
.list .actions {
font-size: 0;
}
.list .actions .action,
.list .actions .action {
font-size: 1.15rem;
display: inline-block;
margin: 0 0.2ch 0.2ch 0;
}