mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-20 10:15:17 -04:00

Co-authored-by: Philip Molares <philip.molares@udo.edu> Signed-off-by: Erik Michelson <github@erik.michelson.eu> Signed-off-by: Philip Molares <philip.molares@udo.edu>
73 lines
1.1 KiB
SCSS
73 lines
1.1 KiB
SCSS
/*!
|
|
* SPDX-FileCopyrightText: 2024 The HedgeDoc developers (see AUTHORS file)
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
@media print {
|
|
.heading-anchor, .footnote-backref {
|
|
display: none;
|
|
}
|
|
|
|
a[href] {
|
|
border-bottom: none;
|
|
text-decoration: none;
|
|
|
|
&::after {
|
|
content: ' (' attr(href) ')';
|
|
font-size: 0.75em;
|
|
}
|
|
}
|
|
|
|
nav.table-of-contents, sup.footnote-ref {
|
|
a[href]::after {
|
|
display: none;
|
|
content: '';
|
|
}
|
|
}
|
|
|
|
sup.footnote-ref {
|
|
a[href] {
|
|
color: unset;
|
|
}
|
|
}
|
|
|
|
abbr[title] {
|
|
border-bottom: none !important;
|
|
text-decoration: none !important;
|
|
}
|
|
|
|
mark {
|
|
print-color-adjust: exact;
|
|
-webkit-print-color-adjust: exact;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5 {
|
|
break-after: avoid;
|
|
page-break-after: avoid;
|
|
}
|
|
|
|
table, figure, p, img, ul, ol, pre, code {
|
|
break-inside: avoid;
|
|
page-break-inside: avoid;
|
|
}
|
|
|
|
@page {
|
|
padding: 1.5cm;
|
|
margin: 1cm auto;
|
|
}
|
|
|
|
.print-only {
|
|
display: inline;
|
|
}
|
|
|
|
hr {
|
|
background-color: transparent !important;
|
|
border-bottom: 2px solid #bbbcbf;
|
|
}
|
|
}
|
|
|
|
@media screen {
|
|
.print-only {
|
|
display: none;
|
|
}
|
|
}
|