Skip to content

Commit b972c47

Browse files
committed
Research photos centered + fixed width; mobile tab aspect ratio; home callouts bold/middle
- Research-row images: explicit width: 240px with display:block + margin auto so the (variable-natural-width) photos all render at the same fixed size and are centered within the column. Eterna at 660px no longer dominates the layout vs puzzle (259) and mapping (274). - .page-hero-tab on mobile/landscape: width:auto + height:50% (drop the fighting width:80% / max-height:50% combo) so the tab keeps its natural 349:111 aspect ratio at all phone widths and orientations. - Home page callouts: align-items: start -> center on .home-callouts so 'what we do' / 'we strive…' sit vertically centered within the row alongside the mission paragraph. Drop the per-element align-self end/start. Bump font-weight 400 -> 700 (bold).
1 parent c4c1e92 commit b972c47

1 file changed

Lines changed: 21 additions & 10 deletions

File tree

assets/css/style.scss

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,13 @@ hr { border: 0; border-top: 1px dotted $text-faint; margin: 2rem 0; }
195195
background-position: 0% 50% !important;
196196
}
197197
.page-hero-tab {
198-
width: 80%;
198+
/* Fix the height so the tab keeps its natural 349:111 aspect ratio
199+
on phone & landscape. width:80% + max-height:50% used to fight
200+
each other, squishing the artwork. */
201+
width: auto;
202+
height: 50%;
199203
max-height: 50%;
200-
bottom: 18%;
204+
bottom: 15%;
201205
right: -2%;
202206
}
203207
}
@@ -214,19 +218,16 @@ hr { border: 0; border-top: 1px dotted $text-faint; margin: 2rem 0; }
214218
}
215219
.home-callout-left {
216220
font-size: 2rem;
217-
font-weight: 400;
221+
font-weight: 700;
218222
text-align: left;
219223
letter-spacing: -0.02em;
220224
color: $text;
221-
align-self: end;
222-
.home-callout-left-accent { color: $accent-hover; }
223225
}
224226
.home-callout-right {
225227
font-size: 1.05rem;
226-
font-weight: 400;
228+
font-weight: 700;
227229
text-align: left;
228-
align-self: start;
229-
strong { color: $accent-hover; font-weight: 500; }
230+
strong { color: $accent-hover; font-weight: 800; }
230231
}
231232

232233
.word-research-1,
@@ -322,7 +323,7 @@ hr { border: 0; border-top: 1px dotted $text-faint; margin: 2rem 0; }
322323
display: grid;
323324
grid-template-columns: auto 1fr auto;
324325
gap: 1.5rem;
325-
align-items: start;
326+
align-items: center;
326327
max-width: 1022px;
327328
margin: 0 auto 2.5rem;
328329
padding: 0 1rem;
@@ -718,7 +719,17 @@ details.show-more {
718719
text-align: justify;
719720
}
720721
> a { text-align: center; }
721-
img { max-width: 100%; border-radius: 4px; }
722+
/* Fixed-width photos, centered within their column. Also normalises
723+
across the three images, whose natural widths range from 259 to
724+
660px. */
725+
img {
726+
display: block;
727+
width: 240px;
728+
max-width: 100%;
729+
height: auto;
730+
margin: 0 auto;
731+
border-radius: 4px;
732+
}
722733
}
723734
@media (max-width: $bp-phone) {
724735
.research-row {

0 commit comments

Comments
 (0)