mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
fix printing
This commit is contained in:
parent
cf6af1482d
commit
611de0ae04
|
@ -246,4 +246,9 @@
|
||||||
.wy-nav-content
|
.wy-nav-content
|
||||||
margin: 0
|
margin: 0
|
||||||
|
|
||||||
|
@media print
|
||||||
|
.wy-nav-side
|
||||||
|
display: none
|
||||||
|
.wy-nav-content-wrap
|
||||||
|
margin-left: 0
|
||||||
|
|
||||||
|
|
|
@ -315,7 +315,6 @@ big, small {
|
||||||
}
|
}
|
||||||
|
|
||||||
pre, blockquote {
|
pre, blockquote {
|
||||||
border: 1px solid #999999;
|
|
||||||
page-break-inside: avoid;
|
page-break-inside: avoid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3707,6 +3706,11 @@ pre.literal-block:after {
|
||||||
padding: 6px 0;
|
padding: 6px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media print {
|
||||||
|
.codeblock, div[class^='highlight'], div[class^='highlight'] pre {
|
||||||
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
|
}
|
||||||
.hll {
|
.hll {
|
||||||
background-color: #f8f8f8;
|
background-color: #f8f8f8;
|
||||||
border: 1px solid #cccccc;
|
border: 1px solid #cccccc;
|
||||||
|
@ -4317,3 +4321,12 @@ pre.literal-block:after {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@media print {
|
||||||
|
.wy-nav-side {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wy-nav-content-wrap {
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user