hackertours-theme/assets/sass/print.scss
2022-09-30 19:58:34 +02:00

42 lines
559 B
SCSS

// @file
// The print stylesheet for this theme.
@import 'init';
@import 'extra';
@import 'components/print-none/print-none';
.pager,
%pager,
aside,
nav,
footer {
@extend %print-none;
}
@media print {
html {
font-size: $print-font-size;
}
body,
.page {
background-color: var(--color-white);
}
.main {
width: 100%;
}
// Underline all links.
:link,
:visited {
text-decoration: underline;
}
// Add visible title after abbreviations.
abbr[title] {
&::after {
content: ' (' attr(title) ')';
}
}
}