commit 1a781435b2c4d06696d31f8b4adce1bd50586c30
parent c4230643d90bf2b724d9549dde5a500fccfdb1ae
Author: Kévin Le Gouguec <kevin.legouguec@gmail.com>
Date: Mon, 8 Feb 2021 23:22:59 +0100
Remove transition when dropdown header becomes out of focus
For some reason, 1/5 times Firefox and Chrome will apply the 0.5s
delay on the first paint, i.e. the "quatuor" link will briefly be blue
or purple, then switch back to white.
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/stylesheets/commun.css b/stylesheets/commun.css
@@ -130,9 +130,6 @@ footer.legal {
nav li.dropdown {
position: relative;
}
- nav li.dropdown > a {
- transition: background 0s 0.5s, color 0s 0.5s;
- }
nav li.dropdown ul {
position: absolute;
width: 100%;
@@ -144,7 +141,6 @@ footer.legal {
transition: max-height 0.5s;
}
nav li.dropdown:hover > a {
- transition: none;
background: white;
color: var(--gold);
}