Changes for page Public Web Site
Last modified by Agnease on 2026/05/30 16:24
Summary
-
Objects (1 modified, 0 added, 0 removed)
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: ... ... @@ -183,11 +183,47 @@ 183 183 184 184 &.main-page-hero { 185 185 background: 186 - linear-gradient( 187 - rgba(244, 252, 250, 0.74), 188 - rgba(255, 255, 255, 0.86) 189 - ), 185 + 190 190 url('/bin/download/PublicWebSite/WebHome/main-page-hero.png') center center / cover no-repeat; 187 + 188 + &::before, 189 + &::after { 190 + content: ""; 191 + position: absolute; 192 + pointer-events: none; 193 + z-index: 1; 194 + } 195 + 196 + /* Fade left and right image edges into the page background */ 197 + &::before { 198 + inset: 0; 199 + background: 200 + linear-gradient( 201 + 90deg, 202 + #fff 0%, 203 + rgba(255, 255, 255, 0) 13%, 204 + rgba(255, 255, 255, 0) 87%, 205 + #fff 100% 206 + ); 207 + } 208 + 209 + /* Fade bottom edge into white before the next section */ 210 + &::after { 211 + left: 0; 212 + right: 0; 213 + bottom: 0; 214 + height: 90px; 215 + background: linear-gradient( 216 + 180deg, 217 + rgba(255, 255, 255, 0) 0%, 218 + #fff 100% 219 + ); 220 + } 221 + 222 + .hero-inner { 223 + position: relative; 224 + z-index: 2; 225 + } 191 191 } 192 192 193 193 .hero-inner {