refactor: add esbuild and modulerize css into seperate files
This commit is contained in:
135
style/lyrics.css
Normal file
135
style/lyrics.css
Normal file
@ -0,0 +1,135 @@
|
||||
#lyrics {
|
||||
color: #171717;
|
||||
line-height: 2.5rem;
|
||||
flex-basis: 0;
|
||||
flex-shrink: 0;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
#lyrics a {
|
||||
color: inherit;
|
||||
background-color: #ddd;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
#lyrics a:hover {
|
||||
background-color: #ccc;
|
||||
}
|
||||
|
||||
#metadata {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
flex-basis: 0;
|
||||
}
|
||||
|
||||
#metadata h1 {
|
||||
font-size: 2rem;
|
||||
color: #171717;
|
||||
}
|
||||
|
||||
#metadata h2 {
|
||||
font-size: 1.4rem;
|
||||
color: #1e1e1e;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
#metadata-info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
#info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
flex-basis: 0;
|
||||
}
|
||||
|
||||
#about {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
#about p {
|
||||
font-size: 1.4rem;
|
||||
color: #171717;
|
||||
line-height: 1.8rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#title {
|
||||
font-size: 2rem;
|
||||
color: #1b1a17;
|
||||
}
|
||||
|
||||
|
||||
#lyrics-album-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
#credits {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
|
||||
#credits summary {
|
||||
font-size: 1.4rem;
|
||||
cursor: pointer;
|
||||
color: #1e1e1e;
|
||||
}
|
||||
|
||||
#credits p {
|
||||
font-size: 1.3rem;
|
||||
padding: 0.5rem;
|
||||
color: #171717;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1080px) {
|
||||
#metadata {
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
#lyrics {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
#lyrics a {
|
||||
background-color: #272d44;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
#lyrics a:hover {
|
||||
background-color: #32384f;
|
||||
}
|
||||
|
||||
#metadata h1 {
|
||||
color: #ddd;
|
||||
}
|
||||
|
||||
#metadata h2,
|
||||
#credits p {
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
#title {
|
||||
color: #ddd;
|
||||
}
|
||||
|
||||
#about p,
|
||||
#credits summary {
|
||||
color: #ccc;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user