get the audio player working on firefox

This commit is contained in:
Ncam Gnrvngu 2025-05-28 19:16:17 +02:00
parent f895565fa9
commit 8c641ce662
Signed by: NcamGnrvngu
GPG key ID: BBF21CBE5628BA99
6 changed files with 48 additions and 21 deletions

View file

@ -4,13 +4,31 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
@use '_icons';
main {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
#player {
margin: auto;
padding-bottom: 50px;
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
}
#cover {
padding-top: 35px;
width: 100%;
max-width: 300px;
margin: auto;
}
#title {
text-align: center;
}
@ -21,20 +39,22 @@
}
#playbutton {
width: 8%;
width: 15%;
max-width: 65px;
aspect-ratio: 1/1;
margin-right: 15px;
margin-right: min(15px, 2%);
background: #313244;
border: none;
color: #cba6f7;
border-radius: 100%;
line-height: 100%;
text-align: center;
font-size: min(8cqw, 40px);
}
.seek {
-webkit-appearance: none;
margin-left: 15px;
margin-left: min(15px, 2%);
width: 100%;
height: 8px;
}