From ac369fa15444c1c6904a10fd3265048a0803b927 Mon Sep 17 00:00:00 2001 From: welpo Date: Sun, 14 Sep 2025 12:26:26 +0200 Subject: [PATCH] improve RTL CSS compatibility + uppercase lang code + no bold --- sass/parts/_header.scss | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/sass/parts/_header.scss b/sass/parts/_header.scss index a5b546b..d88bfe3 100644 --- a/sass/parts/_header.scss +++ b/sass/parts/_header.scss @@ -127,29 +127,26 @@ header { } .language-switcher-icon-with-code { + margin-inline-end: 0.3rem; width: 0.7rem; height: 0.7rem; - margin-right: 0.3rem; } } .language-switcher-icon-code { - z-index: 10; - width: 100%; - height: 100%; position: absolute; top: -0.15rem; + z-index: 10; + inset-inline-start: 0.7rem; + width: 100%; + height: 100%; color: var(--text-color); - font-weight: bold; - left: 0.6rem; + font-size: 0.5rem; + text-transform: uppercase; + &:hover { color: var(--meta-color); } - font-size: 0.5rem; -} - -.language-switcher-selected-item { - font-weight: bold; } .dropdown {