add transparency for themes
This commit is contained in:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user