topmenu centered in banner
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 21 Dec 2012 14:56:24 +0000 (15:56 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 21 Dec 2012 14:56:24 +0000 (15:56 +0100)
static/css/topmenu.css
templates/widget-topmenu.html

index ac3d29a..5e98493 100644 (file)
@@ -1,5 +1,9 @@
 /* this is to get the content below the navbar */
 body {
     padding-top: 60px;
-    padding-bottom: 40px;
+    padding-bottom: 20px;
+}
+
+div.topmenu {
+    padding-top: 7px;
 }
index 7e4a8b2..97d20f1 100644 (file)
@@ -7,7 +7,7 @@
   <div class="navbar-inner">
     <div class="container-fluid">
       <a class="brand" href="/"><img src="{{ STATIC_URL }}img/myslice-logo.png" height="30" alt="MySlice logo" /></a>
-      <div class="nav-collapse">
+      <div class="nav-collapse topmenu">
        <ul class="nav nav-pills" id='menu_ul'>
          {% for d in topmenu_items %}
          {% if d.active %}
@@ -23,7 +23,7 @@
          {% else %}
          Not logged in
          {% endif %}
-      </div><!--/.nav-collapse -->
+      </div><!--nav-collapse-->
     </div><!--container-fluid-->
   </div><!--navbar-inner-->
 </div><!--topmenu-->