Further print style tweaks
This commit is contained in:
@@ -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: "`"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user