Changes for page Public Web Site

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

From version 28.38
edited by Agnease
on 2026/07/03 14:17
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,28 +251,23 @@
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 - border: 2px solid red;
267 267   content: "";
268 268   position: absolute;
269 269   top: 0;
266 + bottom: 0;
270 270   left: 50%;
271 - width: 100vw; /* full viewport width */
272 - height: 100%;
268 + width: calc(100vw - 1px);
273 273   transform: translateX(-50%);
274 - z-index: -1;
275 -
270 + z-index: -2;
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,11 +279,15 @@
279 279   linear-gradient(135deg, @text 0%, @text-soft 100%);
280 280  }
281 281  
282 -/* Grid overlay stays exactly as you had it */
283 283  .contrast-band::after {
284 284   content: "";
285 285   position: absolute;
286 - inset: 0;
280 + top: 0;
281 + bottom: 0;
282 + left: 50%;
283 + width: calc(100vw - 1px);
284 + transform: translateX(-50%);
285 + z-index: -1;
287 287   background:
288 288   linear-gradient(90deg, fade(#fff, 4%) 1px, transparent 1px),
289 289   linear-gradient(180deg, fade(#fff, 4%) 1px, transparent 1px);
... ... @@ -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  
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 +
1857 1857  /* Keep the article area readable while preserving the page background around it. */
1858 -/*#mainContentArea .resource-layout {
1863 +#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 -}*/
1869 +}
1865 1865  
1866 1866  /* Ensure all reusable cards have a real surface, not transparent over the gradient. */
1867 1867  #mainContentArea .widget,