mirror of
https://github.com/NohamR/AM-Exporter.git
synced 2026-05-25 12:17:14 +00:00
133 lines
1.9 KiB
CSS
133 lines
1.9 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
text-align:left;
|
|
}
|
|
|
|
body {
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
}
|
|
|
|
body * {
|
|
font-family: 'Roboto', sans-serif;
|
|
}
|
|
|
|
#boxes * {
|
|
border: 1px solid transparent;
|
|
}
|
|
|
|
#boxes {
|
|
display: grid;
|
|
grid-template-columns: max-content max-content;
|
|
grid-template-areas:
|
|
'A B'
|
|
'A C';
|
|
gap: 32px;
|
|
place-content: center;
|
|
height: 100vh;
|
|
}
|
|
|
|
.song-url, .artist-url {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
|
|
#player {
|
|
grid-area: B;
|
|
height: fit-content;
|
|
}
|
|
|
|
#player .controls {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
}
|
|
|
|
.player {
|
|
background-color: rgb(119, 119, 119);
|
|
padding: 28px;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.player img {
|
|
width: 120px;
|
|
height: 120px;
|
|
object-fit: cover;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.info {
|
|
color: #E1E1E6;
|
|
}
|
|
|
|
.info .name-artist {
|
|
opacity: 0.68;
|
|
font-size: 19px;
|
|
}
|
|
|
|
.info-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 30px;
|
|
}
|
|
|
|
.player h1 {
|
|
font-size: 22px;
|
|
color: #E1E1E6;
|
|
padding-bottom: 7px;
|
|
}
|
|
|
|
.controls {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding-top: 20px;
|
|
}
|
|
|
|
.track {
|
|
padding-top: 28px;
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.track::before {
|
|
content: '';
|
|
height: 6px;
|
|
width: 100%;
|
|
display: block;
|
|
background: #D9D9D9;
|
|
opacity: 0.3;
|
|
border-radius: 10px;
|
|
position: absolute;
|
|
}
|
|
|
|
.track::after {
|
|
content: '';
|
|
height: 6px;
|
|
width: var(--new-width);
|
|
display: block;
|
|
background: var(--new-color);
|
|
border-radius: 10px;
|
|
transition: width 1s linear;
|
|
}
|
|
|
|
.time {
|
|
font-size: 15px;
|
|
color: gainsboro;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding-top: 9.6px;
|
|
}
|
|
|
|
@media (max-width: 670px) {
|
|
#boxes {
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-width: 270px;
|
|
margin: auto;
|
|
height: auto;
|
|
padding-block: 60px;
|
|
}
|
|
} |