From de2fd0c7983ca1a20c01391e2d656ca33555a862 Mon Sep 17 00:00:00 2001 From: Julien Schmidt <js@stusta.net> Date: Mon, 23 Apr 2018 12:11:45 +0200 Subject: [PATCH] fix body margin --- layouts/_default/baseof.html | 2 +- static/css/main.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index d67fd9c..b6dde00 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -93,7 +93,7 @@ {{ if .Params.HeaderStats }}{{ partial "header-stats.html" . }}{{ end }} </div> </header> - <div class="container"> + <div class="container" id="main"> {{ block "main" . }}{{.Content}}{{ end }} </div> </article> diff --git a/static/css/main.css b/static/css/main.css index dda43e9..9f55bfa 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -564,6 +564,10 @@ a:hover, a:active { text-decoration: underline; } +#main { + margin-top: 30px; +} + footer { background: #363636; flex-shrink: 0; -- GitLab