Slight layout tweak

This commit is contained in:
Eelco Dolstra 2013-11-06 13:32:56 +01:00
parent 55f9d23933
commit 8928c35ecd
2 changed files with 11 additions and 15 deletions

View file

@ -65,28 +65,24 @@
</div>
<div class="container">
[% IF flashMsg %]
<br />
<div class="alert alert-info">[% flashMsg %]</div>
[% END %]
[% IF successMsg %]
<br />
<div class="alert alert-success">[% successMsg %]</div>
[% END %]
[% IF errorMsg %]
<br />
<div class="alert alert-warning">Error: [% errorMsg %]</div>
[% END %]
[% IF !hideHeader %]
<div class="page-header">
<h1><small>[% IF c.user_exists && starUri; INCLUDE makeStar; " "; END; HTML.escape(title) %]</small></h1>
[% IF c.user_exists && starUri; INCLUDE makeStar; " "; END; HTML.escape(title) %]
</div>
[% ELSE %]
<br />
[% IF first %]<br />[% first = 0; END; %]
[% END %]
[% content %]

View file

@ -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 {