Skip to content

Commit

Permalink
Rollup merge of #104380 - rust-lang:notriddle/code-opacity, r=Guillau…
Browse files Browse the repository at this point in the history
…meGomez

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.
  • Loading branch information
matthiaskrgr committed Nov 15, 2022
2 parents 83b6e85 + 2575e4d commit 2eee3a6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -1262,10 +1262,6 @@ h3.variant {
margin-left: 24px;
}

:target > code, :target > .code-header {
opacity: 1;
}

:target {
padding-right: 3px;
background-color: var(--target-background-color);
Expand Down

0 comments on commit 2eee3a6

Please sign in to comment.