X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=styl.styl;h=54ac46391425d394a57f6d6406f5b9ff36c416bf;hb=15f391c463f08014a2af7b80920c4832877ad09f;hp=2ac584a48aafca3da37e254ebceb35f1c76f90f5;hpb=6693ff479afca87acf937d7435121f9d7906e1c5;p=wfpl-cms.git diff --git a/styl.styl b/styl.styl index 2ac584a..54ac463 100644 --- a/styl.styl +++ b/styl.styl @@ -1,5 +1,5 @@ -@require 'inc/wfpl/stylus-helpers.styl' -@require '.image-mtimes.styl' +@require 'inc/wfpl/stylus_helpers.styl' +@require '.sha1sums.styl' // dimensions site-width = 934px // inside the shadow @@ -19,7 +19,7 @@ window-bg = #e6e7e8 // always show vertical scrollbar, so content doesn't shift around when // switching from tall to short pages html - overflow-y: scroll + overflow-y: scroll header, hgroup, section, footer, aside, nav, article, figure, img display: block @@ -159,16 +159,16 @@ body nav#site-nav padding-bottom: 20px ul - li-reset() - space-evenly() + li_reset() + space_evenly() footer clear: both padding-top: 40px ul - li-reset() + li_reset() li - li-reset() + li_reset() display: inline-block margin-right: 10px @@ -239,6 +239,7 @@ td > :first-child, th > :first-child, legend + *, article > :first-child, +aside > :first-child, section > :first-child, nav > :first-child, div > :first-child, @@ -249,6 +250,7 @@ td > :last-child, th > :last-child, fieldset > :last-child, article > :last-child, +aside > :last-child, section > :last-child, nav > :last-child, div > :last-child, @@ -256,6 +258,9 @@ div > :last-child, margin-bottom: 0px table.evenodd + td, th + padding: 6px 12px + text-align: left > thead, > tbody, & > tr:nth-child(2n+1) > td, > th @@ -269,3 +274,11 @@ table.evenodd &:hover > td, > th background: rgba(0,0,0,0.09) + +.field_error + input + border: 1px solid red + +.password_suggestion + & + & + margin-left: 10px