Mobile: menu, page titles, hero, retreat carousel, people tiles
- The mobile menu centers when it fits and starts at the top when it's taller than the screen (safe center), so its top is reachable; its close button is a 44px target. - Page titles and the hero headline start a size smaller on phones and break long words instead of being cut off. - Hero: the split buttons stack on a phone (the slash from sm); the slide dots and pause button are 40px targets and wrap; photo heroes leave room for the caption above the buttons. - Retreat carousel: phone-sized padding and type; on a phone the arrows sit beside the dots instead of over the text, dots are 40px targets, and a swipe turns it. The narrow event card layout gives the logo its own row (it had made a stray column). - People tiles: the details panel slides to stay on screen with its notch under the tile; a third column only when tiles keep 60% of their width; a 40px close button. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
2a926971f7
commit
a907a47c24
8 changed files with 145 additions and 76 deletions
|
|
@ -314,27 +314,17 @@
|
|||
box-shadow: var(--shadow-lg);
|
||||
}
|
||||
|
||||
.pl__bio--anchored[data-align="end"] {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.pl__bio--anchored::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -11px;
|
||||
left: calc(var(--pl-w) / 2 - 8px);
|
||||
left: var(--pl-notch, calc(var(--pl-w) / 2 - 8px));
|
||||
width: 16px;
|
||||
height: 8px;
|
||||
background: var(--pl-accent);
|
||||
clip-path: polygon(50% 0, 100% 100%, 0 100%);
|
||||
}
|
||||
|
||||
.pl__bio--anchored[data-align="end"]::before {
|
||||
left: auto;
|
||||
right: calc(var(--pl-w) / 2 - 8px);
|
||||
}
|
||||
|
||||
.pl__bio {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
@ -366,8 +356,8 @@
|
|||
|
||||
.pl__close {
|
||||
flex: 0 0 auto;
|
||||
width: 1.75rem;
|
||||
height: 1.75rem;
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
border: 1px solid var(--pl-frame-edge);
|
||||
border-radius: var(--btn-radius);
|
||||
background: var(--color-surface);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue