From a9e70f2360d350dc200fec80f48c741361dc5087 Mon Sep 17 00:00:00 2001 From: Aurelsicoko Date: Thu, 12 Oct 2017 18:40:45 +0200 Subject: [PATCH] Limit animation to first-child links --- docs/1.x.x/en/styles/website.css | 4 ++-- docs/3.x.x/en/styles/website.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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; }