Roasted Bean Deploy commited on
Commit ·
cbf9c3e
1
Parent(s): 5973637
🖼️ Fix: move bg image to hero ::after with visible opacity
Browse files- public/css/style.css +5 -10
public/css/style.css
CHANGED
|
@@ -59,11 +59,6 @@ html {
|
|
| 59 |
|
| 60 |
body {
|
| 61 |
background: var(--paper);
|
| 62 |
-
background-image: url('https://images.unsplash.com/photo-1504630083234-14187a9df0f5?w=1920&q=80&fit=crop&crop=center');
|
| 63 |
-
background-size: cover;
|
| 64 |
-
background-position: center;
|
| 65 |
-
background-attachment: fixed;
|
| 66 |
-
background-blend-mode: overlay;
|
| 67 |
overflow-x: hidden;
|
| 68 |
}
|
| 69 |
|
|
@@ -227,11 +222,11 @@ body {
|
|
| 227 |
.hero::after {
|
| 228 |
content: '';
|
| 229 |
position: absolute;
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
pointer-events: none;
|
| 236 |
}
|
| 237 |
|
|
|
|
| 59 |
|
| 60 |
body {
|
| 61 |
background: var(--paper);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
overflow-x: hidden;
|
| 63 |
}
|
| 64 |
|
|
|
|
| 222 |
.hero::after {
|
| 223 |
content: '';
|
| 224 |
position: absolute;
|
| 225 |
+
inset: 0;
|
| 226 |
+
background:
|
| 227 |
+
radial-gradient(ellipse at 80% 50%, rgba(60, 110, 85, 0.04) 0%, transparent 70%),
|
| 228 |
+
url('https://images.unsplash.com/photo-1504630083234-14187a9df0f5?w=1920&q=80&fit=crop&crop=center') center/cover no-repeat;
|
| 229 |
+
opacity: 0.18;
|
| 230 |
pointer-events: none;
|
| 231 |
}
|
| 232 |
|