allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hei...@apache.org
Subject [2/2] allura git commit: [#4849] Added print media to CSS for making printer friendly
Date Wed, 06 Apr 2016 18:12:54 GMT
[#4849] Added print media to CSS for making printer friendly


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/4d83c2cb
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/4d83c2cb
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/4d83c2cb

Branch: refs/heads/master
Commit: 4d83c2cbf2f7176d0ed1ed8688a8baecfa1be62b
Parents: 7d8abd3
Author: rhnvrm <rohanverma2004@gmail.com>
Authored: Thu Mar 10 01:16:57 2016 +0530
Committer: Heith Seewald <heiths@gmail.com>
Committed: Wed Apr 6 14:11:22 2016 -0400

----------------------------------------------------------------------
 Allura/allura/nf/allura/css/site_style.css | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/4d83c2cb/Allura/allura/nf/allura/css/site_style.css
----------------------------------------------------------------------
diff --git a/Allura/allura/nf/allura/css/site_style.css b/Allura/allura/nf/allura/css/site_style.css
index 22998cf..61f420c 100644
--- a/Allura/allura/nf/allura/css/site_style.css
+++ b/Allura/allura/nf/allura/css/site_style.css
@@ -3457,3 +3457,17 @@ fieldset.preferences legend {
 .spam-text {
   float: left;
 }
+
+@media print{
+  body{ 
+  	background-color:#FFFFFF; 
+  	background-image:none; 
+  	color:#000000; 
+  }
+  #site-header, #site-sec-header, #sidebar, #top_nav{ 
+  	display:none; 
+  }
+  #page-body{ 
+  	width:100%; 
+  }
+}
\ No newline at end of file


Mime
View raw message