Remove image and overlay backgrounds from App layout.
The background setup, including an image and readability overlay, has been removed from the body element. A simpler color background is now applied to the HTML and body elements, and the root retains transparency. This change simplifies the layout and improves maintainability.
This commit is contained in:
@@ -251,31 +251,10 @@ export default function App() {
|
|||||||
background: #1c140d;
|
background: #1c140d;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Rumtreiberkarte Layer (Image in /public/bg/marauders-map.jpg) */
|
html, body {
|
||||||
body::before {
|
background: #1c140d;
|
||||||
content: "";
|
|
||||||
position: fixed;
|
|
||||||
inset: 0;
|
|
||||||
z-index: -2;
|
|
||||||
background-image: url("/bg/marauders-map.jpg");
|
|
||||||
background-size: cover;
|
|
||||||
background-position: center;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
filter: blur(8px) saturate(1.1) contrast(1.05) brightness(0.95);
|
|
||||||
transform: scale(1.05); /* Blur edges vermeiden */
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Lesbarkeits-Overlay (warm parchment wash) */
|
|
||||||
body::after {
|
|
||||||
content: "";
|
|
||||||
position: fixed;
|
|
||||||
inset: 0;
|
|
||||||
z-index: -1;
|
|
||||||
background:
|
|
||||||
radial-gradient(circle at 15% 20%, rgba(255,220,160,0.18), rgba(0,0,0,0) 40%),
|
|
||||||
radial-gradient(circle at 80% 30%, rgba(255,210,140,0.14), rgba(0,0,0,0) 42%),
|
|
||||||
linear-gradient(180deg, rgba(241,226,194,0.78), rgba(227,201,150,0.78));
|
|
||||||
}
|
}
|
||||||
|
#root { background: transparent; }
|
||||||
|
|
||||||
body {
|
body {
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
|
|||||||
Reference in New Issue
Block a user