Changes for page Public Web Site

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

From version 12.7
edited by Agnease
on 2026/05/22 10:39
Change comment: There is no comment for this version
To version 11.20
edited by Agnease
on 2026/05/22 10:09
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 {
... ... @@ -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;
1203 + padding: @section-padding;
1204 + background: @brand-bg;
1226 1226  
1227 - .services-grid {
1206 + .resources-intro {
1207 + max-width: 820px;
1208 + margin: 0 auto 32px;
1209 + text-align: center;
1210 +
1211 + p {
1212 + color: @muted;
1213 + font-size: 17px;
1214 + line-height: 1.7;
1215 + margin: 0;
1216 + }
1217 + }
1218 +
1219 + .resources-grid {
1220 + display: grid;
1228 1228   grid-template-columns: repeat(2, minmax(0, 1fr));
1222 + gap: 24px;
1223 + 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;
1226 + .resource-card {
1227 + display: flex;
1228 + gap: 18px;
1229 + background: #fff;
1230 + border: 1px solid @line;
1231 + border-radius: @radius;
1232 + box-shadow: @shadow-sm;
1233 + padding: 24px;
1234 + }
1235 +
1236 + .resource-card-icon {
1237 + flex: 0 0 46px;
1238 + width: 46px;
1239 + height: 46px;
1240 + border-radius: 14px;
1241 + background: @brand-soft;
1242 + color: @brand-strong;
1243 + display: flex;
1244 + align-items: center;
1245 + justify-content: center;
1246 + font-size: 20px;
1247 + }
1248 +
1249 + .resource-card-label {
1250 + color: @brand-strong;
1251 + font-size: 13px;
1252 + font-weight: 700;
1253 + text-transform: uppercase;
1254 + letter-spacing: .04em;
1255 + margin-bottom: 8px;
1256 + }
1257 +
1258 + .resource-card h2 {
1259 + font-size: 22px;
1260 + line-height: 1.25;
1261 + margin: 0 0 12px;
1262 + }
1263 +
1264 + .resource-card h2 a {
1265 + color: @text;
1266 + text-decoration: none;
1267 +
1268 + &:hover {
1269 + color: @brand-strong;
1270 + text-decoration: none;
1236 1236   }
1237 1237   }
1273 +
1274 + .resource-card p {
1275 + color: @muted;
1276 + font-size: 15px;
1277 + line-height: 1.65;
1278 + margin: 0 0 16px;
1279 + }
1280 +
1281 + .resource-card-link {
1282 + color: @brand-strong;
1283 + font-weight: 700;
1284 + text-decoration: none;
1285 +
1286 + &:hover {
1287 + color: @brand;
1288 + text-decoration: none;
1289 + }
1290 + }
1291 +
1292 + .resources-next {
1293 + max-width: 820px;
1294 + margin: 0 auto 32px;
1295 + text-align: center;
1296 +
1297 + h2 {
1298 + font-size: 26px;
1299 + margin: 0 0 10px;
1300 + }
1301 +
1302 + p {
1303 + color: @muted;
1304 + font-size: 16px;
1305 + line-height: 1.7;
1306 + margin: 0;
1307 + }
1308 + }
1238 1238  }
1239 1239  
1240 1240  @media (max-width: 767px) {
1241 1241   .resources-index-page {
1242 1242   padding: @section-padding-mobile;
1314 +
1315 + .resources-intro {
1316 + text-align: left;
1317 + margin-bottom: 24px;
1318 + }
1319 +
1320 + .resources-grid {
1321 + grid-template-columns: 1fr;
1322 + gap: 18px;
1323 + }
1324 +
1325 + .resource-card {
1326 + padding: 20px;
1327 + }
1328 +
1329 + .resource-card h2 {
1330 + font-size: 20px;
1331 + }
1332 +
1333 + .resources-next {
1334 + text-align: left;
1335 + }
1243 1243   }
1244 1244  }
XWiki.StyleSheetExtension[1]
code
... ... @@ -1,34 +1,14 @@
1 1  /* ========== Agnease Public Top Menu ========== */
2 2  
3 3  /* Desktop alignment */
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 - #menuview .navbar-nav {
16 - float: none;
17 - display: flex;
18 - align-items: center;
19 - justify-content: flex-end;
20 - margin: 0;
21 - }
22 -
23 - #menuview .navbar-nav > li {
24 - float: none;
25 - }
4 +#menuview .navbar-nav {
5 + float: right !important;
26 26  }
27 27  
28 28  /* Top-level menu items */
29 29  
30 -#menuview .agnease-menu-item,
31 -#menuview .agnease-menu-link {
10 +.agnease-menu-item,
11 +.agnease-menu-link {
32 32   > a,
33 33   > .dropdown-toggle {
34 34   color: @brand;
... ... @@ -37,7 +37,6 @@
37 37   padding-left: 16px;
38 38   padding-right: 16px;
39 39   text-decoration: none;
40 - background: transparent;
41 41   }
42 42  
43 43   > a:hover,
... ... @@ -48,7 +48,6 @@
48 48   color: @brand-strong;
49 49   text-decoration: none;
50 50   outline: none;
51 - background: transparent;
52 52   }
53 53  
54 54   .caret {
... ... @@ -69,7 +69,7 @@
69 69  
70 70  /* Dropdown panel */
71 71  
72 -#menuview .agnease-dropdown {
50 +.agnease-dropdown {
73 73   min-width: 310px;
74 74   padding: 10px 8px;
75 75   border: 1px solid fade(@brand, 18%);
... ... @@ -88,7 +88,6 @@
88 88   font-weight: 600;
89 89   line-height: 1.3;
90 90   text-decoration: none;
91 - background: transparent;
92 92  
93 93   i {
94 94   width: 20px;
... ... @@ -104,7 +104,6 @@
104 104   color: @brand-strong;
105 105   text-decoration: none;
106 106   outline: none;
107 - background: transparent;
108 108  
109 109   i {
110 110   color: @brand-strong;
... ... @@ -114,7 +114,6 @@
114 114  
115 115   > .active > a {
116 116   color: @brand-strong;
117 - background: transparent;
118 118  
119 119   i {
120 120   color: @brand-strong;
... ... @@ -130,23 +130,14 @@
130 130  /* Mobile */
131 131  
132 132  @media (max-width: 767px) {
133 - #menuview {
108 + .site-nav {
134 134   margin-left: 0;
135 - width: 100%;
110 + justify-content: center;
111 + flex-wrap: wrap;
136 136   }
137 137  
138 - #menuview .navbar-nav {
139 - float: none;
140 - margin: 0;
141 - width: 100%;
142 - }
143 -
144 - #menuview .navbar-nav > li {
145 - float: none;
146 - }
147 -
148 - #menuview .agnease-menu-item,
149 - #menuview .agnease-menu-link {
114 + .agnease-menu-item,
115 + .agnease-menu-link {
150 150   > a,
151 151   > .dropdown-toggle {
152 152   font-size: 16px;
... ... @@ -155,7 +155,7 @@
155 155   }
156 156   }
157 157  
158 - #menuview .agnease-dropdown {
124 + .agnease-dropdown {
159 159   min-width: 0;
160 160   width: 100%;
161 161   padding: 4px 8px 8px 18px;