Skip to content

Commit

Permalink
Auto merge of rust-lang#12350 - hamirmahal:style/sync-GitHub-Corner-c…
Browse files Browse the repository at this point in the history
…olors, r=xFrednet

style: sync GitHub Corner colors

fixes rust-lang#12349.

*Please write a short comment explaining your change (or "none" for internal only changes)*

changelog: sync site GitHub Corner colors
  • Loading branch information
bors committed Feb 26, 2024
2 parents aa2c94e + 3ef693c commit b09fb8a
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions util/gh-pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -594,19 +594,9 @@ <h2 class="panel-title">
></path>
</svg>
<style>
:root {
--theme-background-color: black;
--theme-foreground-color: white;
}
@media (prefers-color-scheme: dark) {
:root {
--theme-background-color: white;
--theme-foreground-color: black;
}
}
.github-corner svg {
fill: var(--theme-background-color);
color: var(--theme-foreground-color);
fill: var(--fg);
color: var(--bg);
}
.github-corner:hover .octo-arm {
animation: octocat-wave 560ms ease-in-out;
Expand Down

0 comments on commit b09fb8a

Please sign in to comment.