-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
238 lines (208 loc) · 6.43 KB
/
main.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
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';
@font-face {
font-family: 'calligraph';
font-weight: normal;
font-display: block;
font-style: normal;
src: url('/fonts/calligraph.woff2') format('woff2'),
url('/fonts/calligraph.woff') format('woff');
}
@font-face {
font-family: 'IBM Plex Mono';
font-weight: 400;
font-display: swap;
font-style: normal;
src: url('/fonts/IBMPlexMono-Regular.woff2') format('woff2'),
url('/fonts/IBMPlexMono-Regular.woff') format('woff');
}
@font-face {
font-family: 'IBM Plex Mono';
font-weight: 400;
font-display: swap;
font-style: italic;
src: url('/fonts/IBMPlexMono-Italic.woff2') format('woff2'),
url('/fonts/IBMPlexMono-Italic.woff') format('woff');
}
@font-face {
font-family: 'IBM Plex Mono';
font-weight: 700;
font-display: swap;
font-style: normal;
src: url('/fonts/IBMPlexMono-Medium.woff2') format('woff2'),
url('/fonts/IBMPlexMono-Medium.woff') format('woff');
}
@font-face {
font-family: 'IBM Plex Mono';
font-weight: 700;
font-display: swap;
font-style: italic;
src: url('/fonts/IBMPlexMono-MediumItalic.woff2') format('woff2'),
url('/fonts/IBMPlexMono-MediumItalic.woff') format('woff');
}
@layer components {
.prose.prose-invert {
--tw-prose-body: theme(colors.content-invert / 0.8);
--tw-prose-headings: theme(colors.content-invert);
--tw-prose-lead: theme(colors.content-invert);
--tw-prose-links: theme(colors.content-invert);
--tw-prose-bold: theme(colors.content-invert);
--tw-prose-counters: theme(colors.content-invert);
--tw-prose-bullets: theme(colors.content-invert / 0.5);
--tw-prose-hr: theme(colors.content-invert / 0.2);
--tw-prose-quotes: theme(colors.content-invert);
--tw-prose-quote-borders: theme(colors.content-invert / 0.2);
--tw-prose-captions: theme(colors.content-invert / 0.5);
--tw-prose-code: theme(colors.content-invert);
--tw-prose-th-borders: theme(colors.content-invert / 0.5);
--tw-prose-td-borders: theme(colors.content-invert / 0.2);
}
.btn-invert {
@apply border-content-invert bg-content-invert text-content;
}
.btn-invert:hover,
.btn-invert.btn-active {
@apply border-content-invert-focus bg-content-invert-focus;
}
.btn-outline.btn-invert {
@apply bg-transparent;
color: theme(colors.content-invert / var(--tw-text-opacity));
}
.btn-outline.btn-invert:hover,
.btn-outline.btn-invert.btn-active {
@apply bg-content-invert text-content;
}
.menu :where(li:not(.menu-title):not(:empty)) > :where(:not(ul).active),
.menu :where(li:not(.menu-title):not(:empty)) > :where(*:not(ul):active) {
@apply shadow-md;
}
.menu li.item-invert > * {
@apply bg-content-invert text-content shadow-md;
}
.menu li.item-invert:hover > * {
@apply bg-content-invert-focus;
}
.rvn-text {
@apply font-script text-center;
color: rgb(17, 24, 28);
text-shadow: 0 1px rgb(236, 238, 240), 0 0 4px rgba(255, 255, 255),
0 0 4px rgba(255, 255, 255), 0 0 4px rgba(255, 255, 255);
}
.rvn-text[data-scheme='dark'] {
color: rgb(251, 249, 223);
text-shadow: 0 -1px rgba(0, 0, 0, 0.35), 0 2px rgb(17, 24, 28),
0 0 4px rgba(0, 0, 0), 0 0 4px rgba(0, 0, 0), 0 0 4px rgba(0, 0, 0);
}
.rvn-text[data-size='md'] {
@apply text-base;
}
.rvn-text[data-size='lg'] {
@apply text-xl;
}
.rvn-text[data-size='xl'] {
@apply text-3xl;
}
.rvn-tag {
@apply font-script rounded-md px-1 text-center text-base;
color: rgb(251, 249, 223);
background-color: rgba(165, 123, 85, 0.75);
}
.rvn-menu-label {
@apply font-script text-center text-lg;
color: rgb(17, 24, 28);
text-shadow: 0 1px rgb(236, 238, 240), 0 0 4px rgba(255, 255, 255),
0 0 4px rgba(255, 255, 255), 0 0 4px rgba(255, 255, 255);
}
.rvn-menu-item-surface {
@apply btn-ghost btn border;
border-color: rgb(17, 24, 28);
background-color: rgba(255, 255, 255, 0.5);
box-shadow: 0 2px rgba(0, 0, 0, 0.35);
}
.rvn-menu-item-surface[data-scheme='dark'] {
border-color: white;
background-color: rgba(0, 0, 0, 0.5);
box-shadow: 0 2px rgba(0, 0, 0, 0.35);
}
.rvn-menu-item-button {
@apply font-script btn-ghost btn h-auto min-h-0 animate-bounce-gentle py-2 shadow-md;
color: rgb(17, 24, 28);
background-color: rgba(255, 255, 255, 0.5);
text-shadow: 0 1px rgb(236, 238, 240), 0 0 4px rgba(255, 255, 255),
0 0 4px rgba(255, 255, 255), 0 0 4px rgba(255, 255, 255);
box-shadow: 0 2px rgba(0, 0, 0, 0.35);
}
.rvn-menu-item-button[data-scheme='dark'] {
color: rgb(251, 249, 223);
background-color: rgba(0, 0, 0, 0.35);
text-shadow: 0 -1px rgba(0, 0, 0, 0.35), 0 2px rgb(17, 24, 28),
0 0 4px rgba(0, 0, 0), 0 0 4px rgba(0, 0, 0), 0 0 4px rgba(0, 0, 0);
box-shadow: 0 2px rgba(0, 0, 0, 0.35);
}
.rvn-menu-item-button[data-size='md'] {
@apply btn-lg text-base h-auto min-h-0;
}
.rvn-menu-item-button[data-size='lg'] {
@apply btn-xl text-2xl h-auto min-h-0;
}
.rvn-title {
@apply font-script font-semibold text-center text-5xl;
color: rgb(239, 68, 68);
text-shadow: 0 -1px rgba(0, 0, 0, 0.35), 0 2px rgb(17, 24, 28),
0 0 4px rgba(0, 0, 0), 0 0 4px rgba(0, 0, 0), 0 0 4px rgba(0, 0, 0);
}
.rvn-icon-button {
@apply btn-ghost btn-circle btn bg-base-100 text-xl shadow-md hover:bg-base-200;
}
.GameButton {
@apply btn font-script;
color: rgb(17, 24, 28);
background-color: rgba(255, 255, 255, 0.5);
text-shadow: 0 1px rgb(236, 238, 240), 0 0 4px rgba(255, 255, 255),
0 0 4px rgba(255, 255, 255), 0 0 4px rgba(255, 255, 255);
box-shadow: 0 2px rgba(0, 0, 0, 0.35);
}
.GameButton--opaque {
background-color: rgba(255, 255, 255);
}
.GameButton--opaque:hover {
text-shadow: none;
}
.GameButton--opaque.GameButton[data-scheme='dark'] {
background-color: rgb(157, 157, 137);
}
.ScreenshotCarousel.is-draggable {
cursor: move;
cursor: grab;
}
.ScreenshotCarousel.is-dragging {
cursor: grabbing;
}
.ScreenshotCarousel.is-wheel-dragging {
cursor: move;
cursor: grab;
}
}
@layer utilities {
.h-screen-safe {
height: 100vh;
}
.min-h-screen-safe {
min-height: 100vh;
}
.max-h-screen-safe {
max-height: 100vh;
}
@supports (height: 100dvh) {
.h-screen-safe {
height: 100dvh;
}
.min-h-screen-safe {
min-height: 100dvh;
}
.max-h-screen-safe {
max-height: 100dvh;
}
}
}