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,35 +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%); 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); 279 279 } 280 280 281 -/* Grid overlay stays exactly as you had it */ 282 -.contrast-band::after { 272 +.contrast-band::before { 283 283 content: ""; 284 284 position: absolute; 285 285 inset: 0; ... ... @@ -289,7 +289,6 @@ 289 289 background-size: 52px 52px; 290 290 opacity: .38; 291 291 pointer-events: none; 292 - z-index: 0; 293 293 } 294 294 295 295 .contrast-band .container { ... ... @@ -297,7 +297,6 @@ 297 297 z-index: 1; 298 298 } 299 299 300 -/* Everything below stays unchanged */ 301 301 .contrast-panel { 302 302 max-width: 1040px; 303 303 margin: 0 auto; ... ... @@ -368,7 +368,6 @@ 368 368 } 369 369 } 370 370 371 - 372 372 /* ========== Reusable Grids ========== */ 373 373 374 374 .card-grid, ... ... @@ -1853,14 +1853,23 @@ 1853 1853 1854 1854 /* ========== Accessibility / Contrast Improvements ========== */ 1855 1855 1843 +/* Make the global background softer and less distracting. */ 1844 +body { 1845 + background: 1846 + radial-gradient(circle at 12% 8%, rgba(0, 147, 125, 0.035) 0, transparent 26%), 1847 + radial-gradient(circle at 90% 28%, rgba(7, 24, 45, 0.025) 0, transparent 30%), 1848 + linear-gradient(180deg, #fff 0, @brand-bg 42%, #fff 100%) !important; 1849 + background-attachment: scroll; 1850 +} 1851 + 1856 1856 /* Keep the article area readable while preserving the page background around it. */ 1857 - /*#mainContentArea .resource-layout {1853 +#mainContentArea .resource-layout { 1858 1858 padding: 28px; 1859 1859 border: 1px solid fade(@line, 85%); 1860 1860 border-radius: @radius; 1861 1861 background: rgba(255, 255, 255, .88); 1862 1862 box-shadow: @shadow-sm; 1863 -} */1859 +} 1864 1864 1865 1865 /* Ensure all reusable cards have a real surface, not transparent over the gradient. */ 1866 1866 #mainContentArea .widget,