Skip to content

Commit

Permalink
rustdoc: remove unused CSS code { opacity: 1 }
Browse files Browse the repository at this point in the history
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
notriddle authored Nov 13, 2022
1 parent e631891 commit 2575e4d
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 2575e4d

Please sign in to comment.