-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles (2024-03-02 11-11-57).css
188 lines (169 loc) · 3.57 KB
/
styles (2024-03-02 11-11-57).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
html {
overflow-x: hidden;
}
body {
padding-top: 0.5em;
background: linear-gradient(#163264, #071329);
background-attachment: fixed;
background-size: cover;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: auto;
margin-bottom: -80px;
color: white;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
background-color: rgb(15, 15, 15);
max-width: 100%;
position: relative;
}
#album-art {
margin- top: 2em;
margin-bottom: 0em;
border-radius: 2em;
width: 46vh;
filter: drop-shadow(0.25vh 0.25vh 25vh #173466);
}
.main-player {
display: flex;
flex-direction: column;
align-items: center;
align-content: center;
justify-content: space-between;
height: 95vh;
}
.middle-area {
text-align: left;
margin: 5vh 7vw 0vh 7vw;
display: flex;
flex-direction: column;
align-items: center;
}
a {
text-decoration: none; /* Remove underline by default */
color: inherit; /* Inherit text color from parent */
font-style: normal;
font-weight: lighter;
}
.song-area {
padding-top: 0.5em;
background-color: rgb(15, 15, 15);
height: 100%;
width: 100%;
margin: 1em 2em 0em 2em;
align-items: center;
align-content: center;
display: flex;
flex-direction: column;
padding-bottom: 0.5em;
position: fixed;
}
.song {
display: flex;
flex-direction: row;
justify-content: space-between; /* Added to align items at the start and end */
padding: 0.25em;
padding-top: 0.15em; /* Added 'em' units */
width: 85%;
opacity: 0.75; /* Changed to opacity */
}
.separator {
align-items: center;
border-bottom: #ffffff solid 0.025em;
width: 85%;
opacity: 0.75; /* Changed to opacity */
}
audio {
display: block;
width: 100%;
margin: 0 auto;
}
.controls {
display: flex;
justify-content: center;
align-items: center;
margin: 8vh 1vw 15vh 1vw;
}
.control-button {
border: none;
border-radius: 50%;
width: 5em;
height: 5em;
margin: 0 1.5em;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
background-color: transparent; /* Remove default background color */
transition: background-image 0.3s ease-in-out; /* Smooth transition */
}
.play-button,
.skip-button {
background-color: transparent; /* Remove default background color */
background-size: contain; /* Ensure image fits into button */
background-repeat: no-repeat; /* Prevent image from repeating */
background-position: center; /* Center image */
}
.progress {
width: 47vh;
height: 0.22em;
background-color: #888;
position: relative;
border-radius: 5px;
margin-top: 20px;
overflow: hidden; /* Hide overflowing progress bar */
}
.progress-bar {
filter: opacity(50%);
height: 100%;
background-color: white;
border-radius: 5px;
}
/* Keyframes for progress bar animation */
@keyframes progress-animation {
from {
width: 0%;
}
to {
width: 100%;
}
}
#artist {
filter: opacity(70%);
margin-top: -1em;
margin-bottom: -0.25em;
font-weight: lighter;
z-index: 9999;
text-align: center;
}
#title {
z-index: 9999;
text-align: center;
}
/* Media query for wider screens */
@media only screen and (min-width: 700px) {
body {
padding-top: 0.5em;
}
.main-player {
display: flex;
flex-direction: row;
width: 100%;
align-items: center;
justify-content: center;
height: 80vh;
}
#title {
text-align: left;
}
.song-area {
margin-left: 80px;
margin-right: 80px;
max-width: 45em;
border-radius: 2em; /* Equal rounding for all corners */
}
.progress {
width: 100%;
}
}