Skip to content

Commit

Permalink
Move inlined CSS into style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Oct 3, 2024
1 parent 8a3d4e1 commit 823c124
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 32 deletions.
31 changes: 0 additions & 31 deletions util/gh-pages/index_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -223,37 +223,6 @@ <h2 class="panel-title">
class="octo-body"
></path>
</svg>
<style>
.github-corner svg {
fill: var(--fg);
color: var(--bg);
}
.github-corner:hover .octo-arm {
animation: octocat-wave 560ms ease-in-out;
}
@keyframes octocat-wave {
0%,
100% {
transform: rotate(0);
}
20%,
60% {
transform: rotate(-25deg);
}
40%,
80% {
transform: rotate(10deg);
}
}
@media (max-width: 500px) {
.github-corner:hover .octo-arm {
animation: none;
}
.github-corner .octo-arm {
animation: octocat-wave 560ms ease-in-out;
}
}
</style>
</a>

<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/highlight.min.js"></script>
Expand Down
32 changes: 31 additions & 1 deletion util/gh-pages/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -409,4 +409,34 @@ body {

article.collapsed .lint-docs {
display: none;
}
}

.github-corner svg {
fill: var(--fg);
color: var(--bg);
}
.github-corner:hover .octo-arm {
animation: octocat-wave 560ms ease-in-out;
}
@keyframes octocat-wave {
0%,
100% {
transform: rotate(0);
}
20%,
60% {
transform: rotate(-25deg);
}
40%,
80% {
transform: rotate(10deg);
}
}
@media (max-width: 500px) {
.github-corner:hover .octo-arm {
animation: none;
}
.github-corner .octo-arm {
animation: octocat-wave 560ms ease-in-out;
}
}

0 comments on commit 823c124

Please sign in to comment.