summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-05-30 04:10:25 +0500
committerilotterytea <iltsu@alright.party>2025-05-30 04:10:25 +0500
commit8583185e4d7229a247846167e9c6096dc7bf32a4 (patch)
treecf56b18aafd49d5f35b46f188b512149ed0ac56b /public
parent4accc6b67322ffa27f1843c8d526b4e8d5dd81bf (diff)
upd: tint box-content when it has another box
Diffstat (limited to 'public')
-rw-r--r--public/static/style.css6
1 files changed, 6 insertions, 0 deletions
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;