From 8583185e4d7229a247846167e9c6096dc7bf32a4 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Fri, 30 May 2025 04:10:25 +0500 Subject: upd: tint box-content when it has another box --- public/static/style.css | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'public/static/style.css') diff --git a/public/static/style.css b/public/static/style.css index be8d5e3..78aa25c 100644 --- a/public/static/style.css +++ b/public/static/style.css @@ -5,6 +5,7 @@ --box-tab-background: #efc2c2; --box-border: #800; --box-content-background: #fff; + --box-content-background-2: #e6d9d9; } * { @@ -67,6 +68,7 @@ button[type=submit]:hover { /** BOX */ .box { + background: var(--box-content-background); border: 2px solid var(--box-border); } @@ -82,6 +84,10 @@ button[type=submit]:hover { padding: 8px; } +.box>.content:has(.box) { + background: var(--box-content-background-2); +} + /** SHORTCUTS */ .column { display: flex; -- cgit v1.2.3