Skip to content

Commit bf0fefa

Browse files
committed
Mobile/tablet: larger fonts at 600-996px, bigger hero title; projects: add section h2
1 parent cfa7e82 commit bf0fefa

3 files changed

Lines changed: 31 additions & 0 deletions

File tree

src/css/custom.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,22 @@ ul {
215215
}
216216
}
217217

218+
/* Tablet range: overrides phone sizes for wider mobile viewports. */
219+
@media (max-width: 996px) and (min-width: 600px) {
220+
body h1 {
221+
font-size: 56px;
222+
}
223+
224+
body h2 {
225+
font-size: 42px;
226+
}
227+
228+
body p {
229+
font-size: 16px;
230+
line-height: 24px;
231+
}
232+
}
233+
218234
/****** Class that are specific to larger screens*/
219235
@media (min-width: 996px) {
220236
h1 {

src/pages/index.module.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,16 @@
7878
}
7979
}
8080

81+
@media (max-width: 996px) and (min-width: 600px) {
82+
.hero_title {
83+
font-size: 6rem;
84+
}
85+
86+
.tech_tagline {
87+
font-size: 26px;
88+
}
89+
}
90+
8191
/* ── Services (How we work with you) ─────────────────────────────────────── */
8292

8393
.topics_header {

src/pages/projects.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ function ProjectsContent() {
3030

3131
<SectionSeparator variant={1} />
3232

33+
{/* ── Project list ──────────────────────────────────────────────────── */}
34+
<Section spacing="tight">
35+
<h2 className="text--center">What we build and maintain</h2>
36+
</Section>
37+
3338
{/* ── Jupyter ───────────────────────────────────────────────────────── */}
3439
<SplitSection
3540
bg="white"

0 commit comments

Comments
 (0)