rustdoc: combine common sidebar background color CSS rules

This commit is contained in:
Michael Howell 2022-12-27 13:59:00 -07:00
parent b38a6d373c
commit 5c0b60f967
3 changed files with 92 additions and 6 deletions

View file

@ -378,10 +378,6 @@ img {
filter: var(--rust-logo-filter);
}
.sidebar, .mobile-topbar, .sidebar-menu-toggle {
background-color: var(--sidebar-background-color);
}
.sidebar {
font-size: 0.875rem;
flex: 0 0 200px;
@ -400,7 +396,8 @@ img {
overflow-y: hidden;
}
.source .sidebar, #src-sidebar-toggle, #source-sidebar {
.sidebar, .mobile-topbar, .sidebar-menu-toggle,
#src-sidebar-toggle, #source-sidebar {
background-color: var(--sidebar-background-color);
}