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

View File

@@ -17,7 +17,7 @@
<section class="page-break"> <section class="page-break">
<h2> <h2>
{{ .Title }} <a href="{{ .RelPermalink }}">{{ .Title }}</a>
</h2> </h2>
<h3> <h3>