[tor-commits] [exonerator/master] Move footer back to bottom.

karsten at torproject.org karsten at torproject.org
Mon Jul 20 13:59:52 UTC 2015


commit fd98339086485dd5951edb0b99653667ba73331a
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Mon Jul 20 15:58:07 2015 +0200

    Move footer back to bottom.
    
    This time the print output looks good, too, because it uses its own
    CSS.
    
    Fix by Joshua Lee Tucker.
---
 web/css/exonerator.css |   14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/web/css/exonerator.css b/web/css/exonerator.css
index cf81a08..d0625e9 100644
--- a/web/css/exonerator.css
+++ b/web/css/exonerator.css
@@ -4,15 +4,21 @@ html {
 }
 
 body {
-  /*margin: 0 0 200px;*/ /* bottom = footer height */
+  margin: 0 0 180px; /* bottom = footer height */
 }
 
 .footer {
-  /*position: absolute;
+  position: absolute;
   left: 0;
   bottom: 0;
-  height: 200px;
-  width: 100%;*/
+  height: 180px;
+  width: 100%;
+}
+
+ at media print {
+  .footer {
+    position: relative;
+  }
 }
 
 .vbottom15 {



More information about the tor-commits mailing list