mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
dd6d320654
* BREAKING CHANGE: refactor with Dart Sass (supplement to #741) * chore: update .gitignore to include .vercel and .env*.local * CI: add build script for Hugo site deployment on Vercel * CI: update build script for Hugo site deployment on Vercel * refactor: update SCSS layout styles and introduce page-style mixin * refactor: reorganize SCSS files and improve layout structure * refactor: rename copy button classes and update related styles
52 lines
721 B
SCSS
52 lines
721 B
SCSS
@use "core/functions" as *;
|
|
@use "core/mixins" as *;
|
|
|
|
@keyframes octocat-wave {
|
|
0%,
|
|
100% {
|
|
transform: rotate(0);
|
|
}
|
|
20%,
|
|
60% {
|
|
transform: rotate(-25deg);
|
|
}
|
|
40%,
|
|
80% {
|
|
transform: rotate(10deg);
|
|
}
|
|
}
|
|
|
|
.github-corner {
|
|
position: fixed;
|
|
top: 0;
|
|
@include z-index(fixed);
|
|
|
|
:hover .octo-arm {
|
|
animation: octocat-wave 560ms ease-in-out;
|
|
}
|
|
|
|
svg {
|
|
width: fi-var(header-height);
|
|
height: fi-var(header-height);
|
|
border: 0;
|
|
color: fi-var(github-corner-color);
|
|
fill: fi-var(github-corner-fill);
|
|
}
|
|
|
|
&.left {
|
|
left: 0;
|
|
|
|
svg {
|
|
transform: scale(-1, 1);
|
|
}
|
|
}
|
|
|
|
&.right {
|
|
right: 0;
|
|
}
|
|
|
|
@include media('print') {
|
|
display: none !important;
|
|
}
|
|
}
|