Skip to content

Commit 2eee3a6

Browse files
authored
Rollup merge of #104380 - rust-lang:notriddle/code-opacity, r=GuillaumeGomez
rustdoc: remove unused CSS `code { opacity: 1 }` According to https://rust-lang.zulipchat.com/#narrow/stream/266220-rustdoc/topic/CSS.20cleanup this style was added for declarations that no longer use opacity.
2 parents 83b6e85 + 2575e4d commit 2eee3a6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/librustdoc/html/static/css/rustdoc.css

-4
Original file line numberDiff line numberDiff line change
@@ -1262,10 +1262,6 @@ h3.variant {
12621262
margin-left: 24px;
12631263
}
12641264

1265-
:target > code, :target > .code-header {
1266-
opacity: 1;
1267-
}
1268-
12691265
:target {
12701266
padding-right: 3px;
12711267
background-color: var(--target-background-color);

0 commit comments

Comments
 (0)