diff --git a/css/reset.css b/css/reset.css index 743832c6..a7577d4a 100644 --- a/css/reset.css +++ b/css/reset.css @@ -33,21 +33,3 @@ a:focus { outline: thin dotted; } /* Improve readability when focused and hovered in all browsers: h5bp.com/h */ a:hover, a:active { outline: 0; } - -/* preformatted text */ -.pre {white-space:pre} - -/* ==== print styles ======================================================= - Print styles. - Inlined to avoid required HTTP connection: h5bp.com/r - ========================================================================== */ - -@media print { - * { background: transparent !important; - color: black !important; box-shadow:none !important; text-shadow: none !important; - filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */ - a, a:visited { text-decoration: underline; } - a[href]:after { content: " (" attr(href) ")"; } - .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } /* Don't show links for images, or javascript/internal links */ - @page { margin: 0.5cm; } -} diff --git a/css/style.css b/css/style.css index 47d6b3b7..a51b46e3 100644 --- a/css/style.css +++ b/css/style.css @@ -340,3 +340,32 @@ a:hover, a:active { display: none; } } + +@media print { + .panel { + width: 94%; + margin: 0; + padding: 0; + border: none; + } + + .keyspanel, .panel-right { + display: none; + } + + .files { + overflow-y: visible; + } + + .current-file { + box-shadow: none; + } + + .path-icon { + display: none; + } + + .mini-icon { + display: none; + } +}