summaryrefslogtreecommitdiff
path: root/commun.css
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2020-12-28 17:35:50 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2020-12-28 17:36:46 +0100
commit5aea9a6bd4869441d09cc01c4c3e5a81e5ba5b32 (patch)
tree1db8818f3c6bc5068fc87e16c3cbd7013d5d5d92 /commun.css
parenta463ba1840ed289691994e66ee3cdbd4b02b04d8 (diff)
downloadquatuorbellefeuille.com-5aea9a6bd4869441d09cc01c4c3e5a81e5ba5b32.tar.xz
Highlight currently viewed member in dropdown menu
Diffstat (limited to 'commun.css')
-rw-r--r--commun.css5
1 files changed, 2 insertions, 3 deletions
diff --git a/commun.css b/commun.css
index 6db6981..2826589 100644
--- a/commun.css
+++ b/commun.css
@@ -68,7 +68,6 @@ nav > ol > li {
padding: 0.5em 0.1em;
}
-/* TODO highlight current quatuor member */
nav li.dropdown {
position: relative;
}
@@ -78,7 +77,7 @@ nav li.dropdown ul {
left: 0; /* Offset nav > ol > li padding. */
padding-left: 0;
width: 100%;
- background: white;
+ background: lightgrey;
z-index: 1;
}
nav li.dropdown:hover ul {
@@ -89,7 +88,7 @@ nav li:hover ul li {
list-style-type: none;
}
nav li.dropdown > ul > li:hover {
- background: lightgrey;
+ background: white;
}
nav li.dropdown > ul > li a {
display: block; /* Make link span whole containing block. */