.docblock h3, .docblock h4, h5, h6 {
margin: 15px 0 5px 0;
}
+.docblock > h2:first-child,
+.docblock > h3:first-child,
+.docblock > h4:first-child,
+.docblock > h5:first-child,
+.docblock > h6:first-child {
+ margin-top: 0;
+}
h1.fqn {
margin: 0;
padding: 0;
.impl-items .associatedtype,
.methods .associatedtype {
flex-basis: 100%;
- font-weight: 600;
position: relative;
}
font-size: 1.25rem;
}
-/* Example code has the "Run" button that needs to be positioned relative to the pre */
-pre.rust.rust-example-rendered {
- position: relative;
-}
-
pre.rust {
tab-size: 4;
-moz-tab-size: 4;
.method-toggle summary,
.implementors-toggle summary,
-.impl {
+.impl,
+#implementors-list > .docblock {
margin-bottom: 0.75em;
}