-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
90 lines (82 loc) · 1.65 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
85
86
87
88
89
90
:root {
font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
font-size: 16px;
line-height: 24px;
font-weight: 400;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
}
a {
font-weight: 500;
color: #646cff;
text-decoration: inherit;
}
a:hover {
color: #535bf2;
}
body {
margin: 0;
display: flex;
place-items: center;
min-width: 320px;
min-height: 100vh;
}
h1 {
display: flex;
justify-content: center;
align-items: center;
font-size: 3.2em;
line-height: 1.1;
height: 2em;
background: white;
border: 20px solid white;
border-radius: 0.7em;
color: #242424;
font-weight: 800;
user-select: none;
-webkit-user-select: none; /* Safari */
-ms-user-select: none; /* IE 10 and 11 */
}
button {
border-radius: 8px;
border: 2px solid transparent;
padding: 0.6em 1.2em;
font-size: 1em;
font-weight: 500;
font-family: inherit;
background-color: #1a1a1a;
cursor: pointer;
transition: border-color 0.25s;
}
/* custom hover color mapping */
button.filemenuitem-image:hover {
border-color: var(--file-image)
}
button.filemenuitem-audio:hover {
border-color: var(--file-audio)
}
button.filemenuitem-document:hover {
border-color: var(--file-document)
}
@media (prefers-color-scheme: light) {
:root {
color: #213547;
background-color: #ffffff;
}
h1 {
color: #ffffff;
background-color: #213547;
}
button {
background-color: #f9f9f9;
}
button > p {
color: #242424
}
}