Files
mischlabs/config-public/custom.css
Kroonk 936d1d7b17
All checks were successful
Build & Push Docker Image to Gitea Registry / build-and-push (push) Successful in 15s
Configure 85% opacity dark slate overlay for background image to make it very subtle
2026-07-01 18:07:08 +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;
background-color: #0f172a !important;
}
/* Set the layout wrapper to be 85% dominant dark slate, letting the background peek through subtly (15% visibility) */
#__next, #__next > div, main, .layout, #layout-wrapper {
background-color: rgba(15, 23, 42, 0.85) !important;
}
/* Semi-transparent blur cards */
.card, .widget, .resource-widget {
background-color: rgba(30, 41, 59, 0.45) !important;
backdrop-filter: blur(10px) saturate(120%) !important;
-webkit-backdrop-filter: blur(10px) saturate(120%) !important;
border: 1px solid rgba(255, 255, 255, 0.05) !important;
border-radius: 12px !important;
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
transition: all 0.3s ease !important;
}
.card:hover {
background-color: rgba(51, 65, 85, 0.55) !important;
border: 1px solid rgba(255, 255, 255, 0.12) !important;
transform: translateY(-2px) !important;
box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5) !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;
}