update style

This commit is contained in:
sentriz
2019-04-21 00:16:59 +01:00
parent 3f23798514
commit 5f37427918
3 changed files with 13 additions and 5 deletions

View File

@@ -28,6 +28,9 @@ body {
justify-content: space-between;
}
a, a:visited {
color: #0064c1;
}
form input[type=password], form input[type=text] {
margin-bottom: 0.25rem;
@@ -58,7 +61,9 @@ form input[type=submit] {
}
.box {
background-color: #0000000a;
background-color: #00000005;
border-right: 2px solid #0000000c;
border-bottom: 2px solid #0000000c;
}
.box-title {
@@ -69,8 +74,12 @@ form input[type=submit] {
padding: 1rem;
}
.side-padded {
padding: 0 1rem;
}
#header {
border-bottom: 1px solid;
border-bottom: 1px solid grey;
padding-top: 3rem;
}
@@ -80,7 +89,6 @@ form input[type=submit] {
}
#footer {
border-top: 1px solid;
text-align: right;
}

View File

@@ -18,7 +18,7 @@
<div id="content">
{{ if .Flashes }}
<div id="flashes" class="padded mono">
<p><b>warning:</b> {{ index .Flashes 0 }}</p>
<p><b>warning</b> {{ index .Flashes 0 }}</p>
</div>
{{ end }}
{{ template "content" . }}

View File

@@ -1,7 +1,7 @@
{{ define "title" }}home{{ end }}
{{ define "content" }}
<div class="light right">
<div class="side-padded light right">
welcome <u>{{ .User.Name }}</u> &#124; <a href="/admin/home">home</a> &#124; <a href="/admin/logout">logout</a>
</div>
{{ template "user" . }}