summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2024-08-09 21:42:46 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2024-08-09 21:42:46 -0400
commitcc94d0bb377daee6fc0b453669391e55dfb82ae6 (patch)
treef7ce0cadba037c96114845e36614baf22ca8cd1a
parent960d236df4360d59b22e846c4a0e668a2757ee0a (diff)
downloadweb-cc94d0bb377daee6fc0b453669391e55dfb82ae6.tar.xz
Only apply style to direct descent of list items in panel.
-rw-r--r--common.css4
-rw-r--r--panel.css2
2 files changed, 3 insertions, 3 deletions
diff --git a/common.css b/common.css
index 48a45ac..2145836 100644
--- a/common.css
+++ b/common.css
@@ -100,10 +100,10 @@ body{
del{
text-decoration-color: var(--principal-fg);
}
-#panel li a.active{
+#panel li>a.active{
background-color: var(--list-active-bg);
}
-#panel li a:hover:not(.active){
+#panel li>a:hover:not(.active){
background-color: var(--list-highlighted-bg);
}
#panel,div.footer{
diff --git a/panel.css b/panel.css
index 21f9a0a..aa3f63f 100644
--- a/panel.css
+++ b/panel.css
@@ -20,7 +20,7 @@ left:-0.3em;
margin:0;
font-weight:normal;
}
-#panel li a {
+#panel li>a {
display:block;
padding-left:1.5em;
padding-top:0.5em;