-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
203 lines (173 loc) · 3.47 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
.lightMode{
--textLight: #000000;
--backgroundLight: #ffffff;
--primaryLight: #50545c;
--secondaryLight: #ebf1ff;
--accentLight: #d41d6d;
}
.darkMode{
--textDark: #ffffff;
--backgroundDark: #000000;
--primaryDark: #8fb3ff;
--secondaryDark: #001952;
--accentDark: #f199bf;
}
/* Global styles */
body {
font-family: 'Roboto Mono', monospace;
margin: 0;
padding: 0;
background-color: var(--backgroundLight) !important;
color: var(--textLight);
transition: background-color 0.3s, color 0.3s; /* Add transition for smooth effect */
}
.container {
max-width: 960px;
margin: 0 auto;
padding: 20px;
}
.title {
text-align: center;
transition: all 0.15s;
}
.title:hover{
color: orangered;
font-size: 35px;
cursor: pointer;
}
/* Music Player styles */
.music-player {
text-align: center;
background-color: #fff;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
border-radius: 5px;
}
.controls {
margin: 20px 0;
}
#progressSlider {
width: 200px;
-webkit-appearance: none;
background-color: #ddd;
border-radius: 5px;
height: 5px;
}
#progressSlider::-webkit-slider-thumb {
-webkit-appearance: none;
width: 10px;
height: 10px;
border-radius: 50%;
background-color: #4285f4;
}
.progress-time {
font-size: 12px;
font-weight: bol;
margin: 5px 0;
color: #555;
}
.download-div {
float: left;
margin-right: 10px;
}
.download-btn {
background-color: #4caf50;
color: #fff;
border: none;
border-radius: 3px;
padding: 5px 10px;
font-size: 14px;
cursor: pointer;
}
.download-btn:hover {
background-color: #45a049;
cursor: pointer;
}
/* Music List styles */
.music-list {
text-align: left;
}
.music-list ul {
list-style: none;
padding: 0;
margin: 0;
}
.music-list li {
margin-bottom: 10px;
display: flex;
align-items: center;
}
.song-name {
display: inline-block;
padding: 5px;
border: 1px solid #ccc;
cursor: pointer;
transition: background-color 0.3s, color 0.3s; /* Add transition for smooth effect */
border-radius: 3px;
}
/* Darken the song name button when clicked */
.song-name.darken {
background-color: #2c3e50;
color: #fff;
}
/* Hover effect for the song name button */
.song-name:hover {
background-color: #f1f1f1;
cursor: pointer;
}
/* Style for the play and pause button */
#playPauseBtn {
background-color: #65b3d4;
color: #fff;
border: none;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
margin-right: 10px;
transition: background-color 0.3s, color 0.3s; /* Add transition for smooth effect */
border-radius: 3px;
}
#playPauseBtn:hover {
background-color: #5ba9d8;
opacity: 0.8;
cursor: pointer;
}
.edit-btn {
background-color: #4285f4;
color: #fff;
border: none;
padding: 5px;
font-size: 14px;
cursor: pointer;
float: right;
}
#speedSelect{
padding: 5px;
border: 1px solid #ccc;
border-radius: 3px;
margin-right: 10px;
}
#speedSelect:focus{
outline: none;
}
.watermark {
bottom: 10px;
width: 100%;
text-align: center;
font-size: 12px;
color: #ccc;
}
a {
color: blue;
padding: 10px;
text-decoration: none;
}
.github-link {
background-color: white;
color: black;
border: 2px solid #58ca5b;
}
.github-link-1:hover {
background-color: hsl(122, 39%, 41%);
color: white;
}