-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.css
More file actions
92 lines (79 loc) · 1.65 KB
/
index.css
File metadata and controls
92 lines (79 loc) · 1.65 KB
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
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif, "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
line-height: 1.5;
font-weight: 400;
color-scheme: light dark;
color: var(--color-text-secondary);
background-color: var(--bg-root);
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
/* Fallbacks: ensure modal text is readable if a theme doesn't define it */
--color-text-modal: var(--color-text-primary, #ffffff);
}
a {
font-weight: 500;
color: var(--link-color);
text-decoration: inherit;
}
a:hover {
color: var(--link-hover);
}
body {
margin: 0;
display: flex;
place-items: center;
min-width: 320px;
min-height: 100vh;
}
h1 {
font-size: 3.2em;
line-height: 1.1;
}
button {
border-radius: 8px;
border: 1px solid transparent;
padding: 0.6em 1.2em;
font-size: 1em;
font-weight: 500;
font-family: inherit;
background-color: var(--color-primary-darker);
cursor: pointer;
transition: border-color 0.25s;
}
button:hover {
border-color: var(--focus-border);
}
button:focus,
button:focus-visible {
outline: 4px auto var(--focus-ring);
}
ul li > p:only-child {
margin: 0;
display: inline;
}
ul li + li {
margin-top: 0;
}
ul + ul {
margin-top: 1em;
}
ul + p + ul {
margin-top: 1em;
}
li.list-break {
margin-top: 1em;
}
@media (prefers-color-scheme: light) {
:root {
color: var(--color-text-primary);
background-color: var(--bg-root);
}
a:hover {
color: var(--link-hover-light);
}
button {
background-color: var(--btn-standard-hover);
}
}