File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -1202,6 +1202,7 @@ h6:has(a):hover {
12021202/* Landing page cards */
12031203.text-content .card-layout {
12041204 grid-column : 1 ;
1205+ margin-top : 1rem ;
12051206
12061207 .card-section {
12071208 display : flex;
@@ -1248,6 +1249,24 @@ h6:has(a):hover {
12481249 & : not (: has (.featured-card )) * : nth-child (n + 3 of div .card-container ) {
12491250 grid-column : 1 / -1 ;
12501251 }
1252+
1253+ & : not (: has (.featured-card ))
1254+ * : nth-child (n + 3 of div .card-container ): has (
1255+ ~ * : nth-child (n + 4 of div .card-container )
1256+ ) {
1257+ grid-column : auto;
1258+ }
1259+
1260+ & : not (: has (.featured-card )) * : nth-child (n + 4 of div .card-container ) {
1261+ grid-column : auto;
1262+ }
1263+
1264+ & : not (: has (.featured-card ))
1265+ * : nth-last-child (1 of div .card-container ): nth-child (
1266+ odd of div .card-container
1267+ ) {
1268+ grid-column : 1 / -1 ;
1269+ }
12511270}
12521271
12531272.card-container {
@@ -1279,6 +1298,7 @@ h6:has(a):hover {
12791298 gap : 1.5rem ;
12801299 align-items : center;
12811300 justify-content : start;
1301+ margin-bottom : 1rem ;
12821302
12831303 img {
12841304 width : auto;
You can’t perform that action at this time.
0 commit comments