JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
only use lesscss when local
[wfpl-cms.git] / style.less
index cbe6a27..52e4c8b 100644 (file)
@@ -27,7 +27,7 @@ body {
 #centerer {
        position: relative;
        background: @nav-color;
-       margin: 0 auto;
+       margin: 15px auto;
        width: @site-width;
        -moz-box-shadow: 2px 2px 15px #777;
        -webkit-box-shadow: 2px 2px 15px #777;
@@ -79,6 +79,13 @@ footer {
                height: 1px;
        }
 }
+
+#admin_links {
+       background: #fdd;
+       padding: 3px;
+       margin-bottom: 15px;
+}
+
 .caption {
        margin-top: 15px;
        font-weight: bold;
@@ -107,7 +114,34 @@ div.error {
        background: #fdd;
 }
 
-/* hack so that vertical margins are only between siblings for the most part */
+// floating images (from pastable example code on admin_images)
+span.wfpl_ifl {
+       display: block;
+       float: left;
+       font-size: 10px;
+       text-align: right;
+       background-repeat: no-repeat;
+       background-position: left top;
+       margin: 0 10px 2px 0;
+}
+span.wfpl_ifr {
+       display: block;
+       float: right;
+       font-size: 10px;
+       text-align: right;
+       background-repeat: no-repeat;
+       background-position: left top;
+       margin: 0 0 10px 2px;
+}
+div.wfpl_ic {
+       margin: 15px auto;
+       font-size: 10px;
+       text-align: right;
+       background-repeat: no-repeat;
+       background-position: center top;
+}
+
+// hack so that vertical margins are only between siblings for the most part
 td > :first-child,
 th > :first-child,
 legend + *,
@@ -128,32 +162,3 @@ div > :last-child,
 .last {
        margin-bottom: 0px;
 }
-
-/************ FLOATING IMAGES (from CMS) **************/
-span.wfpl_ifl {
-       display: block;
-       float: left;
-       font-size: 10px;
-       text-align: right;
-       padding: 4px 15px 7px 0;
-}
-span.wfpl_ifr {
-       display: block;
-       float: right;
-       font-size: 10px;
-       text-align: right;
-       background-repeat: no-repeat;
-       background-position: top left;
-}
-span.float_left img, span.float_right img {
-       display: block;
-       padding-bottom: 1px;
-}
-span.float_center img {
-       display: inline;
-}
-div.mid_pic {
-       margin: 15px auto;
-       font-size: 10px;
-       text-align: right;
-}