Changes for page Public Web Site

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

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

Summary

Details

XWiki.StyleSheetExtension[0]
code
... ... @@ -251,40 +251,38 @@
251 251  
252 252  .contrast-band {
253 253   position: relative;
254 - z-index: 0;
255 - overflow: visible; /* allow pseudo-element to escape */
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: calc(100vw - 1px);
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: calc(100vw - 1px);
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,
... ... @@ -1855,14 +1855,23 @@
1855 1855  
1856 1856  /* ========== Accessibility / Contrast Improvements ========== */
1857 1857  
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 +
1858 1858  /* Keep the article area readable while preserving the page background around it. */
1859 -/*#mainContentArea .resource-layout {
1863 +#mainContentArea .resource-layout {
1860 1860   padding: 28px;
1861 1861   border: 1px solid fade(@line, 85%);
1862 1862   border-radius: @radius;
1863 1863   background: rgba(255, 255, 255, .88);
1864 1864   box-shadow: @shadow-sm;
1865 -}*/
1869 +}
1866 1866  
1867 1867  /* Ensure all reusable cards have a real surface, not transparent over the gradient. */
1868 1868  #mainContentArea .widget,