aboutsummaryrefslogtreecommitdiffhomepage
path: root/static/style-2.css
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-11-08 23:14:14 +0100
committerThomas Voss <mail@thomasvoss.com> 2025-11-08 23:14:14 +0100
commit82687ee535a2ba556f9d91468f2096b37b28c5d9 (patch)
treea0e9304f4d863ddcffa7cf52a876cf00b9e3a787 /static/style-2.css
parent883d19afa11056f5bcc5d9d04a6239274450ae33 (diff)
Do some minor restyling of coin design pages
Diffstat (limited to 'static/style-2.css')
-rw-r--r--static/style-2.css26
1 files changed, 16 insertions, 10 deletions
diff --git a/static/style-2.css b/static/style-2.css
index 2ce8d95..6136298 100644
--- a/static/style-2.css
+++ b/static/style-2.css
@@ -2866,12 +2866,9 @@ textarea,
/* CUSTOM FEATURES */
-/* Intended for use in constructions such as:
- * <h3>
- * Austrian National Bank<br>
- * <span lang="de">Oesterreichische Nationalbank</span>
- * </h3>
- */
+:root {
+ --euro-cash-design-width: 30%;
+}
/* TODO: Just use a hamburger menu on mobile! */
@media (max-width: 1024px) {
@@ -2880,6 +2877,15 @@ textarea,
}
}
+/* Intended for use in constructions such as:
+ * <h3>
+ * Austrian National Bank<br>
+ * <span lang="de" class="translation">
+ * Oesterreichische Nationalbank
+ * </span>
+ * </h3>
+ */
+
:has(> .translation) {
line-height: 1.1;
}
@@ -2930,10 +2936,6 @@ article article {
background: var(--pico-background-color);
}
-:root {
- --euro-cash-design-width: 30%;
-}
-
.design-container {
display: flex;
justify-content: space-around;
@@ -2948,6 +2950,10 @@ article article {
}
}
+figure {
+ margin-bottom: var(--pico-typography-spacing-vertical);
+}
+
figcaption {
text-align: center;
}