Merge pull request #142 from Bobo1239/printing

Add print media query
This commit is contained in:
Mathieu David 2016-06-10 23:32:52 +02:00 committed by GitHub
commit 425b583625
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;
}
}