summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-02-08 23:22:59 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-02-08 23:22:59 +0100
commit1a781435b2c4d06696d31f8b4adce1bd50586c30 (patch)
treeb64965a28ff6742c3f27587975dcde996258204f
parentc4230643d90bf2b724d9549dde5a500fccfdb1ae (diff)
downloadquatuorbellefeuille.com-1a781435b2c4d06696d31f8b4adce1bd50586c30.tar.xz
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.
-rw-r--r--stylesheets/commun.css4
1 files changed, 0 insertions, 4 deletions
diff --git a/stylesheets/commun.css b/stylesheets/commun.css
index 09f51e2..e0f7c8d 100644
--- 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);
}