Convert print and mobile styles to pure css.
This commit is contained in:
parent
47a65ccc1d
commit
8e9c7209dc
1 changed files with 7 additions and 12 deletions
|
|
@ -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) ')';
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue