Show hidden elements by default when JS is disabled

This commit is contained in:
Guillaume Gomez 2020-11-24 14:13:04 +01:00
parent 068320b39e
commit 9b09dc0579

View file

@ -1,3 +1,9 @@
/*
This whole CSS file is used only in case rustdoc is rendered with javascript disabled. Since a lot
of content is hidden by default (depending on the settings too), we have to overwrite some of the
rules.
*/
#main > h2 + div, #main > h2 + h3, #main > h3 + div {
display: block;
}
@ -13,3 +19,7 @@
#main > h2 + h3 {
display: flex;
}
#main .impl-items .hidden {
display: block !important;
}