Skip to content

Commit 34956ac

Browse files
Rollup merge of rust-lang#53267 - GuillaumeGomez:fix-styles, r=QuietMisdreavus
Fix styles Fixes rust-lang#53262. r? @QuietMisdreavus
2 parents 17d4bd0 + 5a801c8 commit 34956ac

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/librustdoc/html/static/themes/dark.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ a {
165165
color: #ddd;
166166
}
167167

168-
.docblock a:not(.srclink):not(.test-arrow), .docblock-short a:not(.srclink):not(.test-arrow),
169-
.stability a {
168+
.docblock:not(.type-decl) a:not(.srclink):not(.test-arrow), .docblock-short
169+
a:not(.srclink):not(.test-arrow), .stability a {
170170
color: #D2991D;
171171
}
172172

src/librustdoc/html/static/themes/light.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ a {
165165
color: #000;
166166
}
167167

168-
.docblock a:not(.srclink):not(.test-arrow), .docblock-short a:not(.srclink):not(.test-arrow),
169-
.stability a {
168+
.docblock:not(.type-decl) a:not(.srclink):not(.test-arrow), .docblock-short
169+
a:not(.srclink):not(.test-arrow), .stability a {
170170
color: #3873AD;
171171
}
172172

0 commit comments

Comments
 (0)