Add missing CSS rules for associated types
This commit is contained in:
parent
dfde867fcd
commit
5bd9146858
1 changed files with 11 additions and 8 deletions
|
@ -110,7 +110,7 @@ h3 {
|
|||
font-size: 1.3em;
|
||||
}
|
||||
h1, h2, h3:not(.impl):not(.method):not(.type):not(.tymethod):not(.notable),
|
||||
h4:not(.method):not(.type):not(.tymethod):not(.associatedconstant) {
|
||||
h4:not(.method):not(.type):not(.tymethod):not(.associatedconstant):not(.associatedtype) {
|
||||
font-weight: 500;
|
||||
margin: 20px 0 15px 0;
|
||||
padding-bottom: 6px;
|
||||
|
@ -128,10 +128,10 @@ h1.fqn > .in-band > a:hover {
|
|||
text-decoration: underline;
|
||||
}
|
||||
h2, h3:not(.impl):not(.method):not(.type):not(.tymethod),
|
||||
h4:not(.method):not(.type):not(.tymethod):not(.associatedconstant) {
|
||||
h4:not(.method):not(.type):not(.tymethod):not(.associatedconstant):not(.associatedtype) {
|
||||
border-bottom: 1px solid;
|
||||
}
|
||||
h3.impl, h3.method, h4.method, h3.type, h4.type, h4.associatedconstant {
|
||||
h3.impl, h3.method, h4.method, h3.type, h4.type, h4.associatedconstant, h4.associatedtype {
|
||||
flex-basis: 100%;
|
||||
font-weight: 600;
|
||||
margin-top: 16px;
|
||||
|
@ -139,7 +139,7 @@ h3.impl, h3.method, h4.method, h3.type, h4.type, h4.associatedconstant {
|
|||
position: relative;
|
||||
}
|
||||
h3.impl, h3.method, h4.method.trait-impl, h3.type,
|
||||
h4.type.trait-impl, h4.associatedconstant.trait-impl {
|
||||
h4.type.trait-impl, h4.associatedconstant.trait-impl, h4.associatedtype.trait-impl {
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
|
@ -599,8 +599,9 @@ h4 > code, h3 > code, .invisible > code {
|
|||
}
|
||||
|
||||
.content .impl-items .method, .content .impl-items > .type, .impl-items > .associatedconstant,
|
||||
.content .impl-items details > summary > .type,
|
||||
.impl-items details > summary > .associatedconstant {
|
||||
.impl-items > .associatedtype, .content .impl-items details > summary > .type,
|
||||
.impl-items details > summary > .associatedconstant,
|
||||
.impl-items details > summary > .associatedtype {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
|
@ -660,7 +661,8 @@ a {
|
|||
}
|
||||
|
||||
.in-band:hover > .anchor, .impl:hover > .anchor, .method.trait-impl:hover > .anchor,
|
||||
.type.trait-impl:hover > .anchor, .associatedconstant.trait-impl:hover > .anchor {
|
||||
.type.trait-impl:hover > .anchor, .associatedconstant.trait-impl:hover > .anchor,
|
||||
.associatedtype.trait-impl:hover > .anchor {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
}
|
||||
|
@ -1470,7 +1472,8 @@ h4 > .notable-traits {
|
|||
margin-left: 0;
|
||||
}
|
||||
|
||||
.content .impl-items .method, .content .impl-items > .type, .impl-items > .associatedconstant {
|
||||
.content .impl-items .method, .content .impl-items > .type, .impl-items > .associatedconstant,
|
||||
.impl-items > .associatedtype {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue