Changes for page Public Web Site

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

From version 18.5
edited by Agnease
on 2026/05/28 10:44
Change comment: There is no comment for this version
To version 14.3
edited by Agnease
on 2026/05/28 09:09
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -5,7 +5,7 @@
5 5   #set ($discard = $xwiki.ssx.use('PublicWebSite.WebHome'))
6 6   {{html clean="false"}}
7 7  
8 - <section class="hero hero-centered main-page-hero" aria-labelledby="hero-title">
8 + <section class="hero hero-centered" aria-labelledby="hero-title">
9 9   <div class="container hero-inner">
10 10   <h1 id="hero-title">Professional XWiki consulting and engineering</h1>
11 11  
main-page-hero.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Admin
Size
... ... @@ -1,1 +1,0 @@
1 -1.0 MB
Content
mainHeroBackground.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Admin
Size
... ... @@ -1,0 +1,1 @@
1 +959.7 KB
Content
XWiki.StyleSheetExtension[0]
code
... ... @@ -167,7 +167,8 @@
167 167  
168 168  .hero {
169 169   overflow: hidden;
170 - position: relative;
170 + background-repeat: no-repeat;
171 + background-attachment: scroll;
171 171  
172 172   &.hero-centered {
173 173   text-align: center;
... ... @@ -180,54 +180,6 @@
180 180   min-height: 330px;
181 181   }
182 182  
183 - &.main-page-hero {
184 - background:
185 - linear-gradient(
186 - rgba(244, 252, 250, 0.62),
187 - rgba(255, 255, 255, 0.76)
188 - ),
189 - 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 - }
229 - }
230 -
231 231   .hero-inner {
232 232   max-width: 860px;
233 233   margin: 0 auto;
... ... @@ -837,15 +837,6 @@
837 837   min-height: 280px;
838 838   }
839 839  
840 - .hero.main-page-hero {
841 - background:
842 - linear-gradient(
843 - rgba(244, 252, 250, 0.92),
844 - rgba(255, 255, 255, 0.97)
845 - ),
846 - url('/bin/download/PublicWebSite/WebHome/main-page-hero.png') center center / cover no-repeat;
847 - }
848 -
849 849   .hero {
850 850   .lead {
851 851   font-size: 17px;