aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/single.html2
-rw-r--r--static/css/style.css6
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;
+ }
}