mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 12:30:41 +01:00
Merge pull request #78 from ansible-semaphore/feature/fix-octocat
Rotate the octocat on the github corner
This commit is contained in:
commit
37b0f62915
@ -63,28 +63,32 @@ ul.nav {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
transform: scale(-1,-1);
|
||||
transform: rotate(360deg) scale(-1,-1);
|
||||
mix-blend-mode: darken;
|
||||
color: #ffffff;
|
||||
fill: #000000;
|
||||
}
|
||||
.octo-body {
|
||||
transform: rotate(-226deg) translate(-250px, -260px);
|
||||
}
|
||||
.octo-arm {
|
||||
transform-origin: 130px 110px;
|
||||
transform: rotate(-226deg) translate(-250px, -260px);
|
||||
}
|
||||
.github-corner:hover .octo-arm{
|
||||
animation:octocat-wave .56s;
|
||||
}
|
||||
|
||||
@keyframes octocat-wave {
|
||||
0%, 100% {
|
||||
transform: rotate(0);
|
||||
}
|
||||
|
||||
20%, 60% {
|
||||
transform:rotate(-20deg);
|
||||
}
|
||||
|
||||
40%, 80% {
|
||||
transform:rotate(10deg);
|
||||
}
|
||||
}
|
||||
0%,
|
||||
100% {
|
||||
transform: rotate(-226deg) translate(-250px, -260px);
|
||||
}
|
||||
20%,
|
||||
60% {
|
||||
transform: rotate(-227deg) translate(-250px, -260px);
|
||||
}
|
||||
40%,
|
||||
80% {
|
||||
transform: rotate(-226deg) translate(-250px, -260px);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user