-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
84 lines (75 loc) · 2.11 KB
/
index.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
:root {
color-scheme: light dark;
font-size: 1.125rem;
--text-color: #334259;
--text-inverted-color: #fff;
--text-muted-color: rgba(0, 0, 0, 0.5);
--background-color: #fff;
--button-background-color: #f0f0f0;
--button-hover-background-color: #e0e0e0;
--card-front-background-image: linear-gradient(120deg, #c471f5 0%, #fa71cd 100%);
--card-back-background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
--table-row-border-color: #dee2e6;
}
@media (prefers-color-scheme: dark) {
:root {
--text-color: #fff;
--text-inverted-color: #242828;
--text-muted-color: rgba(255, 255, 255, 0.5);
--background-color: #242828;
--button-background-color: #343838;
--button-hover-background-color: #444848;
--card-front-background-image: linear-gradient(120deg, #f6d365 0%, #fda085 100%);
--card-back-background-image: linear-gradient(120deg, #43e97b 0%, #38f9d7 100%);
--table-row-border-color: #555;
}
}
*,
*::before,
*::after {
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
height: 100%;
}
@media (min-width: 400px) {
:root {
font-size: 1.25rem;
}
}
body {
background-color: var(--background-color);
color: var(--text-color);
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
line-height: 1.5;
}
.button {
align-items: center;
background-color: var(--button-background-color);
border: 1px solid transparent;
border-radius: .25rem;
box-shadow: none;
color: var(--text-color);
cursor: pointer;
display: inline-flex;
font-size: inherit;
justify-content: flex-start;
margin: 0;
outline: 0;
text-align: center;
text-decoration: none;
transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
user-select: none;
vertical-align: middle;
}
.button:active,
.button:hover {
background-color: var(--button-hover-background-color);
color: var(--text-color);
}
.button {
padding: .375rem .75rem;
}