Commit b8a67d6
committed
Home banner mobile: right-align bg, drop overlay; bars seam -5%; visible flag
Mobile / iPhone-mini home banner:
- Drop the .home-banner-tab overlay (was duplicating the teal tab that
is already baked into logo_home.png), and remove the cropped
icon_home.png + logo_home_top.png assets it depended on.
- Mobile .home-banner now uses aspect-ratio: 1.96/1 with
background-size: auto 200%; background-position: 100% 0. Shows the
right ~2/3 of the source on any phone width (math: container width =
(2/3) * 2.94 * container height -> aspect 1.96), so iPhone mini
portrait sees the gray block + the 'RNA fold & function from scratch'
tab + a sliver of the photo on the left edge.
- New @media (max-width: 480px) and (orientation: portrait) shrinks
callouts + divider bars + institutional logos by ~50% (mission text
kept at ~75% to stay readable) so the page feels proportional to the
smaller banner.
Home divider bars:
- .home-divider-bars .bar-dark: flex-basis 70.45% -> 65.45%. Per user's
screenshot, the bar seam was sitting ~5% past the photo/gray seam in
the rendered banner; this aligns them.
Hide-without-archive support:
- Add 'visible: false' frontmatter flag for _people/*.md. people.md
filters both current and alumni with where_exp: 'p.visible != false'
so people without the field stay visible (default true), and anyone
with visible: false drops out without needing to be moved to
status: alumnus.
- CONTRIBUTING.md: documented under 'Hiding someone temporarily' and
added to the optional-fields list.1 parent d39604b commit b8a67d6
6 files changed
Lines changed: 49 additions & 31 deletions
File tree
- assets
- css
- images/site/public
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
50 | 61 | | |
51 | 62 | | |
52 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | 291 | | |
299 | 292 | | |
300 | 293 | | |
| |||
320 | 313 | | |
321 | 314 | | |
322 | 315 | | |
323 | | - | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
324 | 320 | | |
325 | 321 | | |
326 | 322 | | |
| |||
368 | 364 | | |
369 | 365 | | |
370 | 366 | | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
371 | 389 | | |
372 | 390 | | |
373 | 391 | | |
| |||
912 | 930 | | |
913 | 931 | | |
914 | 932 | | |
915 | | - | |
916 | | - | |
917 | | - | |
918 | | - | |
919 | | - | |
920 | | - | |
921 | | - | |
922 | | - | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
923 | 942 | | |
924 | | - | |
925 | | - | |
926 | | - | |
927 | | - | |
928 | | - | |
929 | | - | |
930 | | - | |
931 | | - | |
932 | | - | |
933 | | - | |
934 | | - | |
935 | | - | |
| 943 | + | |
936 | 944 | | |
937 | 945 | | |
938 | 946 | | |
| |||
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments