With the power of :has(), style columns in odd/even bg if >= 3 childs

This commit is contained in:
Lim Chee Aun 2023-04-18 23:57:51 +08:00
parent b164d68b4f
commit 475a201dbd

View file

@ -1719,6 +1719,9 @@ ul.link-list li a .icon {
box-shadow: -1px 0 var(--bg-color), -2px 0 var(--drop-shadow-color), box-shadow: -1px 0 var(--bg-color), -2px 0 var(--drop-shadow-color),
-3px 0 var(--bg-color); -3px 0 var(--bg-color);
} }
#columns:has(> :nth-child(3)) > *:nth-child(even) {
background-color: var(--bg-blur-color);
}
#columns .header-grid input { #columns .header-grid input {
pointer-events: none; pointer-events: none;
} }