Update winter theme for new menu style

This commit is contained in:
Johannes Meyer 2017-11-27 15:50:33 +01:00
parent 9a4eb7268c
commit 80b0f165ac
1 changed files with 21 additions and 1 deletions

View File

@ -38,3 +38,23 @@
50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
}
#menu .nav-level-2 > .nav-item.active {
> a:focus, > a:hover {
opacity: 1;
}
}
#menu ul.nav-level-1 > .nav-item {
&:focus, &:hover {
background-image: url('../img/winter/snow1.png'), url('../img/winter/snow2.png'), url('../img/winter/snow3.png');
-webkit-animation: snow 10s linear infinite;
-moz-animation: snow 10s linear infinite;
-ms-animation: snow 10s linear infinite;
animation: snow 10s linear infinite;
}
> a:hover, > a:focus {
color: white;
}
}