Skip to content

Commit

Permalink
fix: Adds rotation animation for CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
valentine195 committed Mar 5, 2024
1 parent be9195f commit 7df6249
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
**/*
!types/**/*
!index.ts
!tsconfig.json
!tsconfig.json
!dist/**/*
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fantasy-statblocks",
"version": "3.19.3",
"version": "4.0.3",
"description": "Create Fantasy statblocks in Obsidian.md",
"scripts": {
"dev": "node ./esbuild.config.mjs",
Expand Down
16 changes: 16 additions & 0 deletions src/settings/settings.css
Original file line number Diff line number Diff line change
Expand Up @@ -217,3 +217,19 @@ details[open].statblock-nested-settings > summary .collapser > .handle {
box-sizing: border-box;
animation: rotation 1s ease infinite;
}


@keyframes rotation {
0% {
transform: scale(1) rotate(-60deg);
}
20% {
transform: /* scale(1.1) */ rotate(-90deg);
}
50% {
transform: /* scale(0.9) */ rotate(690deg);
}
100% {
transform: /* scale(1) */ rotate(660deg);
}
}

0 comments on commit 7df6249

Please sign in to comment.