瀏覽代碼

print fine tuning

Bachir Soussi Chiadmi 8 年之前
父節點
當前提交
deb2bff572

+ 8 - 2
sites/all/themes/gui/materiobasetheme/css/styles.css

@@ -5710,8 +5710,14 @@ article.node-materiau.vm-cardfull, article.node-breve.vm-cardfull {
   margin-bottom: 1em; }
 
 .print-footer {
-  position: fixed;
-  bottom: 0; }
+  position: absolute;
+  bottom: 0;
+  text-align: center;
+  width: 100%; }
+  .print-footer p {
+    display: inline-block;
+    width: 45%;
+    text-align: center; }
 
 /*
     ___   __  ____________  __________  __  _______  __    __________________

+ 5 - 1
sites/all/themes/gui/materiobasetheme/scss/styles.scss

@@ -1771,7 +1771,11 @@ body.print-body-materiau{
 }
 
 .print-footer{
-  position:fixed; bottom:0;
+  position:absolute; bottom:0; text-align: center; width:100%;
+  p{
+    display:inline-block; width:45%; text-align: center;
+    // margin: 0 3em;
+  }
 }
 
 /*

+ 4 - 1
sites/all/themes/gui/materiobasetheme/templates/print--node--materiau.tpl.php

@@ -90,6 +90,9 @@
         <h2 class="print-title"><?php print $print_title; ?></h2>
       <?php endif; ?>
       <div class="print-content"><?php print $content; ?></div>
-      <div class="print-footer"><?php print $site_footer; ?></div>
+      <div class="print-footer">
+        <?php print $site_footer; ?>
+        <p class="domain">materio.com</p>
+      </div>
     </div>
 </html>