summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-10-22 09:40:33 +0200
committerlpsolit%gmail.com <>2006-10-22 09:40:33 +0200
commit762caad4f6ef2236c31e20f35bd9132fb5092bec (patch)
tree6c12774284aa28f8cf6bfe7eac6f27b68fc748d4
parentf4f96532a08381caf39785b3c49a1b4d7c3d04dd (diff)
downloadbugzilla-762caad4f6ef2236c31e20f35bd9132fb5092bec.tar.gz
bugzilla-762caad4f6ef2236c31e20f35bd9132fb5092bec.tar.xz
Bug 110152: Offer CSS2 "paged media" for people who print the show_bug page - Patch by Frédéric Buclin <LpSolit@gmail.com> r=bkor a=justdave
-rw-r--r--skins/standard/global.css12
1 files changed, 12 insertions, 0 deletions
diff --git a/skins/standard/global.css b/skins/standard/global.css
index b00ec851b..c2701523a 100644
--- a/skins/standard/global.css
+++ b/skins/standard/global.css
@@ -280,3 +280,15 @@ body > dl > dt {
dl dl > dt {
border-top: none;
}
+
+/* Rules specific for printing */
+@media print {
+ #header, #footer {
+ display: none;
+ }
+
+ body {
+ background-image: none;
+ background-color: #fff;
+ }
+}