Minor layout tweaks.
authordsc <dsc@wikimedia.org>
Thu, 29 Mar 2012 08:33:29 +0000 (01:33 -0700)
committerdsc <dsc@wikimedia.org>
Thu, 29 Mar 2012 08:33:29 +0000 (01:33 -0700)
www/css/layout.styl
www/layout.jade

index 244ed1b..048da3f 100644 (file)
@@ -20,9 +20,13 @@ header, footer, #content
     
     & > .inner
         position relative
-        // width 80%
-        // min-width 960px
-        // margin 0 auto
+        margin 0 auto
+        max-width 960px
+        
+        &.fluid-inner
+            width 80%
+            min-width 960px
+            max-width none
     
     // .spacer offsets #content to pad for header
     .spacer
@@ -81,9 +85,9 @@ header
     background-color $main_bgcolor
     box-shadow 0px 0px 6px 2px rgba(0,0,0,0.3)
     
-    h1
-        font-size 150%
-        margin 0 0 0 1em
+    // h1
+    //     font-size 150%
+    //     margin 0 0 0 1em
 
 footer
     z-index 1
index 6b7f48f..c6859c1 100644 (file)
@@ -17,21 +17,11 @@ html
             link(type="image/x-icon", rel="shortcut icon", href="/favicon.ico")
             
             block title
-                title Kraken
+                title GraphKit
     
     body
         block body
-            //- 
-                header
-                    block header
-                        h1: a(href="/") Kraken
-                        block nav
-                            nav#menu: ul
-                                block menu-items
-                                    li.home Home
-            
             section#content
-                //- .spacer
                 .inner
                     block content
             
@@ -44,11 +34,13 @@ html
                         var VERSION = !{ JSON.stringify(version)  };
                         var ENV     = !{ JSON.stringify(NODE_ENV) };
                     
-                    for src in sources(WWW+'/modules.yaml')
-                        script(src=src+"?"+version)
+                    block lib-scripts
+                        for src in sources(WWW+'/modules.yaml')
+                            script(src=src+"?"+version)
                     
                     block page-scripts
                     
-                    script(src="/js/kraken/main.js?"+version)
+                    block main-scripts
+                        script(src="/js/kraken/main.js?"+version)