MediaWiki:Print.css: Difference between revisions

From RawPedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
font: 12pt Georgia, "Times New Roman", Times, serif;
font: 12pt Georgia, "Times New Roman", Times, serif;
/* line-height: 1.3; */
/* line-height: 1.3; */
}
h1+p, h2+p, h3+p, h4+p, h5+p {
margin-top: -1em;
}
}



Revision as of 15:57, 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+p, h2+p, h3+p, h4+p, h5+p {
margin-top: -1em;
}

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;
}