Commit d36a799
committed
make banner images responsive and remove table banner variant
Banner images were not scaling on mobile, so they appeared
oversized/disproportionate and triggered horizontal page overflow.
Apply responsive image sizing in `.banner` (`max-width: 100%`,
`height: auto`) so banner images scale correctly.
Non-home pages also used a table-based banner layout, which is generally
not mobile-friendly and makes it harder to position, contain, and scale
content within smaller viewports. It also introduced unnecessary branding
inconsistency across desktop and mobile: the home page and non-home pages
presented essentially the same banner content with different proportions
and visual behavior but still serving the same purpose and content.
Rather than making the table layout itself responsive, remove it
entirely. The home page already had a working non-table structure,
and a single shared layout is simpler to maintain and style.
Remove that page-kind split and use one shared banner structure (logo +
subtitle in .banner) so banner behavior and branding are consistent on
mobile and desktop across the site.1 parent f5f29d4 commit d36a799
2 files changed
Lines changed: 3 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 12 | | |
0 commit comments