mirror of
https://github.com/welpo/tabi.git
synced 2025-10-10 23:38:53 +02:00
improve RTL CSS compatibility + uppercase lang code + no bold
This commit is contained in:
parent
543b431290
commit
ac369fa154
1 changed files with 8 additions and 11 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue