Skip to content

Commit 5c0bc94

Browse files
Merge main into hoodies
2 parents 7ef526a + 117b1b5 commit 5c0bc94

1 file changed

Lines changed: 18 additions & 3 deletions

File tree

‎css/sponsor.scss‎

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@
88
}
99

1010
.stats {
11-
justify-content: center;
12-
display: flex;
11+
display: grid;
12+
grid-template-columns: repeat(3, minmax(0, 1fr));
13+
max-width: 940px;
14+
margin: 0 auto;
1315
}
1416

1517
.stat {
16-
margin: 20px 50px;
18+
margin: 20px;
1719
}
1820

1921
button.email-button {
@@ -65,6 +67,19 @@ button.email-button {
6567
gap: 40px;
6668
}
6769

70+
@media only screen and (max-width: 540px) {
71+
.stat {
72+
margin: 20px 10px;
73+
}
74+
}
75+
76+
@media only screen and (max-width: 400px) {
77+
.stats {
78+
grid-template-columns: minmax(0, 1fr);
79+
text-align: center;
80+
}
81+
}
82+
6883
@media only screen and (max-width: 990px) {
6984
.benefit.text-container {
7085
width: 100%;

0 commit comments

Comments
 (0)