Changes for page Public Web Site

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

From version 28.27
edited by Agnease
on 2026/07/03 13:20
Change comment: There is no comment for this version
To version 28.40
edited by Agnease
on 2026/07/03 14:19
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
code
... ... @@ -251,38 +251,40 @@
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: calc(100vw - 1px);
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 274   linear-gradient(135deg, @text 0%, @text-soft 100%);
279 +
280 + background: red !important;
275 275  }
276 276  
283 +/* 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: calc(100vw - 1px);
284 - transform: translateX(-50%);
285 - z-index: -1;
287 + 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;
294 + 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  
302 +/* 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  
373 +
369 369  /* ========== Reusable Grids ========== */
370 370  
371 371  .card-grid,
... ... @@ -1850,23 +1850,14 @@
1850 1850  
1851 1851  /* ========== Accessibility / Contrast Improvements ========== */
1852 1852  
1853 -/* Make the global background softer and less distracting. */
1854 -body {
1855 - background:
1856 - radial-gradient(circle at 12% 8%, rgba(0, 147, 125, 0.035) 0, transparent 26%),
1857 - radial-gradient(circle at 90% 28%, rgba(7, 24, 45, 0.025) 0, transparent 30%),
1858 - linear-gradient(180deg, #fff 0, @brand-bg 42%, #fff 100%) !important;
1859 - background-attachment: scroll;
1860 -}
1861 -
1862 1862  /* Keep the article area readable while preserving the page background around it. */
1863 -#mainContentArea .resource-layout {
1859 +/*#mainContentArea .resource-layout {
1864 1864   padding: 28px;
1865 1865   border: 1px solid fade(@line, 85%);
1866 1866   border-radius: @radius;
1867 1867   background: rgba(255, 255, 255, .88);
1868 1868   box-shadow: @shadow-sm;
1869 -}
1865 +}*/
1870 1870  
1871 1871  /* Ensure all reusable cards have a real surface, not transparent over the gradient. */
1872 1872  #mainContentArea .widget,