MainNavBar: let space invader rotate on hover

This commit is contained in:
Aaron van Geffen 2023-03-11 17:15:59 +01:00
parent 7d19cf823d
commit e6f7476037

View File

@ -89,8 +89,12 @@ i.space-invader::before {
text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6); text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
top: -5px; top: -5px;
transform: rotate(-5deg); transform: rotate(-5deg);
transition: 0.25s;
width: 110px; width: 110px;
} }
.navbar-brand:hover i.space-invader::before {
transform: rotate(5deg);
}
i.space-invader.alt-1::before { i.space-invader.alt-1::before {
content: 'C'; content: 'C';
} }