From 8928c35ecd7d68e4536381fb6c44a7ca4f4e9cde Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 6 Nov 2013 13:32:56 +0100 Subject: [PATCH] Slight layout tweak --- src/root/layout.tt | 8 ++------ src/root/static/css/hydra.css | 18 +++++++++--------- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/src/root/layout.tt b/src/root/layout.tt index fb4a2531..074e4809 100644 --- a/src/root/layout.tt +++ b/src/root/layout.tt @@ -65,28 +65,24 @@
- [% IF flashMsg %] -
[% flashMsg %]
[% END %] [% IF successMsg %] -
[% successMsg %]
[% END %] [% IF errorMsg %] -
Error: [% errorMsg %]
[% END %] [% IF !hideHeader %] [% ELSE %] -
+ [% IF first %]
[% first = 0; END; %] [% END %] [% content %] diff --git a/src/root/static/css/hydra.css b/src/root/static/css/hydra.css index 4fac2c3c..b369f3e0 100644 --- a/src/root/static/css/hydra.css +++ b/src/root/static/css/hydra.css @@ -2,6 +2,9 @@ body { padding-top: 40px; } + div.alert { + margin-top: 1em; + } } .logo { @@ -68,16 +71,13 @@ h3 { } div.page-header { - margin-top: 0em; + margin-top: 1em; margin-bottom: 1em; -} - -div.page-header h1 { - margin-bottom: 0em; -} - -div.page-header h1 small { - font-size: 45%; + padding-top: 0em; + padding-bottom: 0.5em; + color: #999999; + font-size: 123.809%; + font-weight: normal; } .shell-prompt {