JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
don't let image captions inherit boldness
[wfpl-cms.git] / style.less
index ec55b52..e996976 100644 (file)
@@ -46,23 +46,35 @@ nav {
        width: @nav-width - 2*@nav-padding;
        padding: @nav-padding;
        background: @nav-color;
-       a {
-               display: block;
+       h3 {
+               span {
+                       color: @nav-color;
+               }
+       }
+       h3.current {
+               span {
+                       color: inherit;
+               }
+               a {
+                       text-decoration: none;
+               }
        }
 }
 
 #main-body {
        float: left;
        width: @site-main-body-width;
-       padding: @site-gutter-width @site-gutter-width @site-gutter-width @site-gutter-width;
+       padding: @site-gutter-width @site-gutter-width 3*@site-gutter-width @site-gutter-width;
        background: @site-body-color;
 }
 
 footer {
        clear: both;
-       width: @site-width;
-       height: 50px;
+       width: @site-width - 2*@site-gutter-width;
+       padding: @site-gutter-width;
+       text-align: center;
        background: @site-footer-color;
+       font-size: 80%;
 }
 
 #wfpl_messages {
@@ -79,6 +91,13 @@ footer {
                height: 1px;
        }
 }
+
+#admin_links {
+       background: #fdd;
+       padding: 3px;
+       margin-bottom: 15px;
+}
+
 .caption {
        margin-top: 15px;
        font-weight: bold;
@@ -107,32 +126,11 @@ div.error {
        background: #fdd;
 }
 
-/* hack so that vertical margins are only between siblings for the most part */
-td > :first-child,
-th > :first-child,
-legend + *,
-article > :first-child,
-section > :first-child,
-nav > :first-child,
-div > :first-child,
-.first {
-       margin-top: 0px;
-}
-td > :last-child,
-th > :last-child,
-fieldset > :last-child,
-article > :last-child,
-section > :last-child,
-nav > :last-child,
-div > :last-child,
-.last {
-       margin-bottom: 0px;
-}
-
-/************ FLOATING IMAGES (from CMS) **************/
+// floating images (from pastable example code on admin_images)
 span.wfpl_ifl {
        display: block;
        float: left;
+       clear: left;
        font-size: 10px;
        text-align: right;
        background-repeat: no-repeat;
@@ -142,16 +140,41 @@ span.wfpl_ifl {
 span.wfpl_ifr {
        display: block;
        float: right;
+       clear: right;
        font-size: 10px;
+       font-weight: normal;
        text-align: right;
        background-repeat: no-repeat;
        background-position: left top;
-       margin: 0 0 10px 2px;
+       margin: 0 0 2px 10px;
 }
 div.wfpl_ic {
        margin: 15px auto;
        font-size: 10px;
+       font-weight: normal;
        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 + *,
+article > :first-child,
+section > :first-child,
+nav > :first-child,
+div > :first-child,
+.first {
+       margin-top: 0px;
+}
+td > :last-child,
+th > :last-child,
+fieldset > :last-child,
+article > :last-child,
+section > :last-child,
+nav > :last-child,
+div > :last-child,
+.last {
+       margin-bottom: 0px;
+}