diff options
-rw-r--r-- | src/templates/language.html.tmpl | 18 | ||||
-rw-r--r-- | static/style.css | 16 |
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; |