updating cards

This commit is contained in:
2026-06-07 00:41:59 +00:00
Unverified
parent 60195efadf
commit c94bf64366

View File

@@ -51,31 +51,22 @@ img[src$='#floatright']{ float:right; margin: 0.7rem; }
/* Page background with Diffusion Layer */ /* Apply shared background to Project Cards and set card color */
body.has-bg::before { article.relative.flex.flex-col.h-full.overflow-hidden.rounded-lg.border.border-neutral-300 {
content: ""; background-image: url('/images/backgrounds/default.gif') !important;
position: fixed; background-size: cover !important;
top: 0; background-position: center !important;
left: 0; background-repeat: no-repeat !important;
width: 100%; /* Card background color with transparency for readability */
height: 100%; background-color: rgba(255, 255, 255, 0.15) !important;
background-image: url('/images/backgrounds/default.gif'); background-blend-mode: overlay !important;
background-size: cover; border: 1px solid rgba(255, 255, 255, 0.2) !important;
background-position: center;
background-attachment: fixed;
background-repeat: no-repeat;
z-index: -10;
/* Diffusion / Overlay layer */
background-color: rgba(0, 0, 0, 0.6);
background-blend-mode: overlay;
filter: blur(5px); /* This adds the diffusion */
transform: scale(1.05); /* Avoid white edges from blur */
} }
/* Ensure background sits behind everything */ /* Dark mode adjustment for card background */
body.has-bg { .dark article.relative.flex.flex-col.h-full.overflow-hidden.rounded-lg.border.border-neutral-300 {
position: relative; background-color: rgba(0, 0, 0, 0.3) !important;
z-index: 1; border: 1px solid rgba(255, 255, 255, 0.1) !important;
} }