From 6211fef2d4c2ee78c7a366e81e165ded5c20c86c Mon Sep 17 00:00:00 2001 From: Michael Clemens Date: Sun, 16 Apr 2023 10:35:49 +0200 Subject: [PATCH] changed footer and header layout --- layouts/_default/baseof.html | 2 +- layouts/partials/footer.html | 14 +++++++------- layouts/partials/header.html | 9 +++++++-- static/css/style.css | 8 ++++++++ 4 files changed, 23 insertions(+), 10 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index b38ba59..3c9201a 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -8,7 +8,7 @@ {{ .Site.Title }} {{ with .Site.Params.description }}{{ end }} {{ with .Site.Params.author }}{{ end }} - + {{ range .Site.Params.customCSS -}} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index b716a76..73648f4 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,10 +1,10 @@ diff --git a/layouts/partials/header.html b/layouts/partials/header.html index e55db22..3a6fac9 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,8 +1,13 @@
{{ end }}
diff --git a/static/css/style.css b/static/css/style.css index 5fc34ac..a3e404d 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -32,6 +32,14 @@ h1,h2,h3{ nav a{ text-decoration: none; } +navFooter{ + text-align: center; +} +nav{ + position: relative; + display: flex; + justify-content: space-between; +} h1 a,h2 a,h3 a{ text-decoration: none; }