From 1233c89b66f4e4a8a8aa219921af145ea9996dc9 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Wed, 24 Feb 2016 10:39:17 +0100 Subject: Move title to the right --- assets/css/style.css | 13 ++++++++----- tmpl/edit | 2 +- tmpl/root | 2 +- tmpl/view | 4 +--- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index 36e0023..f3222e3 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -3,9 +3,6 @@ body { margin: 5% 10%; color: #222; } -h1 { - color: #F50; -} a { color: #05A; text-decoration: none; @@ -33,9 +30,15 @@ blockquote { dd { padding-bottom: 1em; } -nav { +header { float: right; } -nav a { +header a { padding: 1ex; } +header p { + text-align: right; + font-size: large; + font-weight: bold; + color: #F50; +} diff --git a/tmpl/edit b/tmpl/edit index 683567c..2034f47 100644 --- a/tmpl/edit +++ b/tmpl/edit @@ -1,4 +1,4 @@ -{{define "title"}}Editing {{.Title}}{{end}} +{{define "title"}}Edit {{.Title}}{{end}} {{define "content"}}
diff --git a/tmpl/root b/tmpl/root index d9b533c..03659c7 100644 --- a/tmpl/root +++ b/tmpl/root @@ -10,7 +10,7 @@
-

{{template "title" .}}

+

{{template "title" .}}