Show hidden elements by default when JS is disabled
This commit is contained in:
parent
068320b39e
commit
9b09dc0579
1 changed files with 10 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue