Commit 60be0a93 authored by Fred Drake's avatar Fred Drake

Make the redundent portion of the lower navigation area disappear from the

printed version for browsers that support "@media print" in CSS.
parent 1fe8cbc2
...@@ -140,3 +140,11 @@ div.note .label { margin-right: 0.5em; ...@@ -140,3 +140,11 @@ div.note .label { margin-right: 0.5em;
* the top of modules. * the top of modules.
*/ */
.availability .platform { font-weight: bold; } .availability .platform { font-weight: bold; }
/*
* Some specialization for printed output.
*/
@media print {
#bottom-navigation-panel { display: none; }
}
...@@ -227,14 +227,16 @@ sub get_version_text() { ...@@ -227,14 +227,16 @@ sub get_version_text() {
sub top_navigation_panel() { sub top_navigation_panel() {
return "\n" return "\n<div id='top-navigation-panel'>\n"
. make_nav_panel() . make_nav_panel()
. "<br /><hr />\n"; . "<br /><hr /></div>\n";
} }
sub bot_navigation_panel() { sub bot_navigation_panel() {
return "\n<p></p><hr />\n" return "\n<div id='bottom-navigation-panel'>\n"
. "<p></p><hr />\n"
. make_nav_panel() . make_nav_panel()
. "</div>\n"
. "<hr />\n" . "<hr />\n"
. get_version_text() . get_version_text()
. "\n"; . "\n";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment