Changes for page Public Web Site

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

From version 11.19
edited by Agnease
on 2026/05/22 10:08
Change comment: There is no comment for this version
To version 12.11
edited by Agnease
on 2026/05/22 10:43
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: 300px;
181 + min-height: 330px;
182 182   }
183 183  
184 184   .hero-inner {
... ... @@ -191,17 +191,16 @@
191 191  
192 192   h1 {
193 193   max-width: 790px;
194 - margin: 0 auto;
194 + margin-left: auto;
195 + margin-right: auto;
195 195   line-height: 1.18;
196 196   }
197 197  
198 198   .lead {
199 199   max-width: 820px;
200 - margin: 12px auto 0;
201 - color: @muted;
202 - text-align: center;
203 203   font-size: 19px;
204 204   line-height: 1.55;
203 + margin-top: 12px;
205 205   }
206 206  
207 207   .benefits {
... ... @@ -1223,138 +1223,23 @@
1223 1223  /* ========== Resources Index ========== */
1224 1224  
1225 1225  .resources-index-page {
1226 - padding: @section-padding;
1227 - background: @brand-bg;
1225 + background: #fff;
1228 1228  
1229 - .resources-intro {
1230 - max-width: 820px;
1231 - margin: 0 auto 32px;
1232 - text-align: center;
1233 -
1234 - p {
1235 - color: @muted;
1236 - font-size: 17px;
1237 - line-height: 1.7;
1238 - margin: 0;
1239 - }
1240 - }
1241 -
1242 - .resources-grid {
1243 - display: grid;
1227 + .services-grid {
1244 1244   grid-template-columns: repeat(2, minmax(0, 1fr));
1245 - gap: 24px;
1246 - margin-bottom: 36px;
1247 1247   }
1230 +}
1248 1248  
1249 - .resource-card {
1250 - display: flex;
1251 - gap: 18px;
1252 - background: #fff;
1253 - border: 1px solid @line;
1254 - border-radius: @radius;
1255 - box-shadow: @shadow-sm;
1256 - padding: 24px;
1257 - }
1258 -
1259 - .resource-card-icon {
1260 - flex: 0 0 46px;
1261 - width: 46px;
1262 - height: 46px;
1263 - border-radius: 14px;
1264 - background: @brand-soft;
1265 - color: @brand-strong;
1266 - display: flex;
1267 - align-items: center;
1268 - justify-content: center;
1269 - font-size: 20px;
1270 - }
1271 -
1272 - .resource-card-label {
1273 - color: @brand-strong;
1274 - font-size: 13px;
1275 - font-weight: 700;
1276 - text-transform: uppercase;
1277 - letter-spacing: .04em;
1278 - margin-bottom: 8px;
1279 - }
1280 -
1281 - .resource-card h2 {
1282 - font-size: 22px;
1283 - line-height: 1.25;
1284 - margin: 0 0 12px;
1285 - }
1286 -
1287 - .resource-card h2 a {
1288 - color: @text;
1289 - text-decoration: none;
1290 -
1291 - &:hover {
1292 - color: @brand-strong;
1293 - text-decoration: none;
1232 +@media (max-width: 980px) {
1233 + .resources-index-page {
1234 + .services-grid {
1235 + grid-template-columns: 1fr;
1294 1294   }
1295 1295   }
1296 -
1297 - .resource-card p {
1298 - color: @muted;
1299 - font-size: 15px;
1300 - line-height: 1.65;
1301 - margin: 0 0 16px;
1302 - }
1303 -
1304 - .resource-card-link {
1305 - color: @brand-strong;
1306 - font-weight: 700;
1307 - text-decoration: none;
1308 -
1309 - &:hover {
1310 - color: @brand;
1311 - text-decoration: none;
1312 - }
1313 - }
1314 -
1315 - .resources-next {
1316 - max-width: 820px;
1317 - margin: 0 auto 32px;
1318 - text-align: center;
1319 -
1320 - h2 {
1321 - font-size: 26px;
1322 - margin: 0 0 10px;
1323 - }
1324 -
1325 - p {
1326 - color: @muted;
1327 - font-size: 16px;
1328 - line-height: 1.7;
1329 - margin: 0;
1330 - }
1331 - }
1332 1332  }
1333 1333  
1334 1334  @media (max-width: 767px) {
1335 1335   .resources-index-page {
1336 1336   padding: @section-padding-mobile;
1337 -
1338 - .resources-intro {
1339 - text-align: left;
1340 - margin-bottom: 24px;
1341 - }
1342 -
1343 - .resources-grid {
1344 - grid-template-columns: 1fr;
1345 - gap: 18px;
1346 - }
1347 -
1348 - .resource-card {
1349 - padding: 20px;
1350 - }
1351 -
1352 - .resource-card h2 {
1353 - font-size: 20px;
1354 - }
1355 -
1356 - .resources-next {
1357 - text-align: left;
1358 - }
1359 1359   }
1360 1360  }
XWiki.StyleSheetExtension[1]
code
... ... @@ -1,14 +1,27 @@
1 1  /* ========== Agnease Public Top Menu ========== */
2 2  
3 3  /* Desktop alignment */
4 -#menuview .navbar-nav {
5 - float: right !important;
4 +
5 +@media (min-width: 768px) {
6 + #menuview {
7 + margin-left: auto;
8 + }
9 +
10 + #menuview .navbar-collapse {
11 + padding-left: 0;
12 + padding-right: 0;
13 + }
14 +
15 + .navbar-left {
16 + float: right !important;
17 + margin: 0;
18 + }
6 6  }
7 7  
8 8  /* Top-level menu items */
9 9  
10 -.agnease-menu-item,
11 -.agnease-menu-link {
23 +#menuview .agnease-menu-item,
24 +#menuview .agnease-menu-link {
12 12   > a,
13 13   > .dropdown-toggle {
14 14   color: @brand;
... ... @@ -17,6 +17,7 @@
17 17   padding-left: 16px;
18 18   padding-right: 16px;
19 19   text-decoration: none;
33 + background: transparent;
20 20   }
21 21  
22 22   > a:hover,
... ... @@ -27,6 +27,7 @@
27 27   color: @brand-strong;
28 28   text-decoration: none;
29 29   outline: none;
44 + background: transparent;
30 30   }
31 31  
32 32   .caret {
... ... @@ -47,7 +47,7 @@
47 47  
48 48  /* Dropdown panel */
49 49  
50 -.agnease-dropdown {
65 +#menuview .agnease-dropdown {
51 51   min-width: 310px;
52 52   padding: 10px 8px;
53 53   border: 1px solid fade(@brand, 18%);
... ... @@ -66,6 +66,7 @@
66 66   font-weight: 600;
67 67   line-height: 1.3;
68 68   text-decoration: none;
84 + background: transparent;
69 69  
70 70   i {
71 71   width: 20px;
... ... @@ -81,6 +81,7 @@
81 81   color: @brand-strong;
82 82   text-decoration: none;
83 83   outline: none;
100 + background: transparent;
84 84  
85 85   i {
86 86   color: @brand-strong;
... ... @@ -90,6 +90,7 @@
90 90  
91 91   > .active > a {
92 92   color: @brand-strong;
110 + background: transparent;
93 93  
94 94   i {
95 95   color: @brand-strong;
... ... @@ -105,14 +105,23 @@
105 105  /* Mobile */
106 106  
107 107  @media (max-width: 767px) {
108 - .site-nav {
126 + #menuview {
109 109   margin-left: 0;
110 - justify-content: center;
111 - flex-wrap: wrap;
128 + width: 100%;
112 112   }
113 113  
114 - .agnease-menu-item,
115 - .agnease-menu-link {
131 + #menuview .navbar-nav {
132 + float: none;
133 + margin: 0;
134 + width: 100%;
135 + }
136 +
137 + #menuview .navbar-nav > li {
138 + float: none;
139 + }
140 +
141 + #menuview .agnease-menu-item,
142 + #menuview .agnease-menu-link {
116 116   > a,
117 117   > .dropdown-toggle {
118 118   font-size: 16px;
... ... @@ -121,7 +121,7 @@
121 121   }
122 122   }
123 123  
124 - .agnease-dropdown {
151 + #menuview .agnease-dropdown {
125 125   min-width: 0;
126 126   width: 100%;
127 127   padding: 4px 8px 8px 18px;