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,36 +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 - border: 2px solid red; 267 - content: ""; 268 - position: absolute; 269 - top: 0; 270 - left: 50%; 271 - width: 100vw; /* full viewport width */ 272 - height: 100%; 273 - transform: translateX(-50%); 274 - z-index: -1; 275 - 276 276 background: 277 277 radial-gradient(circle at 18% 18%, fade(@brand, 22%) 0%, transparent 28%), 278 278 radial-gradient(circle at 86% 12%, fade(@brand, 16%) 0%, transparent 30%), 279 279 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); 280 280 } 281 281 282 -/* Grid overlay stays exactly as you had it */ 283 -.contrast-band::after { 272 +.contrast-band::before { 284 284 content: ""; 285 285 position: absolute; 286 286 inset: 0; ... ... @@ -290,7 +290,6 @@ 290 290 background-size: 52px 52px; 291 291 opacity: .38; 292 292 pointer-events: none; 293 - z-index: 0; 294 294 } 295 295 296 296 .contrast-band .container { ... ... @@ -298,7 +298,6 @@ 298 298 z-index: 1; 299 299 } 300 300 301 -/* Everything below stays unchanged */ 302 302 .contrast-panel { 303 303 max-width: 1040px; 304 304 margin: 0 auto; ... ... @@ -369,7 +369,6 @@ 369 369 } 370 370 } 371 371 372 - 373 373 /* ========== Reusable Grids ========== */ 374 374 375 375 .card-grid, ... ... @@ -1854,14 +1854,23 @@ 1854 1854 1855 1855 /* ========== Accessibility / Contrast Improvements ========== */ 1856 1856 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 + 1857 1857 /* Keep the article area readable while preserving the page background around it. */ 1858 - /*#mainContentArea .resource-layout {1853 +#mainContentArea .resource-layout { 1859 1859 padding: 28px; 1860 1860 border: 1px solid fade(@line, 85%); 1861 1861 border-radius: @radius; 1862 1862 background: rgba(255, 255, 255, .88); 1863 1863 box-shadow: @shadow-sm; 1864 -} */1859 +} 1865 1865 1866 1866 /* Ensure all reusable cards have a real surface, not transparent over the gradient. */ 1867 1867 #mainContentArea .widget,