2024-02-09 09:52:59 +01:00
|
|
|
@import "fonts";
|
2024-02-08 21:39:40 +01:00
|
|
|
|
2024-02-06 18:08:40 +01:00
|
|
|
$width-mobile: 900px;
|
|
|
|
|
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2024-02-06 14:18:25 +01:00
|
|
|
body {
|
|
|
|
margin: 0;
|
2024-02-06 18:08:40 +01:00
|
|
|
padding: 0;
|
2024-02-08 21:39:40 +01:00
|
|
|
background-color: #2e3440;
|
|
|
|
color: #fff;
|
|
|
|
font-family: "Noto Sans", Tahoma, Geneva, Verdana, sans-serif;
|
2024-02-09 09:52:59 +01:00
|
|
|
text-rendering: geometricPrecision;
|
2024-02-08 21:39:40 +01:00
|
|
|
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
background-color: #fff;
|
|
|
|
color: #2e3440;
|
|
|
|
}
|
2024-02-06 18:08:40 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
main.songs {
|
2024-02-07 11:09:04 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2024-02-06 18:08:40 +01:00
|
|
|
gap: 1em;
|
|
|
|
max-width: 50em;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 1em;
|
|
|
|
|
|
|
|
@media only screen and (max-width: $width-mobile) {
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
}
|
|
|
|
|
|
|
|
.filters {
|
2024-02-08 13:31:46 +01:00
|
|
|
display: grid;
|
2024-02-08 21:39:40 +01:00
|
|
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
2024-02-07 11:09:04 +01:00
|
|
|
gap: 1em;
|
|
|
|
margin: 1em 0;
|
|
|
|
|
2024-02-08 13:31:46 +01:00
|
|
|
// This is removed via JS to prevent displaying the inputs
|
|
|
|
// on browsers wih JavaScript disabled.
|
|
|
|
&.hidden { display: none }
|
|
|
|
|
2024-02-07 11:09:04 +01:00
|
|
|
&>* {
|
|
|
|
border-radius: .5em;
|
2024-02-08 21:39:40 +01:00
|
|
|
box-shadow: rgba(15, 17, 21, 0.5) 0px 3px 6px 0px;
|
|
|
|
background-color: #3b4252;
|
|
|
|
color: inherit;
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
background-color: #fff;
|
|
|
|
color: #2e3440;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-02-09 09:42:05 +01:00
|
|
|
form {
|
2024-02-08 21:39:40 +01:00
|
|
|
grid-column: 1 / 3;
|
2024-02-09 09:42:05 +01:00
|
|
|
display: flex;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
input {
|
|
|
|
font-size: inherit;
|
|
|
|
border: 0;
|
|
|
|
background-color: inherit;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="search"] {
|
|
|
|
flex-grow: 1;
|
|
|
|
padding: .75em 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="reset"] {
|
|
|
|
cursor: pointer;
|
|
|
|
width: 3em;
|
|
|
|
padding: 0;
|
|
|
|
background-size: auto 1.5em;
|
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(160,163,170,1)'%3E%3Cpath d='M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM12 10.5858L14.8284 7.75736L16.2426 9.17157L13.4142 12L16.2426 14.8284L14.8284 16.2426L12 13.4142L9.17157 16.2426L7.75736 14.8284L10.5858 12L7.75736 9.17157L9.17157 7.75736L12 10.5858Z'%3E%3C/path%3E%3C/svg%3E");
|
|
|
|
}
|
2024-02-07 11:09:04 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&>.button {
|
2024-02-08 21:39:40 +01:00
|
|
|
font-weight: bold;
|
2024-02-07 11:09:04 +01:00
|
|
|
text-align: center;
|
2024-02-08 13:31:46 +01:00
|
|
|
cursor: pointer;
|
2024-02-08 21:39:40 +01:00
|
|
|
user-select: none;
|
2024-02-09 09:42:05 +01:00
|
|
|
padding: .75em 1em;
|
2024-02-08 13:31:46 +01:00
|
|
|
|
|
|
|
&.selected {
|
2024-02-08 21:39:40 +01:00
|
|
|
color: #fff;
|
|
|
|
|
|
|
|
&[data-category="mixtape"] { background-color: #bf616a }
|
|
|
|
&[data-category="classic"] { background-color: #5e81ac }
|
2024-02-08 13:31:46 +01:00
|
|
|
}
|
2024-02-07 11:09:04 +01:00
|
|
|
}
|
2024-02-08 21:39:40 +01:00
|
|
|
|
|
|
|
@media only screen and (max-width: $width-mobile) {
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
}
|
|
|
|
|
2024-02-06 18:08:40 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.song-list {
|
|
|
|
display: grid;
|
|
|
|
gap: 1em;
|
|
|
|
|
|
|
|
&>div {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2024-02-06 19:49:24 +01:00
|
|
|
align-items: center;
|
2024-02-08 21:39:40 +01:00
|
|
|
gap: 1em;
|
2024-02-06 19:49:24 +01:00
|
|
|
padding: .5em;
|
|
|
|
padding-left: 1em;
|
|
|
|
border-radius: .5em;
|
2024-02-08 21:39:40 +01:00
|
|
|
box-shadow: rgba(15, 17, 21, 0.5) 0px 3px 6px 0px;
|
2024-02-06 19:49:24 +01:00
|
|
|
border-left: .7em solid #000;
|
2024-02-08 21:39:40 +01:00
|
|
|
background-color: #3b4252;
|
2024-02-06 18:08:40 +01:00
|
|
|
|
2024-02-08 13:31:46 +01:00
|
|
|
&.hidden { display: none }
|
|
|
|
|
2024-02-08 21:39:40 +01:00
|
|
|
&.mixtape { border-color: #bf616a }
|
|
|
|
&.classic { border-color: #5e81ac }
|
2024-02-06 19:49:24 +01:00
|
|
|
|
|
|
|
.meta {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
|
2024-02-08 21:39:40 +01:00
|
|
|
.title { font-weight: bold }
|
|
|
|
.artist { font-size: .8em }
|
2024-02-06 18:08:40 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.links {
|
|
|
|
display: flex;
|
|
|
|
gap: .5em;
|
2024-02-06 19:49:24 +01:00
|
|
|
|
|
|
|
&>* {
|
2024-02-08 21:39:40 +01:00
|
|
|
height: 2.75em;
|
|
|
|
width: 2.75em;
|
2024-02-06 19:49:24 +01:00
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: auto 1.5em;
|
|
|
|
border-radius: .25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.html {
|
2024-02-08 21:39:40 +01:00
|
|
|
background-color: #5e81ac;
|
2024-02-07 09:40:37 +01:00
|
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(255,255,255,1)'%3E%3Cpath d='M16 2L21 7V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918C3 2.44405 3.44495 2 3.9934 2H16ZM17.6569 12L14.1213 8.46447L12.7071 9.87868L14.8284 12L12.7071 14.1213L14.1213 15.5355L17.6569 12ZM6.34315 12L9.87868 15.5355L11.2929 14.1213L9.17157 12L11.2929 9.87868L9.87868 8.46447L6.34315 12Z'%3E%3C/path%3E%3C/svg%3E");
|
2024-02-06 19:49:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.pdf {
|
2024-02-08 21:39:40 +01:00
|
|
|
background-color: #bf616a;
|
2024-02-07 09:40:37 +01:00
|
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(255,255,255,1)'%3E%3Cpath d='M3.9985 2C3.44749 2 3 2.44405 3 2.9918V21.0082C3 21.5447 3.44476 22 3.9934 22H20.0066C20.5551 22 21 21.5489 21 20.9925L20.9997 7L16 2H3.9985ZM10.5 7.5H12.5C12.5 9.98994 14.6436 12.6604 17.3162 13.5513L16.8586 15.49C13.7234 15.0421 10.4821 16.3804 7.5547 18.3321L6.3753 16.7191C7.46149 15.8502 8.50293 14.3757 9.27499 12.6534C10.0443 10.9373 10.5 9.07749 10.5 7.5ZM11.1 13.4716C11.3673 12.8752 11.6043 12.2563 11.8037 11.6285C12.2754 12.3531 12.8553 13.0182 13.5102 13.5953C12.5284 13.7711 11.5666 14.0596 10.6353 14.4276C10.8 14.1143 10.9551 13.7948 11.1 13.4716Z'%3E%3C/path%3E%3C/svg%3E");
|
2024-02-06 19:49:24 +01:00
|
|
|
}
|
2024-02-06 18:08:40 +01:00
|
|
|
}
|
2024-02-08 21:39:40 +01:00
|
|
|
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
background-color: #fff;
|
|
|
|
color: #2e3440;
|
|
|
|
}
|
2024-02-06 18:08:40 +01:00
|
|
|
}
|
|
|
|
}
|
2024-02-06 14:18:25 +01:00
|
|
|
}
|
|
|
|
|
2024-02-08 21:39:40 +01:00
|
|
|
main.song {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
max-width: 50em;
|
2024-02-06 14:18:25 +01:00
|
|
|
min-height: 100vh;
|
2024-02-08 21:39:40 +01:00
|
|
|
margin: 0 auto;
|
|
|
|
padding-left: .5em;
|
|
|
|
|
|
|
|
iframe {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
border: 0;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.controls {
|
|
|
|
display: none; // Temporary
|
|
|
|
}
|
2024-02-06 14:18:25 +01:00
|
|
|
}
|