Layout für Smartphones und sehr kleine Bildschirmgrößen überarbeitet
[website] / src / main / webapp / less / screen / layout.less
index 434e61c..4e6c331 100644 (file)
@@ -1,13 +1,17 @@
-@import '../variables.less';
-
 body
 {
   padding: 0 3em 0 5em;
 }
 
+#header
+{
+  margin-left: -2.125em;
+}
+
 .content
 {
   position: relative;
+  height: 100%;
   padding-bottom: 7.1875em; /** 115px (gemessene Gesamthöhe des Footers - mit Abstand und Margin) */
 }
 .cols_2 > .content
@@ -50,7 +54,7 @@ body
 {
   margin-top: 0;
 }
-.cols_1 > .content > .marginal div.m
+.cols_1 > .content > .marginal aside.m
 {
   padding: 2em;
 }
@@ -58,6 +62,7 @@ body
 {
   position: absolute;
   top: 0;
+  right: 0; /** Hier eigentlich nicht nötig, aber für Tablet-Style erforderrlich! */
   width: 100%;
 }
 .cols_2 > .content #nav
@@ -89,24 +94,6 @@ body { overflow-y: scroll; }
   margin: 0 auto;
 }
 
-/** Make the footer sticky */
-html, body
-{
-  height: 100%;
-}
-#page
-{
-  position: relative;
-  min-height: 100%;
-}
-#footer
-{
-  position: absolute;
-  left: 0;
-  right: 0;
-  bottom: 0;
-}
-
 /** Faux-Column-Hack-Eigengewächs */
 #page.cols_2
 {