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
1 changed files with 2 additions and 4 deletions
|
@ -212,8 +212,7 @@ pre.rust a,
|
||||||
.mobile-topbar h2 a,
|
.mobile-topbar h2 a,
|
||||||
h1 a,
|
h1 a,
|
||||||
.search-results a,
|
.search-results a,
|
||||||
.module-item .stab,
|
.item-left .stab,
|
||||||
.import-item .stab,
|
|
||||||
.result-name .primitive > i, .result-name .keyword > i {
|
.result-name .primitive > i, .result-name .keyword > i {
|
||||||
color: var(--main-color);
|
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;
|
0 -1px 0 black;
|
||||||
}
|
}
|
||||||
|
|
||||||
.module-item .stab,
|
.item-left .stab {
|
||||||
.import-item .stab {
|
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue