RTL fixes and anchor restyle

This commit is contained in:
daudix
2024-09-28 02:25:08 +03:00
parent cf58208a57
commit 42c78c8557
11 changed files with 56 additions and 14 deletions

View File

@ -107,21 +107,21 @@
&[open] summary~* {
transform-origin: bottom right;
animation: toc-dropdown-open var(--transition);
animation: toc-open var(--transition);
:root[dir*="rtl"] & {
transform-origin: bottom left;
animation: toc-dropdown-open-rtl var(--transition);
animation: toc-open-rtl var(--transition);
}
@keyframes toc-dropdown-open {
@keyframes toc-open {
from {
transform: scale(0.5) translate(1rem, 1rem);
opacity: 0;
}
}
@keyframes toc-dropdown-open-rtl {
@keyframes toc-open-rtl {
from {
transform: scale(0.5) translate(-1rem, 1rem);
opacity: 0;