aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2026-01-14 15:16:21 +0100
committerLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2026-01-14 15:16:21 +0100
commita30a7df85a3f96857ff54434fe751636bbe2832a (patch)
tree9b6c6f1562779d5af4137d09d7253e414bf1140a /src
parent7088f2fb94c7c2e15a13782668a391b4e5e5295f (diff)
downloadmem-estrogen-zone-a30a7df85a3f96857ff54434fe751636bbe2832a.tar.gz
mem-estrogen-zone-a30a7df85a3f96857ff54434fe751636bbe2832a.tar.bz2
mem-estrogen-zone-a30a7df85a3f96857ff54434fe751636bbe2832a.tar.lz
mem-estrogen-zone-a30a7df85a3f96857ff54434fe751636bbe2832a.zip

fix: hovering on next section's title should kill previous

Diffstat (limited to 'src')
-rw-r--r--src/app.css10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/app.css b/src/app.css
index 0aee744..35ddf86 100644
--- a/src/app.css
+++ b/src/app.css
@@ -117,27 +117,27 @@
}
}
h1 {
- &:not(:hover):has(~*:hover):not(:has(~h1~*:hover)) {
+ &:not(:hover):has(~*:hover):not(:has(~h1~*:hover,~h1:hover)) {
@apply internal-header-active;
}
}
h2 {
- &:not(:hover):has(~*:hover):not(:has(~h1~*:hover,~h2~*:hover)) {
+ &:not(:hover):has(~*:hover):not(:has(~h1~*:hover,~h2~*:hover,~h1:hover,~h2:hover)) {
@apply internal-header-active;
}
}
h3 {
- &:not(:hover):has(~*:hover):not(:has(~h1~*:hover,~h2~*:hover,~h3~*:hover)) {
+ &:not(:hover):has(~*:hover):not(:has(~h1~*:hover,~h2~*:hover,~h3~*:hover,~h1:hover,~h2:hover,~h3:hover)) {
@apply internal-header-active;
}
}
h4 {
- &:not(:hover):has(~*:hover):not(:has(~h1~*:hover,~h2~*:hover,~h3~*:hover,~h4~*:hover)) {
+ &:not(:hover):has(~*:hover):not(:has(~h1~*:hover,~h2~*:hover,~h3~*:hover,~h4~*:hover,~h1:hover,~h2:hover,~h3:hover,~h4:hover)) {
@apply internal-header-active;
}
}
h5,h6,p {
- &:not(:hover):has(~*:hover):not(:has(~h1~*:hover,~h2~*:hover,~h3~*:hover,~h4~*:hover,~h5~*:hover)) {
+ &:not(:hover):has(~*:hover):not(:has(~h1~*:hover,~h2~*:hover,~h3~*:hover,~h4~*:hover,~h5~*:hover,~h1:hover,~h2:hover,~h3:hover,~h4:hover,~h5:hover)) {
@apply internal-header-active;
}
}