From 682bd57e9103c4d54689761bd1bf7770fe020d65 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Mon, 24 Oct 2022 01:03:05 +0200 Subject: highlight website title while on home page and a css cleanup --- assets/base.css | 2 +- layouts/_default/baseof.html | 2 +- layouts/partials/nav.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/base.css b/assets/base.css index e0e80aa..4c5ed7f 100644 --- a/assets/base.css +++ b/assets/base.css @@ -13,7 +13,7 @@ body { font-feature-settings: "kern" 1; font-kerning: normal; } -#main { +main { padding-left:1em; padding-right:1em; scrollbar-gutter: stable both-edges; diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 5faf4e4..05345a3 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -27,7 +27,7 @@ {{- partial "nav.html" . -}} -
+
{{- block "main" . }}{{ end -}}
{{- partial "footer.html" . -}} diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index eeec5f2..1020c03 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -1,7 +1,7 @@