hedgedoc/frontend/global-styles/print.scss

39 lines
482 B
SCSS
Raw Normal View History

/*!
* SPDX-FileCopyrightText: 2024 The HedgeDoc developers (see AUTHORS file)
*
* SPDX-License-Identifier: AGPL-3.0-only
*/
@media print {
.heading-anchor {
display: none;
}
mark {
print-color-adjust: exact;
}
h1, h2, h3, h4, h5 {
break-after: avoid;
}
table, figure {
break-inside: avoid;
}
@page {
size: A4;
margin: 0 15pt;
}
.print-link {
display: block;
}
}
@media screen {
.print-link {
display: none;
}
}