diff --git a/docs/1.x.x/en/styles/website.css b/docs/1.x.x/en/styles/website.css index b53dd85b40..76a04b8d41 100644 --- a/docs/1.x.x/en/styles/website.css +++ b/docs/1.x.x/en/styles/website.css @@ -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; } diff --git a/docs/3.x.x/en/styles/website.css b/docs/3.x.x/en/styles/website.css index b53dd85b40..76a04b8d41 100644 --- a/docs/3.x.x/en/styles/website.css +++ b/docs/3.x.x/en/styles/website.css @@ -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; }