Skip to content
Snippets Groups Projects
Commit 915a34be authored by Sebastian Meric de Bellefon's avatar Sebastian Meric de Bellefon
Browse files

Fix #303. Hide footer when printing

The "Produced by Haddock" footer was overlapping the page's body when printing.
This patch hides the footer with a css media rule.
parent 26e6b39d
No related branches found
No related tags found
No related merge requests found
...@@ -116,6 +116,10 @@ ul.links li { ...@@ -116,6 +116,10 @@ ul.links li {
cursor: pointer; cursor: pointer;
} }
@media print {
#footer { display: none; }
}
#package-header { #package-header {
color: #ffffff; color: #ffffff;
padding: 5px 5px 5px 31px; padding: 5px 5px 5px 31px;
......
...@@ -183,6 +183,9 @@ pre { ...@@ -183,6 +183,9 @@ pre {
.keyword { font-weight: normal; } .keyword { font-weight: normal; }
.def { font-weight: bold; } .def { font-weight: bold; }
@media print {
#footer { display: none; }
}
/* @end */ /* @end */
......
...@@ -183,6 +183,9 @@ pre { ...@@ -183,6 +183,9 @@ pre {
.keyword { font-weight: normal; } .keyword { font-weight: normal; }
.def { font-weight: bold; } .def { font-weight: bold; }
@media print {
#footer { display: none; }
}
/* @end */ /* @end */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment