From c567a70dfc3677d78993b8cb1cb7efabbaadc0e1 Mon Sep 17 00:00:00 2001 From: Eduardo Garcia Date: Sun, 25 Oct 2026 12:08:19 -0300 Subject: [PATCH] style: make the language selector match the footer links and the server selector The selector used the native arrow, a light font and no spacing. It now uses the bold accent color of the footer links, the rounded border and the chevron of the server selector, and turns pink on hover like the links. Co-authored-by: Daniel Nylander <1206564+yeager@users.noreply.github.com> --- frontend/styling/index.css | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/frontend/styling/index.css b/frontend/styling/index.css index 2470677..68e9902 100644 --- a/frontend/styling/index.css +++ b/frontend/styling/index.css @@ -80,18 +80,31 @@ footer { } & > p.source select { - padding: 0.4rem 0.8rem; + margin: 1.2rem 0; + padding: 0.6rem 3.2rem 0.6rem 1.2rem; + appearance: none; font: inherit; font-size: 1.6rem; - color: var(--secondary-text-color); - background: var(--server-selector-background-color); + font-weight: 700; + letter-spacing: -0.1rem; + color: var(--theme-green); + background: var(--server-selector-background-color) url("../images/chevron.svg") no-repeat right 0.8rem center / + 1.8rem; border: 1px solid var(--server-selector-border-color); - border-radius: 0.4rem; + border-radius: 0.8rem; + cursor: pointer; + transition: border-color 0.2s; &:hover, &:focus-visible { + color: var(--theme-pink); border-color: var(--server-selector-hover-border-color); } + + & > option { + color: var(--primary-text-color); + background: var(--server-selector-background-color); + } } @media screen and (max-width: 800px) {