Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
OutRed
GitHub Repository: OutRed/artclass
Path: blob/main/static/styles/style.css
595 views
1
2
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&family=Silkscreen&family=Press+Start+2P&family=Source+Code+Pro&display=swap');
3
4
* {
5
margin: 0;
6
padding: 0;
7
8
}
9
10
hr {
11
margin: 15px auto;
12
}
13
14
body {
15
font-family: "DM Sans";
16
color: white;
17
background-color: #111;
18
text-align: center;
19
}
20
21
h1 { font-family: "Silkscreen"; }
22
23
a {
24
font-family: "DM Sans";
25
text-decoration: none;
26
color: inherit;
27
transition: all 0.3s;
28
}
29
a:hover {
30
color: #333
31
}
32
33
.link {
34
color: #fff;
35
text-decoration: none;
36
font-size: 18px;
37
transition: all 0.3s;
38
}
39
40
.link:hover {
41
color: #333;
42
}
43
44
.link2 {
45
color: #fff;
46
text-decoration: none;
47
font-size: 20px;
48
padding: 10px;
49
font-family: "DM Sans";
50
transition: all 0.6s;
51
border-radius: 5px;
52
}
53
54
.link2:hover {
55
color: #333;
56
background-color: #fff;
57
}
58
59
footer {
60
position: fixed;
61
text-align: center;
62
width: 100%;
63
bottom: 5px;
64
font-family: Verdana;
65
font-size: 14px;
66
}
67
68
button {
69
background-color: transparent;
70
border: 3px solid white;
71
color: white;
72
font-family: "DM Sans";
73
padding: 7px 15px;
74
font-size: 15px;
75
border-radius: 10px;
76
cursor: pointer;
77
height: 50px;
78
79
}
80
81
82
.fontAwesome {
83
font-family: 'Helvetica', FontAwesome, sans-serif;
84
}
85
86
.input {
87
font-size: 30px;
88
padding: 20px;
89
background-color: transparent;
90
border: 1px solid white;
91
color: gray;
92
border-radius: 5px;
93
font-family: 'DM Sans', FontAwesome, sans-serif;
94
margin-top: 10px;
95
transition: all 0.4s;
96
width: 400px;
97
position: relative;
98
}
99
100
.input:focus {
101
width: 600px;
102
}
103
104
h3 {
105
font-family: Verdana;
106
}
107
108
/* w3schools */
109
.switch {
110
position: relative;
111
display: inline-block;
112
width: 60px;
113
height: 34px;
114
}
115
116
.switch input {
117
opacity: 0;
118
width: 0;
119
height: 0;
120
}
121
122
.slider {
123
position: absolute;
124
cursor: pointer;
125
top: 0;
126
left: 0;
127
right: 0;
128
bottom: 0;
129
background-color: #ccc;
130
-webkit-transition: .4s;
131
transition: .4s;
132
}
133
134
.slider:before {
135
position: absolute;
136
content: "";
137
height: 26px;
138
width: 26px;
139
left: 4px;
140
bottom: 4px;
141
background-color: white;
142
-webkit-transition: .4s;
143
transition: .4s;
144
}
145
146
input:checked+.slider {
147
background-color: #2196F3;
148
}
149
150
input:focus+.slider {
151
box-shadow: 0 0 1px #2196F3;
152
}
153
154
input:checked+.slider:before {
155
-webkit-transform: translateX(26px);
156
-ms-transform: translateX(26px);
157
transform: translateX(26px);
158
}
159
160
/* Rounded sliders */
161
.slider.round {
162
border-radius: 34px;
163
}
164
165
.slider.round:before {
166
border-radius: 50%;
167
}
168
169
#homepage-cards {
170
padding: 15px;
171
display: flex;
172
flex-wrap: wrap;
173
justify-content: center;
174
}
175
176
.card i {
177
font-size: 100px;
178
margin-top: 5px;
179
}
180
181
.card img {
182
aspect-ratio: 1 / 1;
183
height: 100px;
184
margin-top: 5px;
185
border-radius: 5px;
186
}
187
188
.card {
189
border-radius: 3vh;
190
font-family: "DM Sans";
191
cursor: pointer;
192
transition: all 0.3s;
193
padding: 1rem;
194
margin: 3px;
195
text-align: center;
196
width: 10%;
197
}
198
199
.card:hover {
200
box-shadow: 2px 2px 13px #575b5c;
201
/*transform: scale(1.05);*/
202
}
203
204
.card>* {
205
flex: 1 1 160px;
206
}
207
208
.description {
209
font-size: 10px;
210
}
211
212
213
214
#particles-js canvas {
215
display: block;
216
-webkit-transform: scale(1);
217
-ms-transform: scale(1);
218
transform: scale(1);
219
opacity: 1;
220
-webkit-transition: opacity .8s ease, -webkit-transform 1.4s ease;
221
transition: opacity .8s ease, transform 1.4s ease
222
}
223
224
#particles-js {
225
width: 100%;
226
height: 100%;
227
position: fixed;
228
z-index: -10;
229
top: 0;
230
left: 0
231
}
232
233
canvas {
234
display: block;
235
position: fixed;
236
z-index: -1;
237
}
238
239
.bk-label {
240
font-size: 25px;
241
margin-right: 10px;
242
font-weight: bold;
243
}
244
245
.homebutton {
246
width: 200px;
247
248
margin: 20px 20px;
249
background-color: white;
250
color: black;
251
font-weight: bold;
252
opacity: 0.7;
253
transition: 0.4s all;
254
}
255
256
#container {
257
height: calc(100vh - (75px + 25px));
258
display: flex;
259
align-items: center;
260
justify-content: center;
261
margin: 15px;
262
}
263
264
#search {
265
font-family: "DM Sans";
266
background-color: transparent;
267
border: 3px solid white;
268
border-radius: 5px;
269
color: white;
270
padding: 15px 30px;
271
font-size: 20px;
272
height: 25px;
273
margin: 5px;
274
}
275
276
277
#prxy {
278
height: 100%;
279
width: 100%;
280
margin: 10px;
281
border: none;
282
border-radius: 15px;
283
}
284
285
#gameInfo {
286
width: 25%;
287
height: 100%;
288
}
289
290
#frame {
291
width: 75%;
292
height: 100%;
293
border-radius: 10px;
294
}
295
#gameInfo .yes {
296
display: flex;
297
align-items: center;
298
justify-content: center;
299
margin: 25% 25px;
300
}
301
302
#gameInfo div img {
303
aspect-ratio: 1 / 1;
304
height: 75px;
305
border-radius: 5px;
306
}
307
308
#gameInfo div h3 { margin-left: 15px; }
309
310
#gameInfo { position: relative; }
311
312
#gameInfo #menubtns {
313
position: absolute;
314
bottom: 15px;
315
width: 100%;
316
}
317
#menubtns button {
318
border: 3px solid white;
319
font-family: "DM Sans";
320
padding: 7px 15px;
321
font-size: 15px;
322
border-radius: 10px;
323
cursor: pointer;
324
height: 50px;
325
width: 50px;
326
background-color: white;
327
color: black;
328
font-weight: bold;
329
opacity: 0.7;
330
transition: 0.4s all;
331
margin: 5px 5px;
332
}
333
334
#menubtns button:hover {
335
opacity: 1;
336
scale: 1.1;
337
}
338
339
#gameInfo #gameDescription {
340
margin: 15px;
341
}
342
343
/* Scrollbar */
344
/* width */
345
::-webkit-scrollbar {
346
width: 10px;
347
}
348
349
/* Track */
350
::-webkit-scrollbar-track {
351
background: transparent;
352
}
353
354
/* Handle */
355
::-webkit-scrollbar-thumb {
356
background: #888;
357
border-radius: 2px;
358
359
}
360
361
/* Handle on hover */
362
::-webkit-scrollbar-thumb:hover {
363
background: #555;
364
}
365
366
.btngroup {
367
height: calc(100vh - (75px + 15px));
368
display: flex;
369
align-items: center;
370
justify-content: center;
371
flex-flow: row wrap;
372
}
373
374
.btngroup div {
375
box-sizing: border-box;
376
flex: 1 0 250px;
377
margin: 1rem;
378
padding: 1rem;
379
border-radius: 5px;
380
}
381