Changes for page Public Web Site

Last modified by Agnease on 2026/07/03 16:14

From version 28.25
edited by Agnease
on 2026/07/03 13:16
Change comment: There is no comment for this version
To version 28.43
edited by Agnease
on 2026/07/03 14:22
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
code
... ... @@ -251,23 +251,27 @@
251 251  
252 252  .contrast-band {
253 253   position: relative;
254 - overflow: visible;
255 - isolation: isolate;
254 + z-index: 0;
255 + overflow: visible; /* allow pseudo-element to escape */
256 256   padding: 54px 0;
257 257   border-top: 0;
258 258   color: #fff;
259 - background: transparent;
259 +
260 + /* Remove gradient from here */
261 + background: none;
260 260  }
261 261  
264 +/* Full‑bleed gradient background */
262 262  .contrast-band::before {
263 263   content: "";
264 264   position: absolute;
265 265   top: 0;
266 - bottom: 0;
267 267   left: 50%;
268 - width: 100vw;
270 + width: 100vw; /* full viewport width */
271 + height: 100%;
269 269   transform: translateX(-50%);
270 - z-index: -2;
273 + z-index: -1;
274 +
271 271   background:
272 272   radial-gradient(circle at 18% 18%, fade(@brand, 22%) 0%, transparent 28%),
273 273   radial-gradient(circle at 86% 12%, fade(@brand, 16%) 0%, transparent 30%),
... ... @@ -274,15 +274,11 @@
274 274   linear-gradient(135deg, @text 0%, @text-soft 100%);
275 275  }
276 276  
281 +/* Grid overlay stays exactly as you had it */
277 277  .contrast-band::after {
278 278   content: "";
279 279   position: absolute;
280 - top: 0;
281 - bottom: 0;
282 - left: 50%;
283 - width: 100vw;
284 - transform: translateX(-50%);
285 - z-index: -1;
285 + inset: 0;
286 286   background:
287 287   linear-gradient(90deg, fade(#fff, 4%) 1px, transparent 1px),
288 288   linear-gradient(180deg, fade(#fff, 4%) 1px, transparent 1px);
... ... @@ -289,6 +289,7 @@
289 289   background-size: 52px 52px;
290 290   opacity: .38;
291 291   pointer-events: none;
292 + z-index: 0;
292 292  }
293 293  
294 294  .contrast-band .container {
... ... @@ -296,6 +296,7 @@
296 296   z-index: 1;
297 297  }
298 298  
300 +/* Everything below stays unchanged */
299 299  .contrast-panel {
300 300   max-width: 1040px;
301 301   margin: 0 auto;
... ... @@ -366,6 +366,7 @@
366 366   }
367 367  }
368 368  
371 +
369 369  /* ========== Reusable Grids ========== */
370 370  
371 371  .card-grid,
... ... @@ -1845,23 +1845,14 @@
1845 1845  
1846 1846  /* ========== Accessibility / Contrast Improvements ========== */
1847 1847  
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 -
1857 1857  /* Keep the article area readable while preserving the page background around it. */
1858 -#mainContentArea .resource-layout {
1852 +/*#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 -}
1858 +}*/
1865 1865  
1866 1866  /* Ensure all reusable cards have a real surface, not transparent over the gradient. */
1867 1867  #mainContentArea .widget,