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,40 +251,38 @@ 251 251 252 252 .contrast-band { 253 253 position: relative; 254 - z-index:0;255 - o verflow:visible; /* allow pseudo-elementtoescape */254 + overflow: visible; 255 + isolation: isolate; 256 256 padding: 54px 0; 257 257 border-top: 0; 258 258 color: #fff; 259 - 260 - /* Remove gradient from here */ 261 - background: none; 259 + background: transparent; 262 262 } 263 263 264 -/* Full‑bleed gradient background */ 265 265 .contrast-band::before { 266 266 content: ""; 267 267 position: absolute; 268 268 top: 0; 266 + bottom: 0; 269 269 left: 50%; 270 - width: 100vw; /* full viewport width */ 271 - height: 100%; 268 + width: 100vw; 272 272 transform: translateX(-50%); 273 - z-index: -1; 274 - 270 + z-index: -2; 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; 281 281 } 282 282 283 -/* Grid overlay stays exactly as you had it */ 284 284 .contrast-band::after { 285 285 content: ""; 286 286 position: absolute; 287 - inset: 0; 280 + top: 0; 281 + bottom: 0; 282 + left: 50%; 283 + width: 100vw; 284 + transform: translateX(-50%); 285 + z-index: -1; 288 288 background: 289 289 linear-gradient(90deg, fade(#fff, 4%) 1px, transparent 1px), 290 290 linear-gradient(180deg, fade(#fff, 4%) 1px, transparent 1px); ... ... @@ -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, ... ... @@ -1850,14 +1850,23 @@ 1850 1850 1851 1851 /* ========== Accessibility / Contrast Improvements ========== */ 1852 1852 1848 +/* Make the global background softer and less distracting. */ 1849 +body { 1850 + background: 1851 + radial-gradient(circle at 12% 8%, rgba(0, 147, 125, 0.035) 0, transparent 26%), 1852 + radial-gradient(circle at 90% 28%, rgba(7, 24, 45, 0.025) 0, transparent 30%), 1853 + linear-gradient(180deg, #fff 0, @brand-bg 42%, #fff 100%) !important; 1854 + background-attachment: scroll; 1855 +} 1856 + 1853 1853 /* Keep the article area readable while preserving the page background around it. */ 1854 - /*#mainContentArea .resource-layout {1858 +#mainContentArea .resource-layout { 1855 1855 padding: 28px; 1856 1856 border: 1px solid fade(@line, 85%); 1857 1857 border-radius: @radius; 1858 1858 background: rgba(255, 255, 255, .88); 1859 1859 box-shadow: @shadow-sm; 1860 -} */1864 +} 1861 1861 1862 1862 /* Ensure all reusable cards have a real surface, not transparent over the gradient. */ 1863 1863 #mainContentArea .widget,