Skip to content

Commit

Permalink
disk mod
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperZombi committed Mar 31, 2024
1 parent c8d95f9 commit 464afd2
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 18 deletions.
10 changes: 10 additions & 0 deletions mods/disk/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Disk animation

### Author: [SuperZombi](https://github.com/SuperZombi)

<img src="disk_animation.gif">

### Installation:
1. Download [disk.css](disk.css)
2. Create a `mods` folder next to the `melody-monitor.exe`
3. Move `disk.css` to `mods` folder.
36 changes: 18 additions & 18 deletions mods/disk.css → mods/disk/disk.css
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
/*
Author: SuperZombi
*/
.track-image {
border-radius: 50%;
mask-image: radial-gradient(circle, transparent 15%, black 15%);
mask: radial-gradient(circle, transparent 15%, black 15%);
-webkit-mask: radial-gradient(circle, transparent 15%, black 15%);
animation: rotate 10s linear infinite;
}
@keyframes rotate {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
/*
Author: SuperZombi
*/
.track-image {
border-radius: 50%;
mask-image: radial-gradient(circle, transparent 15%, black 15%);
mask: radial-gradient(circle, transparent 15%, black 15%);
-webkit-mask: radial-gradient(circle, transparent 15%, black 15%);
animation: rotate 10s linear infinite;
}
@keyframes rotate {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
Binary file added mods/disk/disk_animation.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 464afd2

Please sign in to comment.