Skip to content

Commit 823c124

Browse files
Move inlined CSS into style.css
1 parent 8a3d4e1 commit 823c124

File tree

2 files changed

+31
-32
lines changed

2 files changed

+31
-32
lines changed

util/gh-pages/index_template.html

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -223,37 +223,6 @@ <h2 class="panel-title">
223223
class="octo-body"
224224
></path>
225225
</svg>
226-
<style>
227-
.github-corner svg {
228-
fill: var(--fg);
229-
color: var(--bg);
230-
}
231-
.github-corner:hover .octo-arm {
232-
animation: octocat-wave 560ms ease-in-out;
233-
}
234-
@keyframes octocat-wave {
235-
0%,
236-
100% {
237-
transform: rotate(0);
238-
}
239-
20%,
240-
60% {
241-
transform: rotate(-25deg);
242-
}
243-
40%,
244-
80% {
245-
transform: rotate(10deg);
246-
}
247-
}
248-
@media (max-width: 500px) {
249-
.github-corner:hover .octo-arm {
250-
animation: none;
251-
}
252-
.github-corner .octo-arm {
253-
animation: octocat-wave 560ms ease-in-out;
254-
}
255-
}
256-
</style>
257226
</a>
258227

259228
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/highlight.min.js"></script>

util/gh-pages/style.css

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,4 +409,34 @@ body {
409409

410410
article.collapsed .lint-docs {
411411
display: none;
412-
}
412+
}
413+
414+
.github-corner svg {
415+
fill: var(--fg);
416+
color: var(--bg);
417+
}
418+
.github-corner:hover .octo-arm {
419+
animation: octocat-wave 560ms ease-in-out;
420+
}
421+
@keyframes octocat-wave {
422+
0%,
423+
100% {
424+
transform: rotate(0);
425+
}
426+
20%,
427+
60% {
428+
transform: rotate(-25deg);
429+
}
430+
40%,
431+
80% {
432+
transform: rotate(10deg);
433+
}
434+
}
435+
@media (max-width: 500px) {
436+
.github-corner:hover .octo-arm {
437+
animation: none;
438+
}
439+
.github-corner .octo-arm {
440+
animation: octocat-wave 560ms ease-in-out;
441+
}
442+
}

0 commit comments

Comments
 (0)