JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
metaform: avoid css name conflicts
authorJason Woofenden <jason@jasonwoof.com>
Mon, 19 Sep 2011 05:27:07 +0000 (01:27 -0400)
committerJason Woofenden <jason@jasonwoof.com>
Mon, 19 Sep 2011 05:27:07 +0000 (01:27 -0400)
metaform/style.less

index 93eef12..27a827e 100644 (file)
@@ -1,23 +1,23 @@
 // dimensions
 @site-width: 940px;
 @nav-width: 200px;
-@gutter-width: 18px;
-@main-body-width: @site-width - 2*@gutter-width - @nav-width;
+@site-gutter-width: 18px;
+@site-main-body-width: @site-width - 2*@site-gutter-width - @nav-width;
 
 // colors
-@header-color: #ddf;
+@site-header-color: #ddf;
 @nav-color:    #dff;
-@body-color:   #fff;
-@window-color: #eee;
-@footer-color: #ddf;
-@gutter-color: #fff;
+@site-body-color:   #fff;
+@site-window-color: #eee;
+@site-footer-color: #ddf;
+@site-gutter-color: #fff;
 
 
 body {
        margin: 0;
        padding: 0;
        color: #000;
-       background: @window-color;
+       background: @site-window-color;
        font: 14px "Verdana", sans-serif;
 }
 
@@ -34,7 +34,7 @@ body {
 header {
        width: @site-width;
        height: 100px;
-       background: @header-color;
+       background: @site-header-color;
 }
 
 @nav-padding: 10px;
@@ -50,16 +50,16 @@ nav {
 
 #main-body {
        float: left;
-       width: @main-body-width;
-       padding: @gutter-width @gutter-width @gutter-width @gutter-width;
-       background: @body-color;
+       width: @site-main-body-width;
+       padding: @site-gutter-width @site-gutter-width @site-gutter-width @site-gutter-width;
+       background: @site-body-color;
 }
 
 footer {
        clear: both;
        width: @site-width;
        height: 50px;
-       background: @footer-color;
+       background: @site-footer-color;
 }
 
 #wfpl_messages {