aboutsummaryrefslogtreecommitdiffhomepage
path: root/static/style-2.css
diff options
context:
space:
mode:
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;
}