aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-08-01 18:00:09 +0200
committerThomas Voss <mail@thomasvoss.com> 2025-08-01 18:00:09 +0200
commitdfbd64ac9b57e643c32e6a416a982c729dd482b4 (patch)
tree17fa395f93a968dc60d591582b50ffe4ab404e87
parent13ac9543cbdda3ee3bab8f759e9c404e3674656e (diff)
Move .lang-grid styles
-rw-r--r--src/templates/language.html.tmpl18
-rw-r--r--static/style.css16
2 files changed, 18 insertions, 16 deletions
diff --git a/src/templates/language.html.tmpl b/src/templates/language.html.tmpl
index 1f0cd1e..c67ca11 100644
--- a/src/templates/language.html.tmpl
+++ b/src/templates/language.html.tmpl
@@ -7,6 +7,24 @@
opacity: 0;
}
}
+
+ .lang-grid {
+ button {
+ display: flex;
+ align-items: center;
+ padding-left: 0;
+ padding-block: 1ch;
+
+ > :first-child {
+ font-size: 2em;
+ font-weight: 600; /* Between normal and bold */
+ width: calc(var(--form-element-spacing-horizontal) * 2 + 2ch);
+ }
+ > :nth-child(2) {
+ text-align: left;
+ }
+ }
+ }
</style>
<script>
diff --git a/static/style.css b/static/style.css
index 2b778f1..e80e71d 100644
--- a/static/style.css
+++ b/static/style.css
@@ -2166,22 +2166,6 @@ textarea,
column-gap: var(--grid-spacing-horizontal);
}
-.lang-grid {
- button {
- display: flex;
- align-items: center;
- padding-left: 0;
-
- > :first-child {
- font-size: 2em;
- width: calc(var(--form-element-spacing-horizontal) * 2 + 2ch);
- }
- > :nth-child(2) {
- text-align: left;
- }
- }
-}
-
.country-grid a {
display: flex;
align-items: center;