website/sass/song.scss

93 lines
1.4 KiB
SCSS

/*
* SPDX-FileCopyrightText: 2025 Ncam Gnrvngu <info@ncamgnrvngu.eu>
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
@use '_icons';
main {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
#player {
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;
}
#controls {
align-items: center;
display: flex;
}
#playbutton {
width: 15%;
max-width: 65px;
aspect-ratio: 1/1;
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: min(15px, 2%);
width: 100%;
height: 8px;
}
.seek:focus {
outline: none;
}
.seek::-webkit-slider-runnable-track {
width: 100%;
height: 8px;
cursor: pointer;
background: #CDD6F4;
}
.seek::-webkit-slider-thumb {
cursor: pointer;
opacity: 0;
}
.seek:focus::-webkit-slider-runnable-track {
background: #CDD6F4;
}
.seek::-moz-range-track {
width: 100%;
height: 8px;
cursor: pointer;
background: #CDD6F4;
}
.seek::-moz-range-progress {
width: 100%;
height: 8px;
cursor: pointer;
background: #cba6f7;
}
.seek::-moz-range-thumb {
opacity: 0;
cursor: pointer;
}