From f1ae34beda32d80198919ba473997215715c1a6c7b1cce6dd3cb0811d0c95833 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Sun, 7 Aug 2022 00:00:00 +0000 Subject: Space out nav links for mobile devices --- layouts/_default/single.html | 2 +- layouts/index.html | 6 +++--- static/css/style.css | 10 ++++++++++ 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 54aafbb..d4efead 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,6 +1,6 @@ {{ define "main" -}}
{{ .Content -}} diff --git a/layouts/index.html b/layouts/index.html index 02bf301..c98c1f2 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -4,11 +4,11 @@

{{ .Site.Params.indexIntro }}

Navigation Links

Journal Entries

{{ partial "metadata.html" . -}} diff --git a/static/css/style.css b/static/css/style.css index 572c6c9..20c8635 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -92,3 +92,13 @@ ul { p, pre, ul, ol, blockquote { margin-bottom: 1.4em; } + +nav ul { + list-style: none; +} + +@media (pointer: coarse) { + .return, .navlink { + margin-bottom: 1em; + } +} -- cgit v1.2.3