From 475a201dbdd3cff71eb0a3746d29e872f3de2a6d Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Tue, 18 Apr 2023 23:57:51 +0800 Subject: [PATCH] With the power of :has(), style columns in odd/even bg if >= 3 childs --- src/app.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app.css b/src/app.css index 028b31be..93d6e429 100644 --- a/src/app.css +++ b/src/app.css @@ -1719,6 +1719,9 @@ ul.link-list li a .icon { box-shadow: -1px 0 var(--bg-color), -2px 0 var(--drop-shadow-color), -3px 0 var(--bg-color); } +#columns:has(> :nth-child(3)) > *:nth-child(even) { + background-color: var(--bg-blur-color); +} #columns .header-grid input { pointer-events: none; }