Changes for page Public Web Site
Last modified by Agnease on 2026/05/30 16:24
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (2 modified, 1 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -146,7 +146,7 @@ 146 146 </div> 147 147 </section> 148 148 149 - <section class="resource-strip homepage-resource-strip" aria-labelledby="resources-title">149 + <section class="resource-strip" aria-labelledby="resources-title"> 150 150 <div class="container"> 151 151 <h2 id="resources-title">Useful XWiki resources</h2> 152 152 <p class="section-intro">
- XWiki.StyleSheetExtension[0]
-
- code
-
... ... @@ -329,6 +329,12 @@ 329 329 border: 1px solid @line; 330 330 border-radius: @radius; 331 331 box-shadow: @shadow-sm; 332 + transition: transform .18s ease, box-shadow .18s ease; 333 + 334 + &:hover { 335 + transform: translateY(-2px); 336 + box-shadow: @shadow; 337 + } 332 332 } 333 333 334 334 /* ========== Small Widgets ========== */ ... ... @@ -593,102 +593,6 @@ 593 593 } 594 594 } 595 595 596 -.resource-content { 597 - order: 1; 598 -} 599 - 600 -.resource-sidebar { 601 - order: 2; 602 -} 603 - 604 -@media (max-width: 767px) { 605 - .resource-layout { 606 - display: flex; 607 - flex-direction: column; 608 - } 609 - 610 - .resource-sidebar { 611 - order: 0; 612 - position: static; 613 - width: 100%; 614 - } 615 - 616 - .resource-content { 617 - order: 1; 618 - } 619 -} 620 - 621 -/* ========== Homepage Resource Strip ========== */ 622 - 623 -.homepage-resource-strip { 624 - background: 625 - radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 70%); 626 - 627 - .resource-grid { 628 - max-width: 1040px; 629 - margin: 26px auto 0; 630 - display: grid; 631 - grid-template-columns: repeat(2, minmax(0, 1fr)); 632 - grid-gap: 22px; 633 - align-items: stretch; 634 - } 635 - 636 - .resource-card { 637 - display: flex; 638 - flex-direction: column; 639 - min-width: 0; 640 - min-height: 100%; 641 - padding: 26px; 642 - } 643 - 644 - .resource-card h4 { 645 - margin: 0 0 10px; 646 - color: @text; 647 - font-size: 21px; 648 - line-height: 1.25; 649 - font-weight: 700; 650 - } 651 - 652 - .resource-card p { 653 - margin: 0 0 18px; 654 - color: @muted; 655 - font-size: 15px; 656 - line-height: 1.6; 657 - } 658 - 659 - .resource-card a { 660 - margin-top: auto; 661 - color: @brand; 662 - font-weight: 700; 663 - text-decoration: underline; 664 - 665 - &:hover, 666 - &:focus { 667 - color: @brand-strong; 668 - } 669 - } 670 -} 671 - 672 -@media (max-width: 980px) { 673 - .homepage-resource-strip { 674 - .resource-grid { 675 - grid-template-columns: 1fr; 676 - } 677 - } 678 -} 679 - 680 -@media (max-width: 640px) { 681 - .homepage-resource-strip { 682 - .resource-card { 683 - padding: 22px; 684 - } 685 - 686 - .resource-card h4 { 687 - font-size: 19px; 688 - } 689 - } 690 -} 691 - 692 692 /* ========== CTA ========== */ 693 693 694 694 .cta-section { ... ... @@ -816,563 +816,3 @@ 816 816 padding: 24px 20px; 817 817 } 818 818 } 819 -/* ========== Resource / Article Pages ========== */ 820 - 821 -.resource-page { 822 - padding-top: 34px; 823 -} 824 - 825 -.resource-header { 826 - padding: 40px 0 30px; 827 - border-top: none; 828 - background: 829 - radial-gradient(50rem 18rem at 50% -10%, @brand-soft 0%, transparent 60%), 830 - radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%); 831 - 832 - h1 { 833 - margin: 0 auto 14px; 834 - text-align: center; 835 - line-height: 1.18; 836 - } 837 - 838 - .resource-summary { 839 - max-width: 780px; 840 - margin: 0 auto; 841 - color: @muted; 842 - text-align: center; 843 - font-size: 18px; 844 - line-height: 1.55; 845 - } 846 -} 847 - 848 -.resource-layout { 849 - display: grid; 850 - grid-template-columns: minmax(0, 760px) 280px; 851 - gap: 42px; 852 - max-width: 1080px; 853 - margin: 0 auto; 854 - align-items: start; 855 -} 856 - 857 -.resource-content { 858 - color: @text; 859 - font-size: 16px; 860 - line-height: 1.68; 861 - 862 - h2 { 863 - text-align: left; 864 - margin: 34px 0 12px; 865 - line-height: 1.28; 866 - } 867 - 868 - h3 { 869 - margin: 24px 0 8px; 870 - line-height: 1.3; 871 - } 872 - 873 - p { 874 - margin: 0 0 16px; 875 - } 876 - 877 - ul, 878 - ol { 879 - margin: 0 0 18px; 880 - padding-left: 22px; 881 - } 882 - 883 - li { 884 - margin: 6px 0; 885 - } 886 - 887 - strong { 888 - color: @text; 889 - } 890 -} 891 - 892 -.resource-note { 893 - border-left: 4px solid @brand; 894 - background: @brand-bg; 895 - padding: 16px 18px; 896 - margin: 22px 0; 897 - border-radius: 0 @radius @radius 0; 898 - 899 - p:last-child { 900 - margin-bottom: 0; 901 - } 902 -} 903 - 904 -.resource-checklist { 905 - margin: 18px 0 24px; 906 - padding: 0; 907 - list-style: none; 908 - 909 - li { 910 - position: relative; 911 - padding: 10px 0 10px 34px; 912 - border-bottom: 1px solid @line; 913 - 914 - &:before { 915 - content: "\f00c"; 916 - font-family: FontAwesome; 917 - position: absolute; 918 - left: 0; 919 - top: 11px; 920 - color: @brand; 921 - } 922 - } 923 -} 924 - 925 -.resource-sidebar { 926 - position: sticky; 927 - top: 96px; 928 - border: 1px solid @line; 929 - border-radius: @radius; 930 - padding: 18px; 931 - background: #fff; 932 - box-shadow: @shadow-sm; 933 - 934 - h4 { 935 - margin: 0 0 10px; 936 - } 937 - 938 - ul { 939 - margin: 0; 940 - padding-left: 18px; 941 - color: @muted; 942 - } 943 - 944 - li { 945 - margin: 8px 0; 946 - } 947 - 948 - a { 949 - color: @brand; 950 - font-weight: 600; 951 - } 952 -} 953 - 954 -.resource-cta { 955 - margin-top: 36px; 956 - padding: 22px; 957 - border: 1px solid fade(@brand, 20%); 958 - border-radius: @radius; 959 - background: @brand-bg; 960 - 961 - h3 { 962 - margin-top: 0; 963 - } 964 - 965 - p { 966 - color: @muted; 967 - } 968 -} 969 - 970 -@media (max-width: 900px) { 971 - .resource-layout { 972 - grid-template-columns: 1fr; 973 - } 974 - 975 - .resource-sidebar { 976 - position: static; 977 - } 978 -} 979 -/* ========== Products / Extensions Pages ========== */ 980 - 981 -.product-index-section { 982 - padding: 52px 0 56px; 983 - 984 - h2 { 985 - margin-bottom: 10px; 986 - } 987 -} 988 - 989 -.product-card-grid { 990 - max-width: 840px; 991 - margin: 28px auto 0; 992 - display: grid; 993 - grid-template-columns: 1fr; 994 - grid-gap: 18px; 995 -} 996 - 997 -.product-card { 998 - background: #fff; 999 - border: 1px solid @line; 1000 - border-radius: @radius; 1001 - box-shadow: @shadow-sm; 1002 - padding: 28px; 1003 - display: grid; 1004 - grid-template-columns: 68px 1fr; 1005 - grid-gap: 22px; 1006 - align-items: start; 1007 - transition: transform .18s ease, box-shadow .18s ease; 1008 - 1009 - &:hover { 1010 - transform: translateY(-2px); 1011 - box-shadow: @shadow; 1012 - } 1013 - 1014 - .product-card-icon { 1015 - width: 58px; 1016 - height: 58px; 1017 - border-radius: 50%; 1018 - background: fade(@brand, 10%); 1019 - border: 1px solid fade(@brand, 20%); 1020 - color: @brand; 1021 - display: flex; 1022 - align-items: center; 1023 - justify-content: center; 1024 - font-size: 22px; 1025 - flex-shrink: 0; 1026 - } 1027 - 1028 - h3 { 1029 - margin: 0 0 10px; 1030 - color: @text; 1031 - font-size: 23px; 1032 - line-height: 1.25; 1033 - font-weight: 800; 1034 - } 1035 - 1036 - p { 1037 - color: @muted; 1038 - line-height: 1.6; 1039 - } 1040 - 1041 - .card-link { 1042 - margin: 0; 1043 - 1044 - a { 1045 - font-weight: 700; 1046 - } 1047 - } 1048 -} 1049 - 1050 -.product-card-kicker { 1051 - margin-bottom: 10px; 1052 - padding: 5px 10px; 1053 - font-size: 12px; 1054 - text-transform: uppercase; 1055 - letter-spacing: .04em; 1056 -} 1057 - 1058 -.product-highlights { 1059 - margin: 14px 0 20px; 1060 - padding-left: 18px; 1061 - color: @muted; 1062 - 1063 - li { 1064 - margin: 6px 0; 1065 - line-height: 1.45; 1066 - } 1067 -} 1068 - 1069 -/* ========== Individual Product Pages ========== */ 1070 - 1071 -.product-layout { 1072 - display: grid; 1073 - grid-template-columns: 1.1fr .9fr; 1074 - grid-gap: 36px; 1075 - max-width: 1040px; 1076 - margin: 0 auto; 1077 - align-items: start; 1078 -} 1079 - 1080 -.product-summary-card, 1081 -.product-info-card, 1082 -.product-gallery-panel { 1083 - background: #fff; 1084 - border: 1px solid @line; 1085 - border-radius: @radius; 1086 - box-shadow: @shadow-sm; 1087 -} 1088 - 1089 -.product-summary-card { 1090 - padding: 26px; 1091 - 1092 - h2 { 1093 - text-align: left; 1094 - margin-top: 0; 1095 - } 1096 - 1097 - p { 1098 - color: @muted; 1099 - line-height: 1.6; 1100 - } 1101 - 1102 - p:last-child { 1103 - margin-bottom: 0; 1104 - } 1105 -} 1106 - 1107 -.product-info-card { 1108 - padding: 22px; 1109 - 1110 - h3 { 1111 - margin-top: 0; 1112 - margin-bottom: 12px; 1113 - } 1114 - 1115 - ul { 1116 - margin: 0; 1117 - padding-left: 20px; 1118 - color: @muted; 1119 - } 1120 - 1121 - li { 1122 - margin: 8px 0; 1123 - line-height: 1.45; 1124 - } 1125 -} 1126 - 1127 -.product-feature-grid { 1128 - display: grid; 1129 - grid-template-columns: repeat(3, minmax(0, 1fr)); 1130 - grid-gap: 18px; 1131 - max-width: 1040px; 1132 - margin: 26px auto 0; 1133 -} 1134 - 1135 -.product-feature { 1136 - background: #fff; 1137 - border: 1px solid @line; 1138 - border-radius: @radius; 1139 - box-shadow: @shadow-sm; 1140 - padding: 22px; 1141 - transition: transform .18s ease, box-shadow .18s ease; 1142 - 1143 - &:hover { 1144 - transform: translateY(-2px); 1145 - box-shadow: @shadow; 1146 - } 1147 - 1148 - .feature-icon { 1149 - width: 46px; 1150 - height: 46px; 1151 - border-radius: 50%; 1152 - background: fade(@brand, 10%); 1153 - color: @brand; 1154 - display: flex; 1155 - align-items: center; 1156 - justify-content: center; 1157 - margin-bottom: 14px; 1158 - font-size: 18px; 1159 - } 1160 - 1161 - h3 { 1162 - margin: 0 0 8px; 1163 - color: @text; 1164 - font-size: 18px; 1165 - line-height: 1.25; 1166 - } 1167 - 1168 - p { 1169 - margin: 0; 1170 - color: @muted; 1171 - line-height: 1.5; 1172 - } 1173 -} 1174 - 1175 -.product-gallery-panel { 1176 - max-width: 1040px; 1177 - margin: 20px auto 0; 1178 - padding: 26px; 1179 - 1180 - h2 { 1181 - margin-top: 0; 1182 - text-align: center; 1183 - } 1184 - 1185 - .gallery-note { 1186 - max-width: 700px; 1187 - margin: 0 auto 18px; 1188 - color: @muted; 1189 - text-align: center; 1190 - line-height: 1.55; 1191 - } 1192 -} 1193 - 1194 -.product-gallery-placeholder { 1195 - min-height: 260px; 1196 - padding: 28px; 1197 - border: 1px dashed fade(@brand, 40%); 1198 - border-radius: @radius; 1199 - background: fade(@brand, 5%); 1200 - color: @muted; 1201 - text-align: center; 1202 - display: flex; 1203 - align-items: center; 1204 - justify-content: center; 1205 -} 1206 - 1207 -.product-section-muted { 1208 - background: 1209 - radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 65%); 1210 -} 1211 - 1212 -@media (max-width: 980px) { 1213 - .product-layout, 1214 - .product-feature-grid { 1215 - grid-template-columns: 1fr; 1216 - } 1217 - 1218 - .product-summary-card h2 { 1219 - text-align: center; 1220 - } 1221 -} 1222 - 1223 -@media (max-width: 640px) { 1224 - .product-card { 1225 - grid-template-columns: 1fr; 1226 - padding: 22px; 1227 - text-align: left; 1228 - 1229 - .product-card-icon { 1230 - margin-bottom: 2px; 1231 - } 1232 - } 1233 - 1234 - .product-summary-card, 1235 - .product-info-card, 1236 - .product-feature, 1237 - .product-gallery-panel { 1238 - padding: 20px; 1239 - } 1240 -} 1241 -/* ========== Resources Index ========== */ 1242 - 1243 -.resources-index-page { 1244 - padding: 56px 0 72px; 1245 - background: @brand-bg; 1246 -} 1247 - 1248 -.resources-intro { 1249 - max-width: 820px; 1250 - margin: 0 auto 32px; 1251 - text-align: center; 1252 -} 1253 - 1254 -.resources-intro p { 1255 - color: @muted; 1256 - font-size: 17px; 1257 - line-height: 1.7; 1258 - margin: 0; 1259 -} 1260 - 1261 -.resources-grid { 1262 - display: grid; 1263 - grid-template-columns: repeat(2, minmax(0, 1fr)); 1264 - gap: 24px; 1265 - margin-bottom: 36px; 1266 -} 1267 - 1268 -.resource-card { 1269 - display: flex; 1270 - gap: 18px; 1271 - background: #fff; 1272 - border: 1px solid @line; 1273 - border-radius: @radius; 1274 - box-shadow: @shadow-sm; 1275 - padding: 24px; 1276 -} 1277 - 1278 -.resource-card-icon { 1279 - flex: 0 0 46px; 1280 - width: 46px; 1281 - height: 46px; 1282 - border-radius: 14px; 1283 - background: @brand-soft; 1284 - color: @brand-strong; 1285 - display: flex; 1286 - align-items: center; 1287 - justify-content: center; 1288 - font-size: 20px; 1289 -} 1290 - 1291 -.resource-card-label { 1292 - color: @brand-strong; 1293 - font-size: 13px; 1294 - font-weight: 700; 1295 - text-transform: uppercase; 1296 - letter-spacing: .04em; 1297 - margin-bottom: 8px; 1298 -} 1299 - 1300 -.resource-card h2 { 1301 - font-size: 22px; 1302 - line-height: 1.25; 1303 - margin: 0 0 12px; 1304 -} 1305 - 1306 -.resource-card h2 a { 1307 - color: @text; 1308 - text-decoration: none; 1309 -} 1310 - 1311 -.resource-card h2 a:hover { 1312 - color: @brand-strong; 1313 - text-decoration: none; 1314 -} 1315 - 1316 -.resource-card p { 1317 - color: @muted; 1318 - font-size: 15px; 1319 - line-height: 1.65; 1320 - margin: 0 0 16px; 1321 -} 1322 - 1323 -.resource-card-link { 1324 - color: @brand-strong; 1325 - font-weight: 700; 1326 - text-decoration: none; 1327 -} 1328 - 1329 -.resource-card-link:hover { 1330 - color: @brand; 1331 - text-decoration: none; 1332 -} 1333 - 1334 -.resources-next { 1335 - max-width: 820px; 1336 - margin: 0 auto 32px; 1337 - text-align: center; 1338 -} 1339 - 1340 -.resources-next h2 { 1341 - font-size: 26px; 1342 - margin: 0 0 10px; 1343 -} 1344 - 1345 -.resources-next p { 1346 - color: @muted; 1347 - font-size: 16px; 1348 - line-height: 1.7; 1349 - margin: 0; 1350 -} 1351 - 1352 -@media (max-width: 767px) { 1353 - .resources-index-page { 1354 - padding: 36px 0 52px; 1355 - } 1356 - 1357 - .resources-intro { 1358 - text-align: left; 1359 - margin-bottom: 24px; 1360 - } 1361 - 1362 - .resources-grid { 1363 - grid-template-columns: 1fr; 1364 - gap: 18px; 1365 - } 1366 - 1367 - .resource-card { 1368 - padding: 20px; 1369 - } 1370 - 1371 - .resource-card h2 { 1372 - font-size: 20px; 1373 - } 1374 - 1375 - .resources-next { 1376 - text-align: left; 1377 - } 1378 -}
- XWiki.StyleSheetExtension[1]
-
- code
-
... ... @@ -1,148 +1,129 @@ 1 1 /* ========== Agnease Public Top Menu ========== */ 2 2 3 -/* Desktop alignment */ 4 -#menuview .navbar-nav { 5 - float: right !important; 6 -} 3 +@brand: #00937D; 4 +@brand-strong: #007B6A; 5 +@text: #2D3A34; 6 +@muted: #5B6B64; 7 +@line: #E4ECE9; 8 +@brand-bg: #F4FCFA; 7 7 8 -/* Top-level menu items */ 10 +.agnease-services-menu { 11 + .dropdown-toggle { 12 + font-weight: inherit; 13 + font-size: inherit; 14 + } 9 9 10 -.agnease-menu-item, 11 -.agnease-menu-link { 12 - > a, 13 - > .dropdown-toggle { 16 + &.open > .dropdown-toggle, 17 + .dropdown-toggle:hover, 18 + .dropdown-toggle:focus { 14 14 color: @brand; 15 - font-size: 17px; 16 - font-weight: 600; 17 - padding-left: 16px; 18 - padding-right: 16px; 19 - text-decoration: none; 20 + background: transparent; 20 20 } 21 21 22 - > a:hover, 23 - > a:focus, 24 - > a:active, 25 - &.open > a, 26 - &.active > a { 27 - color: @brand-strong; 28 - text-decoration: none; 29 - outline: none; 30 - } 31 - 32 32 .caret { 33 - margin-left: 5px; 34 - border-top-color: @brand; 35 - border-bottom-color: @brand; 24 + margin-left: 4px; 36 36 } 37 - 38 - > a:hover .caret, 39 - > a:focus .caret, 40 - > a:active .caret, 41 - &.open > a .caret, 42 - &.active > a .caret { 43 - border-top-color: @brand-strong; 44 - border-bottom-color: @brand-strong; 45 - } 46 46 } 47 47 48 -/* Dropdown panel */ 49 - 50 -.agnease-dropdown { 51 - min-width: 310px; 52 - padding: 10px 8px; 53 - border: 1px solid fade(@brand, 18%); 28 +.agnease-services-dropdown { 29 + min-width: 360px; 30 + padding: 10px; 31 + border: 1px solid @line; 54 54 border-radius: 12px; 55 - background: #fff; 56 - box-shadow: 0 12px 32px fade(@brand-strong, 12%); 33 + box-shadow: 0 12px 36px rgba(0, 0, 0, .10); 57 57 58 58 > li > a { 59 59 display: flex; 60 - align-items: center;37 + align-items: flex-start; 61 61 gap: 12px; 62 - padding: 11px 14px; 63 - color: @brand; 64 - white-space: nowrap; 65 - font-size: 16px; 66 - font-weight: 600; 67 - line-height: 1.3; 68 - text-decoration: none; 39 + padding: 10px 12px; 40 + border-radius: 10px; 41 + color: @text; 42 + white-space: normal; 69 69 70 - i { 71 - width: 20px; 72 - flex: 0 0 20px; 73 - color: @brand; 74 - text-align: center; 75 - font-size: 15px; 76 - } 77 - 78 78 &:hover, 79 - &:focus, 80 - &:active { 45 + &:focus { 81 81 color: @brand-strong; 47 + background: @brand-bg; 82 82 text-decoration: none; 83 - outline: none; 84 84 85 - i { 50 + .menu-icon { 86 86 color: @brand-strong; 52 + background: fade(@brand, 14%); 53 + border-color: fade(@brand, 28%); 87 87 } 88 - } 89 - } 90 90 91 - > .active > a { 92 - color: @brand-strong; 56 + strong { 57 + color: @brand-strong; 58 + } 93 93 94 - i { 95 - color: @brand-strong; 60 + small { 61 + color: @muted; 62 + } 96 96 } 97 97 } 98 98 99 99 .divider { 100 100 margin: 8px 0; 101 - background-color: fade(@brand, 16%);68 + background-color: @line; 102 102 } 103 -} 104 104 105 -/* Mobile */ 106 - 107 -@media (max-width: 767px) { 108 - .site-nav { 109 - margin-left: 0; 71 + .menu-icon { 72 + width: 34px; 73 + height: 34px; 74 + border-radius: 50%; 75 + background: fade(@brand, 8%); 76 + border: 1px solid fade(@brand, 18%); 77 + color: @brand; 78 + display: flex; 79 + align-items: center; 110 110 justify-content: center; 111 - flex-wrap: wrap; 81 + flex-shrink: 0; 82 + transition: color .15s ease, background .15s ease, border-color .15s ease; 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; 85 + .menu-text { 86 + display: flex; 87 + flex-direction: column; 88 + line-height: 1.25; 89 + 90 + strong { 91 + color: @brand; 92 + font-size: 14px; 93 + font-weight: 600; 121 121 } 95 + 96 + small { 97 + color: @muted; 98 + font-size: 12px; 99 + margin-top: 2px; 100 + font-weight: 400; 101 + } 122 122 } 103 +} 123 123 124 - .agnease-dropdown { 105 +@media (max-width: 767px) { 106 + .agnease-services-dropdown { 125 125 min-width: 0; 126 126 width: 100%; 127 - padding: 4px 8px 8px 18px; 128 - border: 0; 109 + padding: 6px; 129 129 border-radius: 0; 130 130 box-shadow: none; 131 - background: transparent; 132 132 133 133 > li > a { 134 - padding: 8px 10px; 135 - white-space: normal; 136 - font-size: 15px; 137 - 138 - i { 139 - width: 18px; 140 - flex-basis: 18px; 141 - } 114 + padding: 10px; 142 142 } 143 - 144 - .divider { 145 - margin: 5px 0; 146 - } 147 147 } 148 148 } 118 +/* Keep the top-level Services menu visually clean when hovered/open/focused */ 119 +.navbar-nav > li.agnease-services-menu > a, 120 +.navbar-nav > li.agnease-services-menu > a:hover, 121 +.navbar-nav > li.agnease-services-menu > a:focus, 122 +.navbar-nav > li.agnease-services-menu.open > a, 123 +.navbar-nav > li.agnease-services-menu.open > a:hover, 124 +.navbar-nav > li.agnease-services-menu.open > a:focus { 125 + background: transparent; 126 + background-color: transparent; 127 + color: @brand-strong; 128 + box-shadow: none; 129 +}
- XWiki.StyleSheetExtension[2]
-
- cache
-
... ... @@ -1,0 +1,1 @@ 1 +long - code
-
... ... @@ -1,0 +1,174 @@ 1 +/* ========== Resource / Article Pages ========== */ 2 + 3 +.resource-page { 4 + padding-top: 34px; 5 +} 6 + 7 +.resource-header { 8 + padding: 40px 0 30px; 9 + border-top: none; 10 + background: 11 + radial-gradient(42rem 14rem at 50% 0%, @brand-bg 0%, transparent 70%); 12 + 13 + .resource-kicker { 14 + display: inline-flex; 15 + align-items: center; 16 + gap: 8px; 17 + color: @brand; 18 + background: fade(@brand, 8%); 19 + border: 1px solid fade(@brand, 18%); 20 + border-radius: 999px; 21 + padding: 6px 12px; 22 + margin-bottom: 14px; 23 + font-size: 13px; 24 + font-weight: 700; 25 + } 26 + 27 + h1 { 28 + max-width: 820px; 29 + margin: 0 auto 14px; 30 + text-align: center; 31 + line-height: 1.18; 32 + } 33 + 34 + .resource-summary { 35 + max-width: 780px; 36 + margin: 0 auto; 37 + color: @muted; 38 + text-align: center; 39 + font-size: 18px; 40 + line-height: 1.55; 41 + } 42 +} 43 + 44 +.resource-layout { 45 + display: grid; 46 + grid-template-columns: minmax(0, 760px) 280px; 47 + gap: 42px; 48 + max-width: 1080px; 49 + margin: 0 auto; 50 + align-items: start; 51 +} 52 + 53 +.resource-content { 54 + color: @text; 55 + font-size: 16px; 56 + line-height: 1.68; 57 + 58 + h2 { 59 + text-align: left; 60 + margin: 34px 0 12px; 61 + line-height: 1.28; 62 + } 63 + 64 + h3 { 65 + margin: 24px 0 8px; 66 + line-height: 1.3; 67 + } 68 + 69 + p { 70 + margin: 0 0 16px; 71 + } 72 + 73 + ul, 74 + ol { 75 + margin: 0 0 18px; 76 + padding-left: 22px; 77 + } 78 + 79 + li { 80 + margin: 6px 0; 81 + } 82 + 83 + strong { 84 + color: @text; 85 + } 86 +} 87 + 88 +.resource-note { 89 + border-left: 4px solid @brand; 90 + background: @brand-bg; 91 + padding: 16px 18px; 92 + margin: 22px 0; 93 + border-radius: 0 @radius @radius 0; 94 + 95 + p:last-child { 96 + margin-bottom: 0; 97 + } 98 +} 99 + 100 +.resource-checklist { 101 + margin: 18px 0 24px; 102 + padding: 0; 103 + list-style: none; 104 + 105 + li { 106 + position: relative; 107 + padding: 10px 0 10px 34px; 108 + border-bottom: 1px solid @line; 109 + 110 + &:before { 111 + content: "\f00c"; 112 + font-family: FontAwesome; 113 + position: absolute; 114 + left: 0; 115 + top: 11px; 116 + color: @brand; 117 + } 118 + } 119 +} 120 + 121 +.resource-sidebar { 122 + position: sticky; 123 + top: 96px; 124 + border: 1px solid @line; 125 + border-radius: @radius; 126 + padding: 18px; 127 + background: #fff; 128 + box-shadow: @shadow-sm; 129 + 130 + h4 { 131 + margin: 0 0 10px; 132 + } 133 + 134 + ul { 135 + margin: 0; 136 + padding-left: 18px; 137 + color: @muted; 138 + } 139 + 140 + li { 141 + margin: 8px 0; 142 + } 143 + 144 + a { 145 + color: @brand; 146 + font-weight: 600; 147 + } 148 +} 149 + 150 +.resource-cta { 151 + margin-top: 36px; 152 + padding: 22px; 153 + border: 1px solid fade(@brand, 20%); 154 + border-radius: @radius; 155 + background: @brand-bg; 156 + 157 + h3 { 158 + margin-top: 0; 159 + } 160 + 161 + p { 162 + color: @muted; 163 + } 164 +} 165 + 166 +@media (max-width: 900px) { 167 + .resource-layout { 168 + grid-template-columns: 1fr; 169 + } 170 + 171 + .resource-sidebar { 172 + position: static; 173 + } 174 +} - contentType
-
... ... @@ -1,0 +1,1 @@ 1 +LESS - name
-
... ... @@ -1,0 +1,1 @@ 1 +resources - use
-
... ... @@ -1,0 +1,1 @@ 1 +onDemand