-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
476 lines (410 loc) · 9.83 KB
/
style.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
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
/* Google font */
@import url('https://fonts.googleapis.com/css?family=Righteous');
@import url('https://fonts.googleapis.com/css?family=Courgette');
@import url('https://a.wattpad.com/cover/124708175-352-k927639.jpg');
/*defining how the front facing background will be*/
body {
background-color: #720000;
background-image: url("https://a.wattpad.com/cover/124708175-352-k927639.jpg");
background-repeat: no-repeat;
background-size: cover;
transition: background-color 1s;
overflow-x: hidden !important;
margin: 0 !important;
padding: 0 !important;
min-width: 100%;
clear: both;
}
/*here controls the clock positioning, look and feel*/
#clock {
font-family: 'Righteous', sans-serif;
color: #11DD42;
font-size: 40px;
text-align: center;
margin-top: 80px;
margin-bottom: 40px;
text-shadow: 7px 7px 6px black;
padding: 7px 3px 7px 3px;
}
/* content block*/
#container {
font-family: 'Courgette', sans-serif;
color: #ffffff;
font-size: 14px;
text-align: justify;
background-color: rgba(255, 0, 0, 0.1);
box-shadow: 5px 5px 18px red;
padding: 15px;
}
#container2 {
font-family: 'Courgette', sans-serif;
color: #ffffff;
font-size: 14px;
text-align: center;
background-color: rgba(255, 0, 0, 0.1);
box-shadow: 5px 5px 18px red;
padding: 15px;
margin-bottom: 15px;
}
/* the look and feel of the jumbo button*/
.button {
color: #ffffff;
font-size: 20px;
background: rgb(213, 105, 29);
background: -moz-linear-gradient(90deg, rgba(213, 105, 29, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(193, 197, 86, 1) 100%);
background: -webkit-linear-gradient(90deg, rgba(213, 105, 29, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(193, 197, 86, 1) 100%);
background: linear-gradient(90deg, rgba(213, 105, 29, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(193, 197, 86, 1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#d5691d", endColorstr="#c1c556", GradientType=1);
border: 0px;
border-radius: 25px;
padding: 20px;
box-shadow: 0 4px 12px 0 black;
transition: all 0.4s ease;
}
.button:hover {
-webkit-animation: gradient 3s ease infinite;
-moz-animation: gradient 3s ease infinite;
animation: gradient 3s ease infinite;
box-shadow: inset 0 0 0 2em red;
cursor: pointer;
}
/* aligning items in a vertical direction using flex with the column direction for the music player*/
@media screen and (max-width: 567px) {
.player {
height: 60px;
}
}
.player {
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: rgba(255, 0, 0, 0.2);
border: 2px solid red;
border-radius: 10px;
box-shadow: 0 20px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
#lyrics {
font-size: 14px;
padding: 10px;
color: white;
font-family: times-new-roman;
text-align: justify;
background-color: rgba(255, 0, 0, 0.2);
border: 2px solid red;
border-radius: 10px;
box-shadow: 0 20px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
h3 {
color: red;
font-size: 20px;
text-decoration: underline;
text-transform: uppercase;
text-shadow: 2px 2px 4px white;
text-align: center;
}
.details {
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
margin-top: 15px;
}
@media screen and (max-width: 768px) {
.track-art {
height: 150px;
width: 150px;
}
}
.track-art {
margin: 15px 15px 0 15px;
height: 250px;
width: 250px;
background-image: URL("https://media.hitparade.ch/cover/big/juice_wrld-righteous_s.jpg");
background-size: cover;
background-position: center;
border-radius: 15%;
}
/* Changing the control look and feel to suitable choices */
.now-playing {
font-size: 0.8rem;
color: white;
}
.track-name {
font-size: 1.8rem;
font-family: 'Righteous', san-serif;
color: white;
padding: 10px;
}
.track-artist {
font-size: 1rem;
font-family: 'Courgette', san-serif;
color: #11DD42;
padding: 10px;
text-shadow: 3px 3px 5px black;
}
/* Using flex with the row direction to
align player button items in a horizontal direction */
.buttons {
display: flex;
flex-direction: row;
align-items: center;
}
.playpause-track,
.prev-track,
.next-track {
padding: 20px;
opacity: 0.8;
/* Smoothly transition the opacity */
transition: opacity .2s;
}
/* Change the opacity when mouse is hovered */
.playpause-track:hover,
.prev-track:hover,
.next-track:hover {
opacity: 1.0;
}
/* Define the slider width so that it scales properly */
.slider_container {
width: 75%;
max-width: 400px;
display: flex;
justify-content: center;
align-items: center;
}
/* Modify the appearance of the slider */
.seek_slider,
.volume_slider {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
height: 5px;
background: #ff9900;
opacity: 0.7;
-webkit-transition: .2s;
transition: opacity .2s;
}
/* Modify the appearance of the slider thumb */
.seek_slider::-webkit-slider-thumb,
.volume_slider::-webkit-slider-thumb {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
width: 10px;
height: 10px;
background: white;
cursor: pointer;
border-radius: 50%;
}
/* Change the opacity when mouse is hovered */
.seek_slider:hover,
.volume_slider:hover {
opacity: 1.0;
}
.seek_slider {
width: 80%;
}
.volume_slider {
width: 50%;
}
.current-time,
.total-duration {
padding: 10px;
color: white;
font-size: 16px;
}
i.fa-volume-down,
i.fa-volume-up {
padding: 10px;
color: white;
}
/* Change the mouse cursor to a pointer
when hovered over */
i.fa-play-circle,
i.fa-pause-circle,
i.fa-step-forward,
i.fa-step-backward {
cursor: pointer;
color: white;
}
i.fa-exclamation-triangle {
cursor: none;
color: red;
text-align: center;
width: 100%;
padding-top: 5px;
}
i.fab-creative-commons {
cursor: none;
color: red;
text-align: center;
width: 100%;
}
/* NavBar Section*/
.topnav {
position: sticky;
top: 0px;
align-items: center;
background-color: red;
z-index: 9999;
margin: 0px;
width: 100%;
overflow-x: hidden;
box-shadow: 0 10px 4px 0 rgba(0, 0, 0, 0.4);
}
.topnav a {
justify-content: center;
padding: 10px;
vertical-align: middle;
color: white;
text-align: center;
text-decoration: none;
font-size: 17px;
float: right;
font-family: 'Righteous', sans-serif;
}
.topnav a.brand {
font-family: 'Righteous', sans-serif;
float: left;
color: red;
text-align: center;
background-color: black;
border-radius: 50%;
font-size: 20px;
box-shadow: 5px green;
}
.topnav a:hover {
background-color: #11DD42;
color: white;
}
.topnav a.active {
background-color: yellow;
color: white;
}
#spaces {
padding-top: 20px;
}
footer {
clear: both;
margin-bottom: 0;
background: rgb(36, 14, 50);
background: -moz-linear-gradient(90deg, rgba(36, 14, 50, 1) 0%, rgba(253, 29, 29, 0.16506410256410253) 50%, rgba(71, 50, 21, 1) 100%);
background: -webkit-linear-gradient(90deg, rgba(36, 14, 50, 1) 0%, rgba(253, 29, 29, 0.16506410256410253) 50%, rgba(71, 50, 21, 1) 100%);
background: linear-gradient(90deg, rgba(36, 14, 50, 1) 0%, rgba(253, 29, 29, 0.16506410256410253) 50%, rgba(71, 50, 21, 1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#240e32", endColorstr="#473215", GradientType=1);
padding: 0 20px 0 20px;
font-size: 12px;
color: teal;
text-align: center;
}
.shun {
font-size: 14px;
background: -webkit-linear-gradient(white, red, yellow);
-webkit-background-clip: text;
-moz-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
text-align: center;
}
.shun .mob {
display: inline-block;
width: 48%;
text-align: left;
}
.shun .cop {
display: inline-block;
width: 48%;
text-align: right;
}
/* for the hr element*/
.line {
border: 2px solid red;
}
/* The sweetalert sections */
.alertj {
background: rgb(213, 105, 29);
background: -moz-linear-gradient(90deg, rgba(213, 105, 29, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(193, 197, 86, 1) 100%);
background: -webkit-linear-gradient(90deg, rgba(213, 105, 29, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(193, 197, 86, 1) 100%);
background: linear-gradient(90deg, rgba(213, 105, 29, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(193, 197, 86, 1) 100%);
border: 1px solid 11dd42;
}
.swal-button {
background: rgb(213, 105, 29);
background: -moz-linear-gradient(90deg, rgba(213, 105, 29, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(193, 197, 86, 1) 100%);
background: -webkit-linear-gradient(90deg, rgba(213, 105, 29, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(193, 197, 86, 1) 100%);
background: linear-gradient(90deg, rgba(213, 105, 29, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(193, 197, 86, 1) 100%);
color: white;
border: 1px solid 11dd42;
}
.alert2 {
background-color: white;
border: 1px solid red;
}
.swal-text {
background-color: red;
padding: 17px;
border: 1px solid #F0E1A1;
border-radius: 5px;
display: block;
margin: 22px;
text-align: center;
color: white;
}
.swal-overlay {
background-color: rgba(255, 0, 0, 0.60);
}
@-webkit-keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
/* animate the call to action button with keyframes */
@-moz-keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
@-webkit-keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 70%;
}
100% {
background-position: 0% 80%;
}
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 90% 50%;
}
100% {
background-position: 0% 40%;
}
}
/* This works with the last commented out JS code. I used a simpler approach with css position
.sticky {
position: fixed;
top: 0;
width: 100%;
}
.sticky + body {
padding-top: 60px;
}*/