Limit animation to first-child links

This commit is contained in:
Aurelsicoko 2017-10-12 18:40:45 +02:00
parent 282c1e18bf
commit a9e70f2360
2 changed files with 4 additions and 4 deletions

View File

@ -4,12 +4,12 @@ li.header{
letter-spacing: 0.05rem;
}
li.chapter a{
li.chapter > a{
transition: background-color 0.15s ease;
-webkit-transition: background-color 0.15s ease;
}
li.chapter:hover a{
li.chapter:hover > a{
background: #eee !important;
text-decoration: none !important;
}

View File

@ -4,12 +4,12 @@ li.header{
letter-spacing: 0.05rem;
}
li.chapter a{
li.chapter > a{
transition: background-color 0.15s ease;
-webkit-transition: background-color 0.15s ease;
}
li.chapter:hover a{
li.chapter:hover > a{
background: #eee !important;
text-decoration: none !important;
}