diff MoinMoin/themes/basic/static/custom-less/theme.less @ 2754:a43e5f300ff7

Fixed faulty footer which used to rise to the top at low resolutions in basic theme
author Ajitesh Gupta <ajgupta93@gmail.com>
date Mon, 18 Aug 2014 20:17:33 +0530
parents 37cf0c227a6e
children 1934add39410
line wrap: on
line diff
--- a/MoinMoin/themes/basic/static/custom-less/theme.less	Mon Aug 18 19:38:06 2014 +0530
+++ b/MoinMoin/themes/basic/static/custom-less/theme.less	Mon Aug 18 20:17:33 2014 +0530
@@ -628,7 +628,7 @@
   display: none
 }
 .moin-content {
-  padding-bottom: 100px;
+  padding-bottom: 10%;
 }
 .moin-footer {
   bottom: 0;
@@ -646,25 +646,38 @@
     padding: 10px;
   }
 }
+.container {
+  min-height: 100%;
+  position: relative;
+}
 // set min-width to prevent search box from floating off window to right
+@media (max-width: 992px) {
+  .container {
+    width: auto;
+  }
+  .moin-content {
+    padding-bottom: 250px;
+  }
+  .moin-footer-credits {
+    width: 100%;
+    padding-right: 30px;
+  }
+  .moin-footer-logo {
+    padding-left: 30px;
+  }
+}
 @media (min-width: 768px) {
   .container {
-    min-height: 100%;
-    position: relative;
     width: auto;
   }
 }
 @media (min-width: 992px) {
   .container {
-    min-height: 100%;
-    position: relative;
     width: auto;
   }
 }
 @media (min-width: 1200px) {
   .container {
-    min-height: 100%;
-    position: relative;
     width: auto;
   }
 }