mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
Rollup merge of #101580 - notriddle:notriddle/div-impl-items-div, r=GuillaumeGomez
rustdoc: remove unused CSS `div.impl-items > div` This was added in9077d540dato override the style on `<div>` tags that were acting as headers. These `<div>` tags were replaced with `<section>` tags in32f62607c3, but this CSS was probably already redundant even then (the headers had already been replaced with real `<h3>` and `<h4>` tags in76a3b609d0).
This commit is contained in:
@@ -197,10 +197,6 @@ h4.code-header {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
div.impl-items > div {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6,
|
||||
.sidebar,
|
||||
.mobile-topbar,
|
||||
@@ -212,7 +208,6 @@ a.source,
|
||||
span.since,
|
||||
#source-sidebar, #sidebar-toggle,
|
||||
details.rustdoc-toggle > summary::before,
|
||||
div.impl-items > div:not(.docblock):not(.item-info),
|
||||
.content ul.crate a.crate,
|
||||
a.srclink,
|
||||
#help-button > button,
|
||||
|
||||
Reference in New Issue
Block a user