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>
This commit is contained in:
Eduardo Garcia 2026-10-25 12:08:19 -03:00
parent b3e773f21f
commit c567a70dfc

View file

@ -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) {