Revert "Convert print and mobile styles to pure css."
This reverts commit 8e9c7209dc.
This commit is contained in:
parent
119823143e
commit
114e529c48
1 changed files with 12 additions and 7 deletions
44
assets/sass/print.scss
Normal file
44
assets/sass/print.scss
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
// 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) ')';
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue