Further print style tweaks

This commit is contained in:
David Eisinger
2025-01-10 00:11:44 -05:00
parent b0114b9bef
commit 434aff903d
2 changed files with 28 additions and 4 deletions

View File

@@ -227,6 +227,7 @@ audio::-webkit-media-controls-panel {
@media print {
body {
background-color: white;
font-size: 24px;
padding: 0;
}
@@ -234,9 +235,16 @@ audio::-webkit-media-controls-panel {
display: none;
}
a:not(:has(img), [href^="#"], [href="/"])::after {
content: " (" attr(href) ")";
font-size: 0.8em;
a:not(:has(img), [href^="#"], [href="/"]) {
border-bottom: 1.5px solid #00a;
text-decoration: none;
&::after {
border-bottom: 1.5px solid white;
color: #eee;
content: " [" attr(href) "]";
font-weight: normal;
}
}
h2,
@@ -245,6 +253,7 @@ audio::-webkit-media-controls-panel {
page-break-after: avoid;
}
blockquote,
li {
page-break-inside: avoid;
}
@@ -256,4 +265,19 @@ audio::-webkit-media-controls-panel {
.page-break {
page-break-after: always;
}
a.footnote-backref {
display: none;
}
code {
background: none;
border-radius: 0;
padding: 0;
&::before,
&::after {
content: "`"
}
}
}