Files
mischlabs/config-admin/custom.css
Kroonk 3ba3638e5e
All checks were successful
Build & Push Docker Image to Gitea Registry / build-and-push (push) Successful in 14s
Fix background visibility by using settings.yaml background property and making Next.js wrappers transparent in custom.css
2026-07-01 18:04:15 +02:00

47 lines
1.4 KiB
CSS

/* Glassmorphism theme override */
.theme-dark {
--theme-bg: transparent !important;
}
body {
background-image: url('/background.png') !important;
background-size: cover !important;
background-position: center !important;
background-attachment: fixed !important;
background-repeat: no-repeat !important;
}
/* Force transparency on Homepage layout wrappers to prevent covering the background */
#__next, #__next > div, main, .layout, #layout-wrapper {
background-color: transparent !important;
background: transparent !important;
}
/* Semi-transparent blur cards */
.card, .widget, .resource-widget {
background-color: rgba(15, 23, 42, 0.45) !important;
backdrop-filter: blur(14px) saturate(140%) !important;
-webkit-backdrop-filter: blur(14px) saturate(140%) !important;
border: 1px solid rgba(255, 255, 255, 0.08) !important;
border-radius: 12px !important;
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4) !important;
transition: all 0.3s ease !important;
}
.card:hover {
background-color: rgba(30, 41, 59, 0.6) !important;
border: 1px solid rgba(255, 255, 255, 0.16) !important;
transform: translateY(-2px) !important;
box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.6) !important;
}
/* Style headers and category names */
h2, h3 {
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}
/* Resources widget style matching the glass theme */
.resource-widget {
padding: 12px !important;
}