From f1e61e8721707147aeaac3f516d5a16e64946c40 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 28 Nov 2012 19:16:20 +0100 Subject: Menu position is fixed. --- source/css/style.css | 32 ++++++++++++++++++++++++++++---- source/templates/index.html | 2 ++ 2 files changed, 30 insertions(+), 4 deletions(-) diff --git a/source/css/style.css b/source/css/style.css index 3a507f39..05fe43b8 100755 --- a/source/css/style.css +++ b/source/css/style.css @@ -58,10 +58,35 @@ hr { margin: 1em 0em; } +/* Menu */ +.menu_container { + position:fixed; + margin:0px; + padding:0px; + z-index:4; +} + /* Navigation bars */ -.nav_container { position:fixed; top:145px; right:5px; margin:0px; padding:0px; white-space:nowrap; z-index:11; clear:both;} -.nav_container.horizontal { position:absolute; white-space:normal; z-index:25; width:*; } -.nav_container.horizontal div { float:right; padding-right:10px; } +.nav_container { + position:fixed; + top:112px; + right:5px; + margin:0px; + padding:0px; + white-space:nowrap; + z-index:3; + clear:both; +} +.nav_container.horizontal { + position:absolute; + white-space:normal; + z-index:4; + width:*; +} +.nav_container.horizontal div { + float:right; + padding-right:10px; +} #nav { position: absolute; @@ -147,7 +172,6 @@ blockquote.right { .clear { font-size: 1px; - height: 0px; clear: both; } diff --git a/source/templates/index.html b/source/templates/index.html index c17f0e2d..837b591d 100644 --- a/source/templates/index.html +++ b/source/templates/index.html @@ -29,6 +29,7 @@ import utils
+
<% html = "" %> -- cgit