Add print media query

This commit is contained in:
Boris-Chengbiao Zhou 2016-06-10 19:30:26 +02:00
parent 9b49acc2c9
commit dfef0d7585
1 changed files with 27 additions and 0 deletions

View File

@ -765,3 +765,30 @@ table thead td {
.rust pre > .result {
margin-top: 10px;
}
@media print {
#sidebar {
display: none;
}
#page-wrapper {
left: 0;
overflow-y: initial;
}
#content {
max-width: none;
margin: 0;
padding: 0;
}
#menu-bar {
display: none;
}
.page {
overflow-y: initial;
}
.nav-chapters {
display: none;
}
.mobile-nav-chapters {
display: none;
}
}