-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
124 lines (109 loc) · 2.1 KB
/
style.css
File metadata and controls
124 lines (109 loc) · 2.1 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
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
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
color-scheme: dark light;
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%;
}
body {
margin: 0;
padding: 0;
display: grid;
place-content: center;
height: 100vh;
}
section {
position: absolute;
background: black;
height: 100vh;
top: 0;
inset: 0;
display: grid;
font-size: 48px;
place-content: center;
min-width: 550px;
}
.panel {
display: flex;
justify-content: space-between;
}
.controls {
position: fixed;
right: 16px;
bottom: 16px;
background: rgba(0, 0, 0, 0.6);
border: 1px solid rgba(255, 255, 255, 0.08);
padding: 12px 14px;
border-radius: 8px;
color: rgba(255, 255, 255, 0.9);
font-size: 14px;
max-width: 180px;
}
.controls h3 {
margin: 0 0 6px 0;
font-size: 13px;
}
.controls ul {
margin: 0;
padding: 0;
list-style: none;
}
.controls li {
margin: 6px 0;
display: flex;
align-items: center;
gap: 8px;
}
.controls kbd {
display: inline-block;
padding: 2px 6px;
border-radius: 4px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.06);
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono",
"Courier New", monospace;
}
@media (max-width: 750px) {
.controls {
left: 50%;
right: auto;
bottom: 12px;
transform: translateX(-50%);
max-width: none;
padding: 8px 12px;
display: flex;
align-items: center;
gap: 10px;
}
.controls h3 {
display: none;
}
.controls ul {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 10px;
margin: 0;
padding: 0;
justify-content: center;
max-width: 90vw;
}
.controls li {
margin: 0;
display: inline-flex;
align-items: center;
gap: 6px;
white-space: nowrap;
font-size: 13px;
flex: 0 1 auto;
}
}
.controls[hidden] {
display: none !important;
}