1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 18:06:38 -04:00

super simple serverless hit counter for fun (#410)

This commit is contained in:
2021-05-30 08:55:37 -04:00
committed by GitHub
parent b3e916e063
commit cfc3334da7
11 changed files with 3571 additions and 114 deletions

View File

@ -16,6 +16,31 @@
will-change: transform; // stylelint-disable-line plugin/no-unsupported-browser-features
}
// modified from https://tobiasahlin.com/spinkit/
.spinner {
width: 20px;
text-align: center;
display: inline-block;
> div {
width: 5px;
height: 10px;
display: inline-block;
animation: loader 1.4s infinite ease-in-out both;
@include colors() {
background-color: c(medium-light);
}
}
.spin-bounce1 {
animation-delay: -0.32s;
}
.spin-bounce2 {
animation-delay: -0.16s;
}
}
@keyframes wave {
0% {
transform: rotate(0deg);
@ -66,6 +91,17 @@
}
}
@keyframes loader {
0%,
80%,
100% {
transform: scale(0);
}
40% {
transform: scale(0.6);
}
}
// https://web.dev/prefers-reduced-motion/#(bonus)-forcing-reduced-motion-on-all-websites
@media (prefers-reduced-motion: reduce) {
*,