Skip to content

Commit 131c81c

Browse files
authored
accessibility
1 parent 438dccc commit 131c81c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

python_docs_theme/static/pydoctheme.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -776,3 +776,18 @@ div.versionremoved .versionmodified {
776776
opacity: 1;
777777
}
778778
}
779+
780+
@media (prefers-reduced-motion) {
781+
div.document {
782+
animation: none;
783+
transition: none;
784+
}
785+
786+
#sidebarbutton {
787+
transition: none;
788+
}
789+
790+
html {
791+
scroll-behavior: auto;
792+
}
793+
}

0 commit comments

Comments
 (0)