Changes for page Public Web Site

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

From version 11.20
edited by Agnease
on 2026/05/22 10:09
Change comment: There is no comment for this version
To version 12.16
edited by Agnease
on 2026/05/22 10:58
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 {
... ... @@ -814,6 +814,29 @@
814 814   padding-top: 0;
815 815  }
816 816  
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 +
817 817  .resource-layout {
818 818   display: grid;
819 819   grid-template-columns: minmax(0, 760px) 280px;
... ... @@ -1200,138 +1200,23 @@
1200 1200  /* ========== Resources Index ========== */
1201 1201  
1202 1202  .resources-index-page {
1203 - padding: @section-padding;
1204 - background: @brand-bg;
1225 + background: #fff;
1205 1205  
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;
1227 + .services-grid {
1221 1221   grid-template-columns: repeat(2, minmax(0, 1fr));
1222 - gap: 24px;
1223 - margin-bottom: 36px;
1224 1224   }
1230 +}
1225 1225  
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;
1232 +@media (max-width: 980px) {
1233 + .resources-index-page {
1234 + .services-grid {
1235 + grid-template-columns: 1fr;
1271 1271   }
1272 1272   }
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 - }
1309 1309  }
1310 1310  
1311 1311  @media (max-width: 767px) {
1312 1312   .resources-index-page {
1313 1313   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 - }
1336 1336   }
1337 1337  }
XWiki.StyleSheetExtension[1]
code
... ... @@ -1,14 +1,8 @@
1 1  /* ========== Agnease Public Top Menu ========== */
2 -
3 -/* Desktop alignment */
4 -#menuview .navbar-nav {
5 - float: right !important;
6 -}
7 -
8 8  /* Top-level menu items */
9 9  
10 -.agnease-menu-item,
11 -.agnease-menu-link {
4 +#menuview .agnease-menu-item,
5 +#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;
14 + 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;
25 + background: transparent;
30 30   }
31 31  
32 32   .caret {
... ... @@ -47,7 +47,7 @@
47 47  
48 48  /* Dropdown panel */
49 49  
50 -.agnease-dropdown {
46 +#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;
65 + 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;
81 + 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;
91 + background: transparent;
93 93  
94 94   i {
95 95   color: @brand-strong;
... ... @@ -105,23 +105,33 @@
105 105  /* Mobile */
106 106  
107 107  @media (max-width: 767px) {
108 - .site-nav {
107 + #menuview {
109 109   margin-left: 0;
110 - justify-content: center;
111 - flex-wrap: wrap;
109 + width: 100%;
112 112   }
113 113  
114 - .agnease-menu-item,
115 - .agnease-menu-link {
116 - > a,
117 - > .dropdown-toggle {
118 - font-size: 16px;
119 - padding-top: 9px;
120 - padding-bottom: 9px;
121 - }
112 + #menuview .navbar-nav {
113 + float: none;
114 + margin: 0;
115 + width: 100%;
116 + text-align: center;
122 122   }
123 123  
124 - .agnease-dropdown {
119 + #menuview .navbar-nav > li {
120 + float: none;
121 + display: inline-block;
122 + }
123 +
124 + #menuview .navbar-nav > li.agnease-menu-item > a,
125 + #menuview .navbar-nav > li.agnease-menu-link > a,
126 + #menuview .navbar-nav > li.agnease-menu-item > .dropdown-toggle,
127 + #menuview .navbar-nav > li.agnease-menu-link > .dropdown-toggle {
128 + font-size: 16px;
129 + padding: 10px 10px;
130 + text-align: center;
131 + }
132 +
133 + #menuview .agnease-dropdown {
125 125   min-width: 0;
126 126   width: 100%;
127 127   padding: 4px 8px 8px 18px;
... ... @@ -129,6 +129,7 @@
129 129   border-radius: 0;
130 130   box-shadow: none;
131 131   background: transparent;
141 + text-align: left;
132 132  
133 133   > li > a {
134 134   padding: 8px 10px;