Rollup merge of #105403 - notriddle:notriddle/item-stab-css, r=GuillaumeGomez
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:
commit
c75478b246
@ -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;
|
||||
line-height: 1.2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user