Web: Tweak style sheets for printing

This commit is contained in:
Tim Gerundt 2011-01-08 21:47:44 +01:00
parent 01f52523a8
commit 84fe2ef73e
1 changed files with 10 additions and 8 deletions

View File

@ -2,6 +2,7 @@ body {
margin: 0; margin: 0;
padding: 0; padding: 0;
font-family: Calibri,Verdana,sans-serif; font-family: Calibri,Verdana,sans-serif;
color: #000;
background: #eee; background: #eee;
} }
@ -31,8 +32,8 @@ a:active { color:#369; text-decoration:none; }
#tabs { #tabs {
color: #eee; color: #eee;
background: #369; background: #369;
border-top: 1px solid black; border-top: 1px solid #000;
border-bottom: 1px solid black; border-bottom: 1px solid #000;
} }
#tabs ul { #tabs ul {
margin: 0; margin: 0;
@ -44,7 +45,7 @@ a:active { color:#369; text-decoration:none; }
display: inline; display: inline;
margin: 0; margin: 0;
padding: 0 .5em; padding: 0 .5em;
border-right: 1px solid black; border-right: 1px solid #000;
} }
#tabs ul li:first-child { #tabs ul li:first-child {
padding-left: 0; padding-left: 0;
@ -58,14 +59,15 @@ a:active { color:#369; text-decoration:none; }
#tabs a:hover { color:#fff; text-decoration:underline; } #tabs a:hover { color:#fff; text-decoration:underline; }
#tabs a:active { color:#fff; text-decoration:underline; } #tabs a:active { color:#fff; text-decoration:underline; }
/* Content */
#content h2 {
margin-top: 0;
}
/* Wrap */ /* Wrap */
.wrap { .wrap {
width: 50em; width: 50em;
margin: 0 auto; margin: 0 auto;
padding: .5em; padding: .5em;
}
/* Printing */
@media print {
#header { color: black; border-bottom: 1px solid black; }
#tabs { display: none; }
} }