-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcommon.css
57 lines (50 loc) · 827 Bytes
/
common.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
:root {
color-scheme: dark light;
font-family: system-ui, sans-serif;
--padding: 0.25rem;
--theme-color: unset;
}
*,
*:before,
*:after {
box-sizing: border-box;
}
body {
margin: 0;
height: var(--100vh, 100vh);
max-height: var(--100vh, 100vh);
width: 100vw;
max-width: 100vw;
font-size: 100%;
overflow-x: hidden;
overflow-y: auto;
padding: var(--padding);
}
@media (prefers-color-scheme: dark) {
body {
background-color: #000;
}
}
input,
select,
button {
font-size: 100%;
}
[unresolved] {
visibility: hidden;
}
:focus:not(:focus-visible) {
outline: none;
}
button,
.button {
border: 0;
border-radius: 0.25rem;
background: var(--theme-color);
color: white;
white-space: nowrap;
text-decoration: none;
padding: 0.25rem 0.5rem;
margin: 0.25rem;
cursor: pointer;
}