improve RTL CSS compatibility + uppercase lang code + no bold

This commit is contained in:
welpo 2025-09-14 12:26:26 +02:00
parent 543b431290
commit ac369fa154
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6

View file

@ -127,29 +127,26 @@ header {
} }
.language-switcher-icon-with-code { .language-switcher-icon-with-code {
margin-inline-end: 0.3rem;
width: 0.7rem; width: 0.7rem;
height: 0.7rem; height: 0.7rem;
margin-right: 0.3rem;
} }
} }
.language-switcher-icon-code { .language-switcher-icon-code {
z-index: 10;
width: 100%;
height: 100%;
position: absolute; position: absolute;
top: -0.15rem; top: -0.15rem;
z-index: 10;
inset-inline-start: 0.7rem;
width: 100%;
height: 100%;
color: var(--text-color); color: var(--text-color);
font-weight: bold; font-size: 0.5rem;
left: 0.6rem; text-transform: uppercase;
&:hover { &:hover {
color: var(--meta-color); color: var(--meta-color);
} }
font-size: 0.5rem;
}
.language-switcher-selected-item {
font-weight: bold;
} }
.dropdown { .dropdown {