forked from wheatbread2056/bread-music-player
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
205 lines (205 loc) · 4.48 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
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@300;400;600;800&display=swap');
:root {
--bg-color: #303030;
--dark-color: #242424;
--dark2-color: #181818;
--primary-color: #792dce;
--secondary-color: #5e23a1;
--accent-color: #974fe9;
}
body {
background-color: var(--bg-color); /* fallback */
color: white;
font-size: 24px;
font-family: 'Red Hat Display';
font-weight: 600;
margin: 0;
}
h1 {
font-size: 60px;
}
h2 {
font-size: 32px;
color: var(--accent-color);
}
h3 {
font-size: 24px;
}
br {
clear: both;
display: block;
content: "";
}
.navleft {
float: left;
}
.navright {
float: right;
}
.navitem a {
display: inline;
color: white;
text-decoration: none;
padding: 24px;
text-align: center;
}
.navigator {
position: sticky;
top: 0;
list-style-type: none;
overflow: hidden;
background-color: var(--primary-color);
padding: 16px;
margin: 0px;
}
.navitem a:hover {
background-color: var(--secondary-color);
}
.center {
text-align: center;
}
.titles {
display: flex;
justify-content: space-around;
align-items: center;
}
.🎃 {
display: flex;
justify-content: space-evenly;
align-items: flex-start;
flex-wrap: wrap;
}
.container {
background-color: var(--dark-color);
border-radius: 32px;
text-align: left;
flex-grow: 0.4;
}
.song {
display: flex;
justify-content: space-between;
align-items: center;
background-color: var(--dark2-color);
text-align: left;
border-radius: 32px;
padding: 32px;
margin: 32px;
flex-grow: 1;
}
.song2 {
display: flex;
justify-content: space-between;
align-items: center;
background-color: var(--dark-color);
text-align: left;
border-radius: 32px;
padding: 32px;
margin: 32px;
flex-grow: 1;
}
.cover {
display: inline;
border-radius: 100%;
max-width: 128px;
max-height: 128px;
}
.search {
background-color: var(--dark-color);
border: 0px;
text-align: center;
min-width: 50%;
max-width: 80%;
overflow: auto;
height: 64px;
border-radius: 32px;
font-size: 24px;
font-family: 'Red Hat Display';
color: white;
font-weight: 600;
}
.colormenu {
border-radius: 32px;
background-color: var(--dark2-color);
opacity: 40%;
padding: 16px; /* Adjust the padding to make it smaller */
position: absolute;
left: 50%;
top: 55%; /* Adjust the top value to bring it down */
transform: translate(-50%, -50%);
width: 50%; /* Adjust the width as needed */
max-width: 500px; /* Adjust the max-width to make it smaller */
z-index: 50;
margin: auto; /* Add this line for centering */
}
.cmbutton {
border-radius: 16px;
background-color: var(--dark2-color);
opacity: 1;
padding: 16px;
margin: 16px;
width: 95%;
height: 32px;
text-align: center;
z-index: 51;
}
::placeholder {
color: var(--accent-color);
font-style: italic;
}
.searchresult {
display: flex;
justify-content: space-between;
align-items: center;
background-color: var(--dark-color);
text-align: left;
border-radius: 32px;
padding: 32px;
margin: 32px;
flex-grow: 1;
}
.timebar {
-webkit-appearance: none;
appearance: none;
width: 60%;
height: 24px;
outline: none;
background: var(--dark2-color);
border-radius: 24px;
}
.player {
position: fixed;
display: flex;
justify-content: space-between;
align-items: center;
width: 95%;
left: 0.4%;
background-color: var(--dark-color);
bottom: 0;
padding-left: 32px;
padding-right: 32px;
border-top-left-radius: 32px;
border-top-right-radius: 32px;
border-top: 8px solid var(--dark2-color);
border-left: 8px solid var(--dark2-color);
border-right: 8px solid var(--dark2-color);
}
.timebar::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 24px;
height: 24px;
background: var(--accent-color);
cursor: pointer;
border-radius: 32px;
border: none;
}
.timebar::-moz-range-thumb {
-webkit-appearance: none;
appearance: none;
width: 24px;
height: 24px;
background: var(--accent-color);
cursor: pointer;
border-radius: 32px;
border: none;
}