Switch over content to new layout/text; slight css edits
authorJef van Schendel <mail@jefvanschendel.nl>
Sat, 31 Mar 2012 14:48:06 +0000 (16:48 +0200)
committerJef van Schendel <mail@jefvanschendel.nl>
Sat, 31 Mar 2012 14:48:06 +0000 (16:48 +0200)
mediagoblin/static/css/base.css
mediagoblin/templates/mediagoblin/base.html

index 0face2a107edb17018a5fc15221d00ced2fd2f8c..533d66794f4c159f9c77fe18e21356a2f75ee0cb 100644 (file)
@@ -126,6 +126,17 @@ header {
   margin: 8px;
 }
 
+.header_right ul {
+       display: none;
+       position: absolute;
+       top: 29px;
+       left: 0px;
+       width: 150px;
+       border: 1px solid #ccc;
+       background: white;
+       padding: 10px 0 0 0;
+}
+
 a.logo {
   color: #fff;
   font-weight: bold;
index c2d5457de638b92d4f05e09f3901e78dd7bbb20b..5eeea997a73e54b88739fab8d3315bd0614930ea 100644 (file)
     <link rel="shortcut icon"
           href="{{ request.staticdirect('/images/goblin.ico') }}" />
     <script src="{{ request.staticdirect('/js/extlib/jquery.js') }}"></script>
+    
+    <script>
+    $(document).ready(function(){
+       $(".header_right").click(function(){
+               $(".sublist").slideToggle("fast");
+       });
+});
+    </script>
     <!--[if lt IE 9]>
       <script src="{{ request.staticdirect('/js/extlib/html5shiv.js') }}"></script>
     <![endif]-->
               <a href="{{ request.urlgen('mediagoblin.auth.login') }}">
                 {% trans %}Log in{% endtrans %}</a>
             {% endif %}
+            <ul class="sublist">
+                       <li><a href="#">Enviornment</a></li>
+                         <li><a href="#">General Sciences</a></li>
+                         <li><a href="#">Space</a></li>
+                 </ul>
           </div>
         </header>
       {% endblock %}