Skip to content

Commit 6a258d9

Browse files
committed
fix(home): increase stat subtext font size
1 parent 13053e0 commit 6a258d9

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

src/css/pages/home.css

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -146,18 +146,20 @@
146146

147147
.home-template__pillars__details--stats,
148148
.home-template__community__details--stats {
149+
align-items: start;
149150
background-color: var(--color-mutednavy);
150151
border-radius: 8px;
151152
display: grid;
152153
grid-template-columns: 1fr;
153-
gap: 12px;
154+
gap: 8px;
154155
grid-area: stats;
155156
padding: 20px;
156157

157158
section {
158-
display: grid;
159-
justify-content: center;
159+
display: flex;
160+
flex-direction: column;
160161
gap: 12px;
162+
justify-content: center;
161163
padding: 12px;
162164

163165
h3,
@@ -173,8 +175,9 @@
173175
}
174176

175177
p {
176-
font-size: 0.75rem;
177-
line-height: 1rem;
178+
font-size: 1rem;
179+
line-height: 1.25rem;
180+
margin: 0;
178181
}
179182
}
180183
}
@@ -204,7 +207,7 @@
204207
flex-grow: 1;
205208
}
206209

207-
small {
210+
small {
208211
font-size: 0.875rem;
209212
line-height: 1.5rem;
210213
}
@@ -242,8 +245,9 @@
242245
}
243246

244247
p {
245-
font-size: 0.875rem;
248+
font-size: 1rem;
246249
line-height: 1rem;
250+
margin: 0;
247251
}
248252
}
249253
}

0 commit comments

Comments
 (0)