mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-16 10:22:14 +01:00
c146f6940a
* ES6 all the things ! * ESLint checks everything * CSS fixes (use stylelint) * Fix #2231
78 lines
1.1 KiB
CSS
Executable File
78 lines
1.1 KiB
CSS
Executable File
@media print {
|
|
/* ### Layout ### */
|
|
|
|
body {
|
|
font-family: Serif;
|
|
background-color: #fff;
|
|
}
|
|
|
|
@page {
|
|
margin: 1cm;
|
|
}
|
|
|
|
img {
|
|
max-width: 100% !important;
|
|
}
|
|
|
|
/* ### Content ### */
|
|
|
|
/* Hide useless blocks */
|
|
body > header,
|
|
#article_toolbar,
|
|
#links,
|
|
#sort,
|
|
body > footer,
|
|
.top_link,
|
|
div.tools,
|
|
header div,
|
|
.messages,
|
|
.entry + .results,
|
|
#slide-out,
|
|
.progress,
|
|
.hide-on-large-only,
|
|
#article > aside,
|
|
#article .mbm a {
|
|
display: none !important;
|
|
}
|
|
|
|
main {
|
|
padding-left: 0 !important;
|
|
}
|
|
|
|
#article {
|
|
margin: inherit !important;
|
|
}
|
|
|
|
article {
|
|
border: none !important;
|
|
}
|
|
|
|
/* Add URL after links */
|
|
.vieworiginal a::after {
|
|
content: " (" attr(href) ")";
|
|
}
|
|
|
|
/* Add explanation after abbr */
|
|
abbr[title]::after {
|
|
content: " (" attr(title) ")";
|
|
}
|
|
|
|
/* Change border on current pager item */
|
|
.pagination span.current {
|
|
border-style: dashed;
|
|
}
|
|
|
|
#main {
|
|
width: 100%;
|
|
padding: 0;
|
|
margin: 0;
|
|
margin-left: 0;
|
|
padding-right: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
#article {
|
|
width: 100%;
|
|
}
|
|
}
|