diff options
author | Chris Xiong <chirs241097@gmail.com> | 2024-08-09 21:42:46 -0400 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2024-08-09 21:42:46 -0400 |
commit | cc94d0bb377daee6fc0b453669391e55dfb82ae6 (patch) | |
tree | f7ce0cadba037c96114845e36614baf22ca8cd1a | |
parent | 960d236df4360d59b22e846c4a0e668a2757ee0a (diff) | |
download | web-cc94d0bb377daee6fc0b453669391e55dfb82ae6.tar.xz |
Only apply style to direct descent of list items in panel.
-rw-r--r-- | common.css | 4 | ||||
-rw-r--r-- | panel.css | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -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{ @@ -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; |