124 lines
2.0 KiB
CSS
124 lines
2.0 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
font-family: 'Poppins', sans-serif;
|
|
}
|
|
|
|
body {
|
|
background: linear-gradient(to bottom, #316997, #18344b);
|
|
color: white;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
header {
|
|
width: 100%;
|
|
padding: 15px 30px;
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
.logo {
|
|
width: 100px;
|
|
height: auto;
|
|
}
|
|
|
|
.container {
|
|
margin-top: 120px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.vinyl-wrapper {
|
|
width: 250px;
|
|
height: 250px;
|
|
margin-bottom: 30px;
|
|
position: relative;
|
|
}
|
|
|
|
.vinyl {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
background: black;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
animation: spin 5s linear infinite paused;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.vinyl img {
|
|
width: 100px;
|
|
height: 100px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
z-index: 2;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* Bouton play/pause en blanc */
|
|
#play-pause {
|
|
color: white;
|
|
font-size: 30px;
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#play-pause:hover {
|
|
transform: scale(1.1);
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
/* Barre de progression audio blanche */
|
|
#progress {
|
|
-webkit-appearance: none;
|
|
width: 100%;
|
|
height: 6px;
|
|
background: white;
|
|
border-radius: 3px;
|
|
outline: none;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
/* Curseur (thumb) blanc */
|
|
#progress::-webkit-slider-thumb {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
width: 15px;
|
|
height: 15px;
|
|
border-radius: 50%;
|
|
background: white;
|
|
cursor: pointer;
|
|
border: none;
|
|
}
|
|
|
|
#progress::-moz-range-thumb {
|
|
width: 15px;
|
|
height: 15px;
|
|
border-radius: 50%;
|
|
background: white;
|
|
cursor: pointer;
|
|
border: none;
|
|
}
|
|
|
|
/* Texte du timer blanc (déjà par défaut mais pour être sûr) */
|
|
#time {
|
|
color: white;
|
|
}
|