Changes for page Public Web Site
Last modified by Agnease on 2026/07/03 16:14
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.StyleSheetExtension[0]
-
- code
-
... ... @@ -251,37 +251,25 @@ 251 251 252 252 .contrast-band { 253 253 position: relative; 254 - z-index: 0; 255 - overflow: visible; /* allow pseudo-element to escape */ 254 + overflow: hidden; 256 256 padding: 54px 0; 257 257 border-top: 0; 258 - color: #fff; 259 - 260 - /* Remove gradient from here */ 261 - background: none; 262 -} 263 - 264 -/* Full‑bleed gradient background */ 265 -.contrast-band::before { 266 - content: ""; 267 - position: absolute; 268 - top: 0; 269 - left: 50%; 270 - width: 100vw; /* full viewport width */ 271 - height: 100%; 272 - transform: translateX(-50%); 273 - z-index: -1; 274 - 275 275 background: 276 276 radial-gradient(circle at 18% 18%, fade(@brand, 22%) 0%, transparent 28%), 277 277 radial-gradient(circle at 86% 12%, fade(@brand, 16%) 0%, transparent 30%), 278 278 linear-gradient(135deg, @text 0%, @text-soft 100%); 279 - 280 - background: red !important; 261 + color: #fff; 262 + 263 + /* 264 + * Full-bleed background without changing layout width. 265 + * This extends the dark surface beyond a fixed-width parent 266 + * without using 100vw or negative margins. 267 + */ 268 + box-shadow: 0 0 0 100vmax @text; 269 + clip-path: inset(0 -100vmax); 281 281 } 282 282 283 -/* Grid overlay stays exactly as you had it */ 284 -.contrast-band::after { 272 +.contrast-band::before { 285 285 content: ""; 286 286 position: absolute; 287 287 inset: 0; ... ... @@ -291,7 +291,6 @@ 291 291 background-size: 52px 52px; 292 292 opacity: .38; 293 293 pointer-events: none; 294 - z-index: 0; 295 295 } 296 296 297 297 .contrast-band .container { ... ... @@ -299,7 +299,6 @@ 299 299 z-index: 1; 300 300 } 301 301 302 -/* Everything below stays unchanged */ 303 303 .contrast-panel { 304 304 max-width: 1040px; 305 305 margin: 0 auto; ... ... @@ -370,7 +370,6 @@ 370 370 } 371 371 } 372 372 373 - 374 374 /* ========== Reusable Grids ========== */ 375 375 376 376 .card-grid, ... ... @@ -1856,13 +1856,13 @@ 1856 1856 /* ========== Accessibility / Contrast Improvements ========== */ 1857 1857 1858 1858 /* Keep the article area readable while preserving the page background around it. */ 1859 - /*#mainContentArea .resource-layout {1844 +#mainContentArea .resource-layout { 1860 1860 padding: 28px; 1861 1861 border: 1px solid fade(@line, 85%); 1862 1862 border-radius: @radius; 1863 1863 background: rgba(255, 255, 255, .88); 1864 1864 box-shadow: @shadow-sm; 1865 -} */1850 +} 1866 1866 1867 1867 /* Ensure all reusable cards have a real surface, not transparent over the gradient. */ 1868 1868 #mainContentArea .widget,