aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-08-04 10:59:20 +0200
committerThomas Voss <mail@thomasvoss.com> 2025-08-04 10:59:20 +0200
commit120917aff0af1c275088a6df51c2b8909e319c80 (patch)
treee26a445ef367b2426c851f4370ad80affb90daee
parent3e27bb55ff6118c442bfbc4305acb7ef9c364a20 (diff)
Fix page styling
-rw-r--r--src/templates/coins-designs.html.tmpl10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/templates/coins-designs.html.tmpl b/src/templates/coins-designs.html.tmpl
index 24e5232..33b0841 100644
--- a/src/templates/coins-designs.html.tmpl
+++ b/src/templates/coins-designs.html.tmpl
@@ -5,8 +5,6 @@
.country-grid {
--button-min-width: 20ch;
- row-gap: var(--spacing);
-
a {
display: flex;
padding-block: 1ch;
@@ -14,7 +12,7 @@
> :first-child {
text-align: left;
font-weight: bold;
- width: calc(var(--form-element-spacing-horizontal) + 2ch);
+ width: calc(var(--pico-form-element-spacing-horizontal) + 2ch);
}
}
}
@@ -22,11 +20,11 @@
{{ end }}
{{ define "content" }}
-<header>
+<header class="container">
{{ template "navbar" . }}
<h1>{{ .Get "Euro Coin Designs" }}</h1>
</header>
-<main>
+<main class="container">
<p>
{{ .Get "Here you’ll be able to view all the coin designs for each country in the Eurozone. This section of the site doesn’t include minor varieties such as different mintmarks or errors; those are on the {Link:l}varieties{-:E} page."
(map "Link" "/coins/varieties") }}
@@ -46,4 +44,4 @@
{{ end }}
</div>
</main>
-{{ end }} \ No newline at end of file
+{{ end }}