diff options
author | Nicholas Johnson <nick@nicksphere.ch> | 2022-08-07 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicksphere.ch> | 2022-08-07 00:00:00 +0000 |
commit | 43a700c8083b102a30f7b9df7cc434b3f1113a5615ec118adf32600b1bb12052 (patch) | |
tree | 837529e40d7ae32037a81a8588dc90d9fe88a139833914edddd9f8c6455c36c1 | |
parent | 127a03262dee0e69c7d2b1c88c0e031b3f2701c6c144c8b2fd02aab090fe04ab (diff) | |
download | hugo-theme-journal-43a700c8083b102a30f7b9df7cc434b3f1113a5615ec118adf32600b1bb12052.tar.gz hugo-theme-journal-43a700c8083b102a30f7b9df7cc434b3f1113a5615ec118adf32600b1bb12052.zip |
Change return to homepage link from class to id
-rw-r--r-- | layouts/_default/single.html | 2 | ||||
-rw-r--r-- | static/css/style.css | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index d4efead..2aab5a7 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,6 +1,6 @@ {{ define "main" -}} <nav> - <p class="return"><a href="/" rel="noreferrer">Return to homepage</a></p> + <p id="return"><a href="/" rel="noreferrer">Return to homepage</a></p> </nav> <main> {{ .Content -}} diff --git a/static/css/style.css b/static/css/style.css index 20c8635..5679547 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -98,7 +98,11 @@ nav ul { } @media (pointer: coarse) { - .return, .navlink { + .navlink { margin-bottom: 1em; } + + #return { + margin-bottom: 2em; + } } |