aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-08-02 04:15:15 +0200
committerThomas Voss <mail@thomasvoss.com> 2025-08-02 04:15:15 +0200
commit1863809ecc34e6889ee7ec2ecac9d7f9540cbfab (patch)
tree18712e55ad14787e1ac78d98d0a6fe39c7cd9ace /src
parent4e5bfd09252c84c1d8e6d7c40d0962463fad3134 (diff)
Minor CSS tweaks
Diffstat (limited to 'src')
-rw-r--r--src/templates/coins-designs.html.tmpl4
-rw-r--r--src/templates/language.html.tmpl7
2 files changed, 4 insertions, 7 deletions
diff --git a/src/templates/coins-designs.html.tmpl b/src/templates/coins-designs.html.tmpl
index e46efa3..24e5232 100644
--- a/src/templates/coins-designs.html.tmpl
+++ b/src/templates/coins-designs.html.tmpl
@@ -9,12 +9,12 @@
a {
display: flex;
- padding-left: 0;
padding-block: 1ch;
> :first-child {
+ text-align: left;
font-weight: bold;
- width: calc(var(--form-element-spacing-horizontal) * 2 + 2ch);
+ width: calc(var(--form-element-spacing-horizontal) + 2ch);
}
}
}
diff --git a/src/templates/language.html.tmpl b/src/templates/language.html.tmpl
index 3315fd3..95b0d40 100644
--- a/src/templates/language.html.tmpl
+++ b/src/templates/language.html.tmpl
@@ -16,16 +16,13 @@
button {
display: flex;
align-items: center;
- padding-left: 0;
padding-block: 1ch;
+ text-align: left;
> :first-child {
font-size: 2em;
font-weight: 600; /* Between normal and bold */
- min-width: calc(var(--form-element-spacing-horizontal) * 2 + 2ch);
- }
- > :nth-child(2) {
- text-align: left;
+ min-width: calc(var(--form-element-spacing-horizontal) + 2ch);
}
}
}