Changes for page Public Web Site

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

From version 12.5
edited by Agnease
on 2026/05/22 10:36
Change comment: There is no comment for this version
To version 11.21
edited by Agnease
on 2026/05/22 10:10
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
code
... ... @@ -178,7 +178,7 @@
178 178   display: flex;
179 179   align-items: center;
180 180   justify-content: center;
181 - min-height: 330px;
181 + min-height: 300px;
182 182   }
183 183  
184 184   .hero-inner {
... ... @@ -191,16 +191,17 @@
191 191  
192 192   h1 {
193 193   max-width: 790px;
194 - margin-left: auto;
195 - margin-right: auto;
194 + margin: 0 auto;
196 196   line-height: 1.18;
197 197   }
198 198  
199 199   .lead {
200 200   max-width: 820px;
200 + margin: 12px auto 0;
201 + color: @muted;
202 + text-align: center;
201 201   font-size: 19px;
202 202   line-height: 1.55;
203 - margin-top: 12px;
204 204   }
205 205  
206 206   .benefits {
... ... @@ -760,8 +760,9 @@
760 760   }
761 761   }
762 762  
764 + @media (max-width: 760px) {
763 763   .hero.hero-centered {
764 - min-height: 280px;
766 + min-height: 260px;
765 765   }
766 766  
767 767   .hero {
... ... @@ -813,29 +813,6 @@
813 813   padding-top: 0;
814 814  }
815 815  
816 -.resource-header {
817 - padding: @section-padding;
818 - border-top: none;
819 - background:
820 - radial-gradient(50rem 18rem at 50% -10%, @brand-soft 0%, transparent 60%),
821 - radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%);
822 -
823 - h1 {
824 - margin: 0 auto 14px;
825 - text-align: center;
826 - line-height: 1.18;
827 - }
828 -
829 - .resource-summary {
830 - max-width: 780px;
831 - margin: 0 auto;
832 - color: @muted;
833 - text-align: center;
834 - font-size: 18px;
835 - line-height: 1.55;
836 - }
837 -}
838 -
839 839  .resource-layout {
840 840   display: grid;
841 841   grid-template-columns: minmax(0, 760px) 280px;
... ... @@ -1222,23 +1222,138 @@
1222 1222  /* ========== Resources Index ========== */
1223 1223  
1224 1224  .resources-index-page {
1225 - background: #fff;
1204 + padding: @section-padding;
1205 + background: @brand-bg;
1226 1226  
1227 - .services-grid {
1207 + .resources-intro {
1208 + max-width: 820px;
1209 + margin: 0 auto 32px;
1210 + text-align: center;
1211 +
1212 + p {
1213 + color: @muted;
1214 + font-size: 17px;
1215 + line-height: 1.7;
1216 + margin: 0;
1217 + }
1218 + }
1219 +
1220 + .resources-grid {
1221 + display: grid;
1228 1228   grid-template-columns: repeat(2, minmax(0, 1fr));
1223 + gap: 24px;
1224 + margin-bottom: 36px;
1229 1229   }
1230 -}
1231 1231  
1232 -@media (max-width: 980px) {
1233 - .resources-index-page {
1234 - .services-grid {
1235 - grid-template-columns: 1fr;
1227 + .resource-card {
1228 + display: flex;
1229 + gap: 18px;
1230 + background: #fff;
1231 + border: 1px solid @line;
1232 + border-radius: @radius;
1233 + box-shadow: @shadow-sm;
1234 + padding: 24px;
1235 + }
1236 +
1237 + .resource-card-icon {
1238 + flex: 0 0 46px;
1239 + width: 46px;
1240 + height: 46px;
1241 + border-radius: 14px;
1242 + background: @brand-soft;
1243 + color: @brand-strong;
1244 + display: flex;
1245 + align-items: center;
1246 + justify-content: center;
1247 + font-size: 20px;
1248 + }
1249 +
1250 + .resource-card-label {
1251 + color: @brand-strong;
1252 + font-size: 13px;
1253 + font-weight: 700;
1254 + text-transform: uppercase;
1255 + letter-spacing: .04em;
1256 + margin-bottom: 8px;
1257 + }
1258 +
1259 + .resource-card h2 {
1260 + font-size: 22px;
1261 + line-height: 1.25;
1262 + margin: 0 0 12px;
1263 + }
1264 +
1265 + .resource-card h2 a {
1266 + color: @text;
1267 + text-decoration: none;
1268 +
1269 + &:hover {
1270 + color: @brand-strong;
1271 + text-decoration: none;
1236 1236   }
1237 1237   }
1274 +
1275 + .resource-card p {
1276 + color: @muted;
1277 + font-size: 15px;
1278 + line-height: 1.65;
1279 + margin: 0 0 16px;
1280 + }
1281 +
1282 + .resource-card-link {
1283 + color: @brand-strong;
1284 + font-weight: 700;
1285 + text-decoration: none;
1286 +
1287 + &:hover {
1288 + color: @brand;
1289 + text-decoration: none;
1290 + }
1291 + }
1292 +
1293 + .resources-next {
1294 + max-width: 820px;
1295 + margin: 0 auto 32px;
1296 + text-align: center;
1297 +
1298 + h2 {
1299 + font-size: 26px;
1300 + margin: 0 0 10px;
1301 + }
1302 +
1303 + p {
1304 + color: @muted;
1305 + font-size: 16px;
1306 + line-height: 1.7;
1307 + margin: 0;
1308 + }
1309 + }
1238 1238  }
1239 1239  
1240 1240  @media (max-width: 767px) {
1241 1241   .resources-index-page {
1242 1242   padding: @section-padding-mobile;
1315 +
1316 + .resources-intro {
1317 + text-align: left;
1318 + margin-bottom: 24px;
1319 + }
1320 +
1321 + .resources-grid {
1322 + grid-template-columns: 1fr;
1323 + gap: 18px;
1324 + }
1325 +
1326 + .resource-card {
1327 + padding: 20px;
1328 + }
1329 +
1330 + .resource-card h2 {
1331 + font-size: 20px;
1332 + }
1333 +
1334 + .resources-next {
1335 + text-align: left;
1336 + }
1243 1243   }
1244 1244  }
XWiki.StyleSheetExtension[1]
code
... ... @@ -1,31 +1,8 @@
1 1  /* ========== Agnease Public Top Menu ========== */
2 2  
3 3  /* Desktop alignment */
4 -/* Desktop alignment */
5 -
6 -@media (min-width: 768px) {
7 - #menuview {
8 - width: 100%;
9 - }
10 -
11 - #menuview .navbar-collapse {
12 - width: 100%;
13 - padding-left: 0;
14 - padding-right: 0;
15 - }
16 -
17 - #menuview .navbar-nav {
18 - float: none;
19 - display: flex;
20 - justify-content: flex-end;
21 - align-items: center;
22 - width: 100%;
23 - margin: 0;
24 - }
25 -
26 - #menuview .navbar-nav > li {
27 - float: none;
28 - }
4 +#menuview .navbar-nav {
5 + float: right !important;
29 29  }
30 30  
31 31  /* Top-level menu items */