summaryrefslogtreecommitdiff
path: root/ref/css/general.css
diff options
context:
space:
mode:
authorgdamore <gdamore@users.noreply.github.com>2025-07-28 21:27:00 +0000
committergdamore <gdamore@users.noreply.github.com>2025-07-28 21:27:00 +0000
commit9dec69104d2a1ec9c06d0953b020ac52e0331425 (patch)
treee09d7629c0602be68a0426e69b055ad99fb1b4a1 /ref/css/general.css
parente4d202a4eb2bb32127029b6db15e7b90f20ac1a3 (diff)
downloadnng-9dec69104d2a1ec9c06d0953b020ac52e0331425.tar.gz
nng-9dec69104d2a1ec9c06d0953b020ac52e0331425.tar.bz2
nng-9dec69104d2a1ec9c06d0953b020ac52e0331425.zip
deploy: cdcf4934610a2673727b4efad93b82191c3379eb
Diffstat (limited to 'ref/css/general.css')
-rw-r--r--ref/css/general.css5
1 files changed, 3 insertions, 2 deletions
diff --git a/ref/css/general.css b/ref/css/general.css
index 9946cfc0..9121c6f5 100644
--- a/ref/css/general.css
+++ b/ref/css/general.css
@@ -86,11 +86,12 @@ h6:target::before {
box-sizing: border-box;
background-color: var(--bg);
}
-.no-js .page-wrapper,
+html:not(.js) .page-wrapper,
.js:not(.sidebar-resizing) .page-wrapper {
transition: margin-left 0.3s ease, transform 0.3s ease; /* Animation: slide away */
}
-[dir=rtl] .js:not(.sidebar-resizing) .page-wrapper {
+[dir=rtl]:not(.js) .page-wrapper,
+[dir=rtl].js:not(.sidebar-resizing) .page-wrapper {
transition: margin-right 0.3s ease, transform 0.3s ease; /* Animation: slide away */
}