add transparency for themes

This commit is contained in:
JCEEE
2026-09-10 19:07:57 +01:00
parent a5e3b80ff6
commit 486f239fb1
3 changed files with 12 additions and 2 deletions
+8
View File
@@ -52,6 +52,14 @@
.card.has-accent {
border-top: 3px solid var(--card-accent, #6366f1);
}
/* Background pattern active (has-pattern on the layout root): cards go
translucent so the pattern shows through. Desktop/tablet only — mobile
cards are already fully transparent. */
@media (min-width: 640px) {
:global(.has-pattern) .card {
background: #ffffffd9;
}
}
/* Tablet (2-col grid): anything spanning 3+ collapses to a full row (span 2) */
@media (min-width: 640px) and (max-width: 1023px) {
.card[data-cols='3'],