2015-09-19 04:13:55 +08:00
|
|
|
@media only print {
|
|
|
|
|
2016-09-13 04:10:33 +08:00
|
|
|
#sidebar,
|
|
|
|
#menu-bar,
|
2015-09-19 04:13:55 +08:00
|
|
|
.nav-chapters,
|
|
|
|
.mobile-nav-chapters {
|
2016-09-13 04:10:33 +08:00
|
|
|
display: none
|
2015-09-19 04:13:55 +08:00
|
|
|
}
|
|
|
|
|
2016-09-13 04:10:33 +08:00
|
|
|
#page-wrapper {
|
|
|
|
left: 0;
|
|
|
|
overflow-y: initial;
|
2015-09-19 04:13:55 +08:00
|
|
|
}
|
|
|
|
|
2016-09-13 04:10:33 +08:00
|
|
|
#content {
|
|
|
|
max-width: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page {
|
|
|
|
overflow-y: initial;
|
2015-09-19 04:13:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
2016-09-13 04:10:33 +08:00
|
|
|
background-color: #666666
|
|
|
|
border-radius: 5px
|
2015-09-19 04:13:55 +08:00
|
|
|
|
2016-09-13 04:10:33 +08:00
|
|
|
/* Force background to be printed in Chrome */
|
|
|
|
-webkit-print-color-adjust: exact
|
2015-09-19 04:13:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
a, a:visited, a:active, a:hover {
|
2016-09-13 04:10:33 +08:00
|
|
|
color: #4183c4
|
|
|
|
text-decoration: none
|
2015-09-19 04:13:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
page-break-inside: avoid
|
|
|
|
page-break-after: avoid
|
|
|
|
/*break-after: avoid*/
|
|
|
|
}
|
|
|
|
|
|
|
|
pre, code {
|
|
|
|
page-break-inside: avoid
|
|
|
|
white-space: pre-wrap /* CSS 3 */
|
|
|
|
white-space: -moz-pre-wrap /* Mozilla, since 1999 */
|
|
|
|
white-space: -pre-wrap /* Opera 4-6 */
|
|
|
|
white-space: -o-pre-wrap /* Opera 7 */
|
|
|
|
word-wrap: break-word /* Internet Explorer 5.5+ */
|
|
|
|
}
|
|
|
|
}
|