Fix print.styl, changes were previously comitted directly to the css file causing them to be overwritten

This commit is contained in:
Mathieu David 2016-09-12 22:10:33 +02:00
parent 9e634a4e83
commit 81a8f946b7
1 changed files with 20 additions and 13 deletions

View File

@ -1,31 +1,38 @@
@media only print { @media only print {
.sidebar, #sidebar,
.menu-bar, #menu-bar,
.nav-chapters, .nav-chapters,
.mobile-nav-chapters { .mobile-nav-chapters {
display: none display: none
} }
.page-wrapper { #page-wrapper {
left: 0 left: 0;
overflow-y: initial;
} }
.content { #content {
max-width: 100% max-width: none;
margin: 0;
padding: 0;
}
.page {
overflow-y: initial;
} }
code { code {
background-color: #666666 background-color: #666666
border-radius: 5px border-radius: 5px
/* Force background to be printed in Chrome */ /* Force background to be printed in Chrome */
-webkit-print-color-adjust: exact -webkit-print-color-adjust: exact
} }
a, a:visited, a:active, a:hover { a, a:visited, a:active, a:hover {
color: #4183c4 color: #4183c4
text-decoration: none text-decoration: none
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {