Skip to content

Commit b409339

Browse files
committed
css > footer refactor > standard twin column
1 parent ff84601 commit b409339

File tree

1 file changed

+21
-29
lines changed

1 file changed

+21
-29
lines changed

assets/css/iolla.css

Lines changed: 21 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1190,14 +1190,18 @@ body {
11901190
position: sticky;
11911191
top: 100%;
11921192
text-transform: uppercase;
1193+
grid-template-columns: repeat(2, 1fr);
1194+
grid-template-rows: repeat(4, 1fr);
1195+
justify-content: space-between;
1196+
text-align: center;
11931197
}
11941198

11951199
.footer-privacy svg, .footer-copyright svg {
11961200
display: inline-block;
11971201
vertical-align: text-bottom;
11981202
width: 0.666rem;
11991203
height: 1rem;
1200-
fill: var(--clr-text);
1204+
fill: var(--clr-two);
12011205
}
12021206

12031207
.heart svg {fill: var(--clr-two);}
@@ -1227,7 +1231,8 @@ span.location {
12271231
border-radius: 100%;
12281232
fill: var(--clr-two);
12291233
background: var(--clr-one);
1230-
justify-self: end;
1234+
justify-self: end;
1235+
grid-column-start: 2;
12311236
}
12321237

12331238
.footer-peak svg {
@@ -1239,6 +1244,18 @@ span.location {
12391244
background: var(--clr-two);
12401245
}
12411246

1247+
.footer-menu {
1248+
justify-self: end;
1249+
text-align: right;
1250+
grid-column-start: 2;
1251+
grid-row-start: 1;
1252+
grid-row-end: 5;
1253+
}
1254+
1255+
.footer-privacy {justify-self: start; text-align: left; grid-row: 2;}
1256+
.footer-copyright {justify-self: middle; text-align: left; grid-row: 1; white-space: nowrap;}
1257+
1258+
12421259
@media all and (min-width: 31.5em) {
12431260
.header {
12441261
margin: 0 auto 0rem;
@@ -1249,32 +1266,6 @@ span.location {
12491266
}
12501267
}
12511268

1252-
@media all and (min-width: 40em) {
1253-
.footer {
1254-
grid-template-columns: repeat(2, 1fr);
1255-
grid-template-rows: repeat(4, 1fr);
1256-
justify-content: space-between;
1257-
text-align: center;
1258-
}
1259-
1260-
.footer-menu {
1261-
justify-self: end;
1262-
text-align: right;
1263-
grid-column-start: 2;
1264-
grid-row-start: 1;
1265-
grid-row-end: 5;
1266-
}
1267-
1268-
.footer-privacy {justify-self: start; text-align: left; grid-row: 2;}
1269-
.footer-copyright {justify-self: middle; text-align: left; grid-row: 1;}
1270-
.footer-privacy svg {fill: var(--clr-two);}
1271-
1272-
.footer-peak {
1273-
grid-column-start: 2;
1274-
grid-row-start: 5;
1275-
}
1276-
}
1277-
12781269
@media all and (min-width: 55em) {
12791270
.footer {
12801271
grid-template-columns: repeat(3, 1fr);
@@ -1497,4 +1488,5 @@ blockquote {
14971488

14981489
.plate svg:not(.attractor svg):not(.error svg) {width: 220px; height: 220px;}
14991490
.pagination-item svg {width: 50px; height: 50px;}
1500-
}
1491+
}
1492+

0 commit comments

Comments
 (0)