Convert print and mobile styles to pure css.

This commit is contained in:
Fredrik Jonsson 2025-09-17 09:52:08 +02:00
commit 8e9c7209dc

View file

@ -1,44 +0,0 @@
// The print stylesheet for this theme.
@import 'init';
.pager,
%pager,
.mobile-nav,
aside,
nav,
footer {
display: none;
}
@media print {
html {
font-size: var(--print-font-size);
}
html,
body,
.page {
background-color: white;
border-color: black;
box-shadow: none;
color: black;
}
.main {
width: 100%;
}
// Underline all links.
:link,
:visited {
text-decoration: underline;
}
// Add visible title after abbreviations.
abbr[title] {
&::after {
content: ' (' attr(title) ')';
}
}
}