Changes for page Home
Last modified by Alex Cotiugă on 2026/01/13 13:12
From version 7.156
edited by Alex Cotiugă
on 2025/11/17 11:51
on 2025/11/17 11:51
Change comment:
There is no comment for this version
To version 7.155
edited by Alex Cotiugă
on 2025/11/17 11:50
on 2025/11/17 11:50
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.StyleSheetExtension[0]
-
- Code
-
... ... @@ -13,267 +13,272 @@ 13 13 padding: 0; 14 14 } 15 15 16 -a { 17 - color: @brand; 18 - text-decoration: none; 19 - &:hover { 20 - color: @brand-strong; 21 - text-decoration: underline; 16 +.agnease-landing { 17 + color: @text; 18 + 19 + a { 20 + color: @brand; 21 + text-decoration: none; 22 + &:hover { 23 + color: @brand-strong; 24 + text-decoration: underline; 25 + } 22 22 } 23 -} 24 24 25 -img { 26 - max-width: 100%; 27 - height: auto; 28 - display: block; 29 -} 28 + img { 29 + max-width: 100%; 30 + height: auto; 31 + display: block; 32 + } 30 30 31 -.container { 32 - max-width: @maxw; 33 -} 34 - 35 -.lead { 36 - color: @muted; 37 - text-align: center; 38 -} 39 -h2 { 40 - text-align: center; 41 -} 42 - 43 -section { 44 - padding: 32px 0; 45 - border-top: 1px solid @line; 46 - 47 - &:first-of-type { 48 - border-top: none; 34 + .container { 35 + max-width: @maxw; 49 49 } 50 -} 51 51 52 -/* Buttons */ 53 -.btn { 54 - display: inline-flex; 55 - align-items: center; 56 - justify-content: center; 57 - padding: .85rem 1.1rem; 58 - border-radius: 12px; 59 - border: 2px solid transparent; 60 - font-weight: 650; 61 - letter-spacing: .2px; 62 - cursor: pointer; 63 - box-shadow: @shadow-sm; 64 - 65 - &:focus-visible { 66 - outline: 3px solid @brand; 67 - outline-offset: 2px; 38 + .lead { 39 + color: @muted; 40 + text-align: center; 68 68 } 42 + h2 { 43 + text-align: center; 44 + } 69 69 70 - &-primary { 71 - background: @brand; 72 - color: #fff; 73 - &:hover, 74 - &:focus { 75 - background: @brand-strong; 76 - color: #fff; 46 + section { 47 + padding: 32px 0; 48 + border-top: 1px solid @line; 49 + 50 + &:first-of-type { 51 + border-top: none; 77 77 } 78 78 } 79 -} 80 80 81 -/* ===== HERO ===== */ 82 -.hero { 83 - overflow: hidden; 84 - background-repeat: no-repeat; 85 - background-attachment: scroll; 86 - 87 - &.hero-centered { 88 - text-align: center; 89 - background: 90 - radial-gradient(50rem 18rem at 50% -10%, #E7FFF8 0%, transparent 60%), 91 - radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%); 92 - display: flex; 55 + /* Buttons */ 56 + .btn { 57 + display: inline-flex; 93 93 align-items: center; 94 94 justify-content: center; 95 - min-height: 350px; 96 - } 60 + padding: .85rem 1.1rem; 61 + border-radius: 12px; 62 + border: 2px solid transparent; 63 + font-weight: 650; 64 + letter-spacing: .2px; 65 + cursor: pointer; 66 + box-shadow: @shadow-sm; 97 97 98 - .hero-inner { 99 - max-width: 850px; 100 - margin: 0 auto; 101 - display: flex; 102 - flex-direction: column; 103 - align-items: center; 104 - } 68 + &:focus-visible { 69 + outline: 3px solid @brand; 70 + outline-offset: 2px; 71 + } 105 105 106 - .hero-cta { 107 - display: flex; 108 - gap: 0.8rem; 109 - flex-wrap: wrap; 110 - justify-content: center; 111 - margin-top: 0.3rem; 73 + &-primary { 74 + background: @brand; 75 + color: #fff; 76 + &:hover, 77 + &:focus { 78 + background: @brand-strong; 79 + color: #fff; 80 + } 81 + } 112 112 } 113 113 114 - .benefits { 115 - display: flex; 116 - flex-wrap: wrap; 117 - justify-content: center; 118 - list-style: none; 119 - padding: 0; 120 - margin: 0.8rem 0 0; 121 - color: @muted; 122 - font-size: 14px; 84 + /* ===== HERO ===== */ 85 + .hero { 86 + overflow: hidden; 87 + background-repeat: no-repeat; 88 + background-attachment: scroll; 123 123 124 - li + li::before { 125 - content: "•"; 126 - margin: 0 5px; 90 + &.hero-centered { 91 + text-align: center; 92 + background: 93 + radial-gradient(50rem 18rem at 50% -10%, #E7FFF8 0%, transparent 60%), 94 + radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%); 95 + display: flex; 96 + align-items: center; 97 + justify-content: center; 98 + min-height: 350px; 127 127 } 128 128 129 - @media (max-width: 640px) { 101 + .hero-inner { 102 + max-width: 850px; 103 + margin: 0 auto; 104 + display: flex; 105 + flex-direction: column; 106 + align-items: center; 107 + } 108 + 109 + .hero-cta { 110 + display: flex; 111 + gap: 0.8rem; 112 + flex-wrap: wrap; 113 + justify-content: center; 114 + margin-top: 0.3rem; 115 + } 116 + 117 + .benefits { 118 + display: flex; 119 + flex-wrap: wrap; 120 + justify-content: center; 121 + list-style: none; 122 + padding: 0; 123 + margin: 0.8rem 0 0; 124 + color: @muted; 125 + font-size: 14px; 126 + 130 130 li + li::before { 131 - content: none; 132 - } 133 - li:nth-child(1)::after, 134 - li:nth-child(3)::after { 135 135 content: "•"; 136 136 margin: 0 5px; 137 137 } 131 + 132 + @media (max-width: 640px) { 133 + li + li::before { 134 + content: none; 135 + } 136 + li:nth-child(1)::after, 137 + li:nth-child(3)::after { 138 + content: "•"; 139 + margin: 0 5px; 140 + } 141 + } 138 138 } 139 139 } 140 -} 141 141 142 -/* ===== WHY CHOOSE (cards) ===== */ 143 -.widgets { 144 - margin-top: 12px; 145 - display: grid; 146 - grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); 147 - grid-gap: 16px; 148 -} 149 - 150 -.widget { 151 - padding: 18px; 152 - background: #fff; 153 - border: 1px solid @line; 154 - border-radius: @radius; 155 - box-shadow: @shadow-sm; 156 - transition: transform .18s ease, box-shadow .18s ease; 157 - display: flex; 158 - flex-direction: column; 159 - height: 100%; 160 - 161 - &:hover { 162 - transform: translateY(-2px); 163 - box-shadow: @shadow; 145 + /* ===== WHY CHOOSE (cards) ===== */ 146 + .widgets { 147 + margin-top: 12px; 148 + display: grid; 149 + grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); 150 + grid-gap: 16px; 164 164 } 165 165 166 - .icon { 153 + .widget { 154 + padding: 18px; 155 + background: #fff; 156 + border: 1px solid @line; 157 + border-radius: @radius; 158 + box-shadow: @shadow-sm; 159 + transition: transform .18s ease, box-shadow .18s ease; 167 167 display: flex; 168 - align-items: center; 169 - gap: 10px; 170 - padding-bottom: 6px; 171 - margin-bottom: 8px; 172 - border-bottom: 1px solid fade(@line, 60%); 173 - i { color: @brand; } 174 - h4 { margin: 0; line-height: 1.2; color: @text; } 175 - } 161 + flex-direction: column; 162 + height: 100%; 176 176 177 - p { 178 - margin: 0; 179 - color: @muted; 180 - line-height: 1.45; 181 - } 182 -} 164 + &:hover { 165 + transform: translateY(-2px); 166 + box-shadow: @shadow; 167 + } 183 183 184 -/* ===== SERVICES ===== */ 185 -.services { 186 - .services-grid { 187 - margin-top: 20px; 188 - display: flex; 189 - flex-wrap: wrap; 190 - gap: 24px; 169 + .icon { 170 + display: flex; 171 + align-items: center; 172 + gap: 10px; 173 + padding-bottom: 6px; 174 + margin-bottom: 8px; 175 + border-bottom: 1px solid fade(@line, 60%); 176 + i { color: @brand; } 177 + h4 { margin: 0; line-height: 1.2; color: @text; } 178 + } 191 191 192 - /*center the whole block under the heading */193 - ma x-width:960px;194 - margin-left:auto;195 - margin-right:auto;196 - justify-content: center;180 + p { 181 + margin: 0; 182 + color: @muted; 183 + line-height: 1.45; 184 + } 197 197 } 198 198 199 - .service { 200 - flex: 0 1 calc(50% - 12px); 201 - display: flex; 202 - align-items: flex-start; 203 - gap: 16px; 204 - margin-bottom: 8px; 205 - 206 - .service-icon { 207 - width: 42px; 208 - height: 42px; 209 - border-radius: 50%; 187 + /* ===== SERVICES ===== */ 188 + .services { 189 + .services-grid { 190 + margin-top: 20px; 210 210 display: flex; 211 - align-items: center; 192 + flex-wrap: wrap; 193 + gap: 24px; 194 + 195 + /* center the whole block under the heading */ 196 + max-width: 960px; 197 + margin-left: auto; 198 + margin-right: auto; 212 212 justify-content: center; 213 - font-size: 18px; 214 - color: @brand; 215 - background: fade(@brand, 10%); 216 - flex-shrink: 0; 217 - margin-top: 3px; 218 218 } 219 219 220 - .service-body { 221 - h4 { 222 - margin: 0 0 4px; 223 - font-size: 1.125rem; 224 - font-weight: 800; 202 + .service { 203 + flex: 0 1 calc(50% - 12px); 204 + display: flex; 205 + align-items: flex-start; 206 + gap: 16px; 207 + margin-bottom: 8px; 208 + 209 + .service-icon { 210 + width: 42px; 211 + height: 42px; 212 + border-radius: 50%; 213 + display: flex; 214 + align-items: center; 215 + justify-content: center; 216 + font-size: 18px; 217 + color: @brand; 218 + background: fade(@brand, 10%); 219 + flex-shrink: 0; 220 + margin-top: 3px; 225 225 } 226 - p { 227 - margin: 0 0 6px; 228 - color: @text; 229 - line-height: 1.5; 222 + 223 + .service-body { 224 + h4 { 225 + margin: 0 0 4px; 226 + font-size: 1.125rem; 227 + font-weight: 800; 228 + } 229 + p { 230 + margin: 0 0 6px; 231 + color: @text; 232 + line-height: 1.5; 233 + } 234 + ul { 235 + margin: .45rem 0 0; 236 + padding-left: 1.1rem; 237 + color: @muted; 238 + font-size: 13px; 239 + } 240 + li { 241 + margin: .25rem 0; 242 + line-height: 1.45; 243 + } 230 230 } 231 - ul { 232 - margin: .45rem 0 0; 233 - padding-left: 1.1rem; 234 - color: @muted; 235 - font-size: 13px; 236 - } 237 - li { 238 - margin: .25rem 0; 239 - line-height: 1.45; 240 - } 241 241 } 242 - } 243 243 244 - /* ==== Center last item on its own row while keeping 50% width ==== */ 245 - .service-center { 246 - /* same width as siblings */ 247 - flex: 0 1 calc(55% - 12px); 247 + /* ==== Center last item on its own row while keeping 50% width ==== */ 248 + .service-center { 249 + /* same width as siblings */ 250 + flex: 0 1 calc(55% - 12px); 248 248 249 - /* push to center */ 250 - margin-left: auto; 251 - margin-right: auto; 252 - } 253 - 254 - /* Mobile: 1 per row */ 255 - @media (max-width: 767px) { 256 - .services-grid { 257 - gap: 16px; 258 - max-width: 100%; 252 + /* push to center */ 253 + margin-left: auto; 254 + margin-right: auto; 259 259 } 260 260 261 - .service, 262 - .service-center { 263 - flex: 0 1 100%; 264 - margin-left: 0; 265 - margin-right: 0; 257 + /* Mobile: 1 per row */ 258 + @media (max-width: 767px) { 259 + .services-grid { 260 + gap: 16px; 261 + max-width: 100%; 262 + } 263 + 264 + .service, 265 + .service-center { 266 + flex: 0 1 100%; 267 + margin-left: 0; 268 + margin-right: 0; 269 + } 266 266 } 267 267 } 268 -} 269 269 270 -/* ===== CTA ===== */ 271 -.cta-section { 272 - padding: 24px 0 16px; 273 + /* ===== CTA ===== */ 274 + .cta-section { 275 + padding: 24px 0 16px; 273 273 274 - .contact-inline { 275 - margin: 0; 276 - color: @muted; 277 - a { color: @brand; } 277 + .contact-inline { 278 + margin: 0; 279 + color: @muted; 280 + a { color: @brand; } 281 + } 278 278 } 279 279 } 284 +