Changes for page Public Web Site

Last modified by Agnease on 2026/05/30 16:24

From version 18.2
edited by Agnease
on 2026/05/28 10:30
Change comment: There is no comment for this version
To version 18.6
edited by Agnease
on 2026/05/28 10:45
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
code
... ... @@ -167,9 +167,8 @@
167 167  
168 168  .hero {
169 169   overflow: hidden;
170 + position: relative;
170 170  
171 - overflow: hidden;
172 -
173 173   &.hero-centered {
174 174   text-align: center;
175 175   background:
... ... @@ -184,10 +184,49 @@
184 184   &.main-page-hero {
185 185   background:
186 186   linear-gradient(
187 - rgba(244, 252, 250, 0.40),
188 - rgba(255, 255, 255, 0.30)
186 + rgba(244, 252, 250, 0.57),
187 + rgba(255, 255, 255, 0.71)
189 189   ),
190 190   url('/bin/download/PublicWebSite/WebHome/main-page-hero.png') center center / cover no-repeat;
190 +
191 + &::before,
192 + &::after {
193 + content: "";
194 + position: absolute;
195 + pointer-events: none;
196 + z-index: 1;
197 + }
198 +
199 + /* Fade left and right image edges into the page background */
200 + &::before {
201 + inset: 0;
202 + background:
203 + linear-gradient(
204 + 90deg,
205 + #fff 0%,
206 + rgba(255, 255, 255, 0) 13%,
207 + rgba(255, 255, 255, 0) 87%,
208 + #fff 100%
209 + );
210 + }
211 +
212 + /* Fade bottom edge into white before the next section */
213 + &::after {
214 + left: 0;
215 + right: 0;
216 + bottom: 0;
217 + height: 90px;
218 + background: linear-gradient(
219 + 180deg,
220 + rgba(255, 255, 255, 0) 0%,
221 + #fff 100%
222 + );
223 + }
224 +
225 + .hero-inner {
226 + position: relative;
227 + z-index: 2;
228 + }
191 191   }
192 192  
193 193   .hero-inner {