1
Fork 0

rustdoc: simplify CSS selectors for item table .stab

The module-item and import-item classes are attached to the item-left.
Just target that, instead.
This commit is contained in:
Michael Howell 2022-12-06 17:05:43 -07:00
parent b28d30e1e3
commit 75aef7036f

View file

@ -212,8 +212,7 @@ pre.rust a,
.mobile-topbar h2 a,
h1 a,
.search-results a,
.module-item .stab,
.import-item .stab,
.item-left .stab,
.result-name .primitive > i, .result-name .keyword > i {
color: var(--main-color);
}
@ -1010,8 +1009,7 @@ so that we can apply CSS-filters to change the arrow color in themes */
0 -1px 0 black;
}
.module-item .stab,
.import-item .stab {
.item-left .stab {
border-radius: 3px;
display: inline-block;
font-size: 0.875rem;