Changes for page Public Web Site

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

From version 28.37
edited by Agnease
on 2026/07/03 14:12
Change comment: There is no comment for this version
To version 28.26
edited by Agnease
on 2026/07/03 13:18
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
code
... ... @@ -251,27 +251,23 @@
251 251  
252 252  .contrast-band {
253 253   position: relative;
254 - overflow: visible; /* allow pseudo-element to escape */
254 + overflow: visible;
255 + isolation: isolate;
255 255   padding: 54px 0;
256 256   border-top: 0;
257 257   color: #fff;
258 -
259 - /* Remove gradient from here */
260 - background: none;
259 + background: transparent;
261 261  }
262 262  
263 -/* Full‑bleed gradient background */
264 264  .contrast-band::before {
265 - border: 2px solid red;
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,11 +278,15 @@
278 278   linear-gradient(135deg, @text 0%, @text-soft 100%);
279 279  }
280 280  
281 -/* Grid overlay stays exactly as you had it */
282 282  .contrast-band::after {
283 283   content: "";
284 284   position: absolute;
285 - inset: 0;
280 + top: 0;
281 + bottom: 0;
282 + left: 50%;
283 + width: 100vw;
284 + transform: translateX(-50%);
285 + z-index: -1;
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,7 +289,6 @@
289 289   background-size: 52px 52px;
290 290   opacity: .38;
291 291   pointer-events: none;
292 - z-index: 0;
293 293  }
294 294  
295 295  .contrast-band .container {
... ... @@ -297,7 +297,6 @@
297 297   z-index: 1;
298 298  }
299 299  
300 -/* Everything below stays unchanged */
301 301  .contrast-panel {
302 302   max-width: 1040px;
303 303   margin: 0 auto;
... ... @@ -368,7 +368,6 @@
368 368   }
369 369  }
370 370  
371 -
372 372  /* ========== Reusable Grids ========== */
373 373  
374 374  .card-grid,
... ... @@ -1853,14 +1853,23 @@
1853 1853  
1854 1854  /* ========== Accessibility / Contrast Improvements ========== */
1855 1855  
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 +
1856 1856  /* Keep the article area readable while preserving the page background around it. */
1857 -/*#mainContentArea .resource-layout {
1863 +#mainContentArea .resource-layout {
1858 1858   padding: 28px;
1859 1859   border: 1px solid fade(@line, 85%);
1860 1860   border-radius: @radius;
1861 1861   background: rgba(255, 255, 255, .88);
1862 1862   box-shadow: @shadow-sm;
1863 -}*/
1869 +}
1864 1864  
1865 1865  /* Ensure all reusable cards have a real surface, not transparent over the gradient. */
1866 1866  #mainContentArea .widget,