MediaWiki:Print.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 43: | Line 43: | ||
display: block; | display: block; | ||
border-bottom: solid 1px black; | border-bottom: solid 1px black; | ||
} | |||
@page:left{ | |||
@bottom-left { | |||
content: "Page " counter(page) " of " counter(pages); | |||
} | |||
} | } | ||
Revision as of 17:27, 2 February 2018
/* CSS placed here will affect the print output */
@page {
margin: 2cm;
}
body {
font: 12pt Georgia, "Times New Roman", Times, serif;
/* line-height: 1.3; */
}
h1, h2, h3, h4, h5 {
margin-bottom: -0.5em;
}
p {
line-height: 1.3;
}
.toc, #toc {
display: none;
}
img {
max-width: 100%;
}
p a[href^="http://"]:after, a[href^="https://"]:after {
content: " (" attr(href) ")";
font-size: 80%;
}
p a {
word-wrap: break-word;
}
.page-break {
display: block;
page-break-before: always;
clear: both;
}
.booksection {
display: block;
border-bottom: solid 1px black;
}
@page:left{
@bottom-left {
content: "Page " counter(page) " of " counter(pages);
}
}