Provide a set of stylesheet for printing.
This commit is contained in:
parent
fa27d314a6
commit
2d270a76bd
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=50639
2 changed files with 25 additions and 0 deletions
|
@ -60,6 +60,7 @@
|
|||
|
||||
/* Search */
|
||||
|
||||
@media screen {
|
||||
#search {
|
||||
position: relative;
|
||||
text-align: right;
|
||||
|
@ -99,6 +100,11 @@
|
|||
color: #666;
|
||||
padding: 2px 2px 2px 5px;
|
||||
}
|
||||
}
|
||||
|
||||
@media print {
|
||||
#search { display: none; }
|
||||
}
|
||||
|
||||
/* Mirror Select */
|
||||
|
||||
|
@ -464,6 +470,7 @@
|
|||
|
||||
/* Secondary Pages */
|
||||
|
||||
@media screen {
|
||||
#sidewrap {
|
||||
float: left;
|
||||
width: 166px;
|
||||
|
@ -481,6 +488,12 @@
|
|||
margin-left: 170px;
|
||||
padding-top: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
@media print {
|
||||
#sidewrap, #rightwrap { display: none; }
|
||||
#contentwrap { margin-left: 16px; padding-top: 15px; }
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
/* Site Navigation */
|
||||
|
||||
@media screen {
|
||||
#topnav {
|
||||
text-align: left;
|
||||
color: #666;
|
||||
|
@ -375,3 +376,14 @@ div#menu ul ul ul li:hover ul {
|
|||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@media print {
|
||||
#topnav, #topnavleft, #topnavright, #topnavlist { display: none; }
|
||||
#menu { display: none; }
|
||||
#languagenav, #languagenavlist { display: none; }
|
||||
#searchnav, #searchnavlist { display: none; }
|
||||
#sidenav { display: none; }
|
||||
#feedlinks { display: none; }
|
||||
.rightnav { display: none; }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue