More RTL improvements and some style tweaks

This commit is contained in:
daudix
2024-06-18 07:52:13 +03:00
parent fbed171669
commit ee70e5fe46
11 changed files with 73 additions and 25 deletions

View File

@ -49,7 +49,7 @@ blockquote {
padding: 0 0.75rem;
color: var(--fg-muted-5);
body[dir="rtl"] & {
:root[dir="rtl"] & {
border-right: 0.25rem solid var(--primary-color);
border-left: unset;
}
@ -109,7 +109,7 @@ hr {
content: "☙❧";
// An ugly hack to fix mirroring in rtl
body[dir="rtl"] & {
:root[dir="rtl"] & {
content: "❧☙";
}
}
@ -132,7 +132,7 @@ aside {
padding: 1rem;
width: 30%;
body[dir="rtl"] & {
:root[dir="rtl"] & {
float: left;
}