0 Votes

Changes for page Home

Last modified by Alex Cotiugă on 2026/01/13 13:12

From version 7.104
edited by Alex Cotiugă
on 2025/11/14 07:25
Change comment: There is no comment for this version
To version 7.101
edited by Alex Cotiugă
on 2025/11/13 22:06
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -213,20 +213,20 @@
213 213   </section>
214 214  *#
215 215   <!-- ================= CTA ================= -->
216 - <section id="contact" aria-labelledby="contact-title" class="cta-section">
216 + <section id="contact" aria-labelledby="contact-title">
217 217   <div class="container">
218 - <div class="row">
219 - <div class="col-sm-12">
220 - <div class="cta-inner text-center">
221 - <h3 id="contact-title">Need a reliable plan for your XWiki?</h3>
222 - <p class="lead">
223 - Upgrades, support, and integrations handled with low risk and clear communication.
224 - </p>
225 - <a class="btn btn-primary" href="mailto:hello@agnease.com">
226 - Contact Agnease
227 - </a>
228 - </div>
218 + <div class="row cta-band">
219 + <div class="col-xs-12 col-sm-8">
220 + <h4 id="contact-title">Need a reliable plan for your XWiki?</h4>
221 + <p class="lead" style="margin:0">
222 + Upgrades, support, and integrations handled with low risk and clear communication.
223 + </p>
229 229   </div>
225 + <div class="col-xs-12 col-sm-4 text-sm-right">
226 + <a class="btn btn-primary" href="mailto:hello@agnease.com">
227 + Contact Agnease
228 + </a>
229 + </div>
230 230   </div>
231 231   </div>
232 232   </section>
XWiki.StyleSheetExtension[0]
Code
... ... @@ -290,24 +290,27 @@
290 290   /* CTA BAND */
291 291   #contact {
292 292   .cta-band {
293 - padding: 20px;
294 294   background: #fff;
295 295   border: 1px solid @line;
296 296   border-radius: @radius;
297 297   box-shadow: @shadow;
297 + padding: 20px;
298 298   margin-top: 24px;
299 299  
300 - /* Remove row negative margins so borders look correct */
300 + /* Remove Bootstrap row negative margins so borders are clean */
301 301   margin-left: 0;
302 302   margin-right: 0;
303 303  
304 - /* Enable vertical centering */
305 - .row {
306 - display: flex;
307 - align-items: center;
308 - flex-wrap: wrap; // keeps mobile behavior correct
304 + h3 {
305 + margin: 0 0 4px;
309 309   }
310 310  
308 + .lead {
309 + margin: 0;
310 + color: @muted;
311 + }
312 +
313 + /* Align button on the right on sm+, center on mobile */
311 311   .text-sm-right {
312 312   text-align: center;
313 313   margin-top: 12px;