# HG changeset patch # User Steve Losh # Date 1317268241 14400 # Node ID 003077f697d6855a52437c9f0418e127dc62a983 # Parent dc8ba07e8157e34900a7f2e9994f6c935dd119e1 Styling. diff -r dc8ba07e8157 -r 003077f697d6 resources/public/css/style.less --- a/resources/public/css/style.less Wed Sep 28 23:40:36 2011 -0400 +++ b/resources/public/css/style.less Wed Sep 28 23:50:41 2011 -0400 @@ -1,7 +1,7 @@ header { text-align: center; margin-top: 24px; - margin-bottom: 32px; + margin-bottom: 32px !important; padding-bottom: 12px; border-bottom: 2px solid #ddd; } @@ -25,3 +25,12 @@ margin-top: -12px; margin-bottom: 32px; } +.page-title { + position: relative; + + .logout { + position: absolute; + top: -6px; + right: 2px; + } +} diff -r dc8ba07e8157 -r 003077f697d6 src/newseasons/templates/main.clj --- a/src/newseasons/templates/main.clj Wed Sep 28 23:40:36 2011 -0400 +++ b/src/newseasons/templates/main.clj Wed Sep 28 23:50:41 2011 -0400 @@ -40,10 +40,11 @@ (defpartial inner [title & content] (base - [:h2.sixteen.columns title] - content - (form-to [:post "/logout"] - (submit-button "Log Out")))) + + [:h2.sixteen.columns.page-title [:div.logout + (form-to [:post "/logout"] + (submit-button "Log Out"))]title] + content)) ; Pages ----------------------------------------------------------------------- @@ -77,7 +78,7 @@ [:li [:h3 (link-to (r "artistViewUrl") (r "artistName"))] (form-to [:post "/add"] - [:input {:type "hidden" :name "artist-id" :value (r "artistId")}] + [:input {:type "hidden" :name "artist-id" :value (r "artistId")}] (submit-button "Watch for this Show"))]) (defpartial search [query results]