Basic CSS for HTML output
All checks were successful
Build / build (push) Successful in 5m56s

This commit is contained in:
Emil Miler 2024-01-08 11:46:43 +01:00
parent 656e242f81
commit 64f0bb2494
3 changed files with 68 additions and 0 deletions

66
chordpro.css Normal file
View File

@ -0,0 +1,66 @@
body {
margin: 0;
background-color: #d8d8d8;
color: #181818;
}
.song {
padding: 2em;
}
.title {
font-size: 1.5em;
font-weight: bold;
margin-bottom: 1em;
}
.chords {
font-style: italic;
}
.chorus, .verse, .tab {
margin: 1em 0;
}
.chorus {
position: relative;
}
.chorus:before {
content: "";
position: absolute;
left: -1em;
display: block;
height: 100%;
width: 2px;
background-color: #181818;
}
.tab {
white-space: pre;
font-family: monospace;
font-size: 1.25em;
}
.comment {
display: inline-block;
padding: .25em .5em;
background-color: #bbb;
color: #181818;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #181818;
color: #d8d8d8;
}
.chorus:before {
background-color: #d8d8d8;
}
.comment {
background-color: #585858;
color: #d8d8d8;
}
}

1
classic/chordpro.css Symbolic link
View File

@ -0,0 +1 @@
../chordpro.css

1
mixtape/chordpro.css Symbolic link
View File

@ -0,0 +1 @@
../chordpro.css