fix printing

This commit is contained in:
Dave Snider 2013-10-23 10:07:19 -07:00
parent cf6af1482d
commit 611de0ae04
2 changed files with 19 additions and 1 deletions

View File

@ -246,4 +246,9 @@
.wy-nav-content
margin: 0
@media print
.wy-nav-side
display: none
.wy-nav-content-wrap
margin-left: 0

View File

@ -315,7 +315,6 @@ big, small {
}
pre, blockquote {
border: 1px solid #999999;
page-break-inside: avoid;
}
@ -3707,6 +3706,11 @@ pre.literal-block:after {
padding: 6px 0;
}
@media print {
.codeblock, div[class^='highlight'], div[class^='highlight'] pre {
white-space: pre-wrap;
}
}
.hll {
background-color: #f8f8f8;
border: 1px solid #cccccc;
@ -4317,3 +4321,12 @@ pre.literal-block:after {
margin: 0;
}
}
@media print {
.wy-nav-side {
display: none;
}
.wy-nav-content-wrap {
margin-left: 0;
}
}