Further print style tweaks
This commit is contained in:
@@ -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: "`"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
<section class="page-break">
|
<section class="page-break">
|
||||||
<h2>
|
<h2>
|
||||||
{{ .Title }}
|
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<h3>
|
<h3>
|
||||||
|
|||||||
Reference in New Issue
Block a user