Make the redundent portion of the lower navigation area disappear from the
printed version for browsers that support "@media print" in CSS.
This commit is contained in:
parent
1e3bdf6c45
commit
859c46a1fd
|
@ -140,3 +140,11 @@ div.note .label { margin-right: 0.5em;
|
|||
* the top of modules.
|
||||
*/
|
||||
.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() {
|
|||
|
||||
|
||||
sub top_navigation_panel() {
|
||||
return "\n"
|
||||
return "\n<div id='top-navigation-panel'>\n"
|
||||
. make_nav_panel()
|
||||
. "<br /><hr />\n";
|
||||
. "<br /><hr /></div>\n";
|
||||
}
|
||||
|
||||
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()
|
||||
. "</div>\n"
|
||||
. "<hr />\n"
|
||||
. get_version_text()
|
||||
. "\n";
|
||||
|
|
Loading…
Reference in New Issue