0 Votes

Changes for page Home

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

From version 7.72
edited by Alex Cotiugă
on 2025/11/13 20:29
Change comment: There is no comment for this version
To version 7.70
edited by Alex Cotiugă
on 2025/11/13 20:23
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -50,19 +50,16 @@
50 50   <div class="container">
51 51   <h2 id="why-title">Why choose Agnease</h2>
52 52   <p class="lead">10+ years of XWiki expertise with structured delivery and lasting collaboration</p>
53 -
54 - <div class="row widgets" role="list">
53 + <div class="widgets" role="list">
55 55   #foreach ($entry in $whySectionData)
56 - <div class="col-sm-6 col-md-3">
57 - <article class="widget" role="listitem">
58 - <div class="icon" aria-hidden="true">
59 - <i class="fa fa-$entry.icon"></i>
60 - <h4>$entry.title</h4>
61 - </div>
62 - <p>$entry.content</p>
63 - </article>
64 - </div>
65 - #end
55 + <article class="widget" role="listitem">
56 + <div class="icon" aria-hidden="true">
57 + <i class="fa fa-$entry.icon"></i>
58 + <h4>$entry.title</h4>
59 + </div>
60 + <p>$entry.content</p>
61 + </article>
62 + #end
66 66   </div>
67 67   </div>
68 68   </section>
XWiki.StyleSheetExtension[0]
Code
... ... @@ -120,13 +120,14 @@
120 120   }
121 121   }
122 122  
123 - /* === WHY CHOOSE (widgets using Bootstrap grid) === */
123 + /* === WHY CHOOSE (widgets with inline icon + title) === */
124 124   .widgets {
125 - margin-top: 12px;
125 + display: grid;
126 + gap: 16px;
127 + grid-template-columns: 1fr;
126 126  
127 - /* optional: tighten columns a bit on small screens */
128 - .col-sm-6 {
129 - margin-bottom: 16px;
129 + @media (min-width: 860px) {
130 + grid-template-columns: repeat(4, 1fr);
130 130   }
131 131   }
132 132  
... ... @@ -148,6 +148,7 @@
148 148   box-shadow: @shadow;
149 149   }
150 150  
152 + /* The icon + title row */
151 151   .icon {
152 152   display: flex;
153 153   align-items: center;
... ... @@ -161,6 +161,7 @@
161 161   }
162 162  
163 163   h4 {
166 + /*font-weight: 700; */
164 164   margin: 0;
165 165   color: @text;
166 166   line-height: 1.2;
... ... @@ -167,6 +167,7 @@
167 167   }
168 168   }
169 169  
173 + /* Body paragraph */
170 170   p {
171 171   color: @muted;
172 172   margin: 0;
... ... @@ -174,6 +174,7 @@
174 174   }
175 175   }
176 176  
181 + /* SERVICES */
177 177   /* SERVICES */
178 178   .services {
179 179   h2 {