diff options
Diffstat (limited to 'web/style')
-rw-r--r-- | web/style/js-transition.css | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/web/style/js-transition.css b/web/style/js-transition.css index 648b177..154cd1f 100644 --- a/web/style/js-transition.css +++ b/web/style/js-transition.css @@ -14,6 +14,14 @@ background-color: transparent; } } +@keyframes jst-spin { + from { + transform: rotate(0turn); + } + from { + transform: rotate(-1turn); + } +} .jst-fade { position: fixed; @@ -36,10 +44,14 @@ position: fixed; top: 50vh; left: 50vw; - transform: translate(-50%, -50%); + translate: -50% -50%; color: var(--c-warn); font-size: large; z-index: 11; + animation-name: jst-spin; + animation-duration: 1s; + animation-timing-function: linear; + animation-iteration-count: infinite; } nav { z-index: 11; |