Skip to content

Commit

Permalink
feat: add printing styles
Browse files Browse the repository at this point in the history
implements #11
  • Loading branch information
alebabai committed Oct 1, 2024
1 parent e7431b6 commit 79c21b2
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,22 @@ a {

.chord {
font-weight: lighter;
color: #980000;
color: #980000;
}

@media print {

body>header,
body>footer {
display: none !important;
}

article:not(:last-child) {
page-break-after: always;
}

.lyrics,
p {
page-break-inside: avoid;
}
}

0 comments on commit 79c21b2

Please sign in to comment.