Skip to content

Instantly share code, notes, and snippets.

@pacochi
Last active January 16, 2019 16:00
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save pacochi/56d58a141fca4da077d823055b8e4d89 to your computer and use it in GitHub Desktop.
おばけ大行進
/* ==UserStyle==
@name Walking Unaghost
@namespace hen.acho.co
@version 1.1.0
@description kawaii
@author pacochi
==/UserStyle== */
/* for https://mstdn.maud.io/system/accounts/avatars/000/007/337/original/ac9bb15b32f60d26.png */
@keyframes ghostwalkL {
0% { background-position: 90px 0px; }
10% { background-position: 81px 5px; }
20% { background-position: 72px 0px; }
30% { background-position: 63px 5px; }
40% { background-position: 54px 0px; }
50% { background-position: 45px 5px; }
60% { background-position: 36px 0px; }
70% { background-position: 27px 5px; }
80% { background-position: 18px 0px; }
90% { background-position: 9px 5px; }
100% { background-position: 0px 0px; }
}
@keyframes ghostwalkM {
0% { background-position: 48px 0px; }
10% { background-position: 43.2px 3px; }
20% { background-position: 38.4px 0px; }
30% { background-position: 33.6px 3px; }
40% { background-position: 28.8px 0px; }
50% { background-position: 24px 3px; }
60% { background-position: 19.2px 0px; }
70% { background-position: 14.4px 3px; }
80% { background-position: 9.6px 0px; }
90% { background-position: 4.8px 3px; }
100% { background-position: 0px 0px; }
}
@keyframes ghostwalkS {
0% { background-position: 36px 0px; }
10% { background-position: 32.4px 2px; }
20% { background-position: 28.8px 0px; }
30% { background-position: 25.2px 2px; }
40% { background-position: 21.6px 0px; }
50% { background-position: 18px 2px; }
60% { background-position: 14.4px 0px; }
70% { background-position: 10.8px 2px; }
80% { background-position: 7.2px 0px; }
90% { background-position: 3.6px 2px; }
100% { background-position: 0px 0px; }
}
@keyframes ghostwalkSS {
0% { background-position: 24px 0px; }
10% { background-position: 21.6px 1px; }
20% { background-position: 19.2px 0px; }
30% { background-position: 16.8px 1px; }
40% { background-position: 14.4px 0px; }
50% { background-position: 12px 2px; }
60% { background-position: 9.6px 0px; }
70% { background-position: 7.2px 1px; }
80% { background-position: 4.8px 0px; }
90% { background-position: 2.4px 1px; }
100% { background-position: 0px 0px; }
}
a.account__header__avatar[href='https://mstdn.maud.io/@unarist'] {
animation: ghostwalkL 10s infinite;
}
a.status__display-name[href='https://mstdn.maud.io/@unarist'] div.account__avatar {
animation: ghostwalkM 10s infinite;
background-repeat: repeat;
}
a.status__display-name[href='https://mstdn.maud.io/@unarist'] div.account__avatar-overlay-base {
animation: ghostwalkS 10s infinite;
background-repeat: repeat;
}
div[aria-label$='unaristさんがブースト'] div.account__avatar-overlay-overlay,
div[aria-label$='unarist@mstdn.maud.ioさんがブースト'] div.account__avatar-overlay-overlay {
animation: ghostwalkSS 10s infinite;
background-repeat: repeat;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment