Added language selector
This commit is contained in:
@@ -5,4 +5,6 @@
|
||||
--light-wide-layout-switch-icon: url("./narrow_dark.svg");
|
||||
--dark-narrow-layout-switch-icon: url("./wide_light.svg");
|
||||
--dark-wide-layout-switch-icon: url("./narrow_light.svg");
|
||||
--cz-lang-switch-icon: url("./lang_cz.svg");
|
||||
--en-lang-switch-icon: url("./lang_en.svg");
|
||||
}
|
||||
|
@@ -99,6 +99,11 @@
|
||||
|
||||
:root {
|
||||
--layout-switch-icon: var(--narrow-layout-switch-icon);
|
||||
--lang-switch-icon: var(--en-lang-switch-icon);
|
||||
}
|
||||
|
||||
[lang="en"] {
|
||||
--lang-switch-icon: var(--cz-lang-switch-icon);
|
||||
}
|
||||
|
||||
[data-layout="wide"] {
|
||||
@@ -154,6 +159,12 @@ header .buttons {
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
.lang-switch {
|
||||
cursor: pointer;
|
||||
content: var(--lang-switch-icon);
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--link-idle-color);
|
||||
}
|
||||
|
Reference in New Issue
Block a user