mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
09e08d0772
**Breaking changes**: 1. Legacy custom style/script files are no longer loaded automatically. 2. Users must migrate custom files to: - `custom.scss` - `override.scss` - `_variables.scss` - `assets/js/custom.js` **Migration guide**: 1. Move `assets/css/_custom.scss` to `assets/scss/custom.scss`. 2. Move `assets/css/_override.scss` to `assets/scss/override.scss`. 3. Keep variables in `assets/scss/_variables.scss`. 4. Move `assets/js/_custom.js` to `assets/js/custom.js`. 5. Rebuild site and verify no deprecation warnings remain.
49 lines
667 B
SCSS
49 lines
667 B
SCSS
@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;
|
|
}
|
|
}
|