From bab13412b2513977793cf70506b7317204845615 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 27 Aug 2012 18:27:56 +0200 Subject: layout adjustments --- module/web/templates/mobile/base.html | 76 ++++++++++++++++++++++++----------- 1 file changed, 53 insertions(+), 23 deletions(-) (limited to 'module/web/templates/mobile/base.html') diff --git a/module/web/templates/mobile/base.html b/module/web/templates/mobile/base.html index 9cb038b3a..8145ced26 100644 --- a/module/web/templates/mobile/base.html +++ b/module/web/templates/mobile/base.html @@ -21,11 +21,11 @@ } html, body { - height: 100%; + height: 99.9%; } #wrap { - min-height: 100%; + height: 100%; position: relative; } @@ -38,10 +38,9 @@ } #content { - position: absolute; - width: 100%; - top: 25px; - bottom: 0; + position: relative; + width: 99.9%; + height: 100%; } ul li { @@ -51,31 +50,62 @@ .page { position: absolute; + height: 99.9%; + width: 99.9%; + border: 1px solid red; + } + + .page:before { + content: ' '; + display: block; + height: 25px; + } + + footer, header { + position: fixed; + height: 25px; + width: 100%; + z-index: 1000; + left: 0; + right: 0; + background-color: #ffd700; + } + + header { top: 0; + } + + footer { bottom: 0; - width: 100%; - border: 1px solid red; } + -
-
- -
-
-
-

dfgfdg

- {% block content %} - {% endblock content %} -
+
+ +
+
+
+

dfgfdg

+ dfgfhdfgh
+ fhsfdfgdfg
+ cgfghfgh
+ +

much content

+ dfgfghdfgh
+ dfghfgh
+ dfg fghgfh
+ +

Even more

+ ertert + {% block content %} + {% endblock content %}
-
-