Skip to content

Commit 67c9af5

Browse files
committed
rustdoc: Style of [src] link for trait implementors
A change suggested by @GuillaumeGomez and @QuietMisdreavus. Also slight reindenting of the appropriate CSS section.
1 parent d892e98 commit 67c9af5

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/librustdoc/html/static/rustdoc.css

+8-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,10 @@ h3.impl, h3.method, h4.method, h3.type, h4.type, h4.associatedconstant {
111111
h3.impl, h3.method, h3.type {
112112
margin-top: 15px;
113113
}
114-
h1, h2, h3, h4, .sidebar, a.source, .search-input, .content table :not(code)>a, .collapse-toggle {
114+
115+
h1, h2, h3, h4,
116+
.sidebar, a.source, .search-input, .content table :not(code)>a,
117+
.collapse-toggle, ul.item-list > li > .out-of-band {
115118
font-family: "Fira Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
116119
}
117120

@@ -310,6 +313,10 @@ h4.method > .out-of-band {
310313
font-size: 19px;
311314
}
312315

316+
ul.item-list > li > .out-of-band {
317+
font-size: 19px;
318+
}
319+
313320
h4 > code, h3 > code, .invisible > code {
314321
position: inherit;
315322
}

0 commit comments

Comments
 (0)