This commit is contained in:
Andras Schmelczer 2026-05-14 20:42:48 +01:00
parent 273d7a83ee
commit 084117cea8
48 changed files with 2283 additions and 890 deletions

View file

@ -116,17 +116,15 @@ export async function installCursor(page: Page): Promise<void> {
body.__demo-aspect-horizontal #__demo-caption {
bottom: 7%;
}
/* Vertical default: upper-third. Sized DOWN deliberately the
caption must not occlude the map below it. ~30px on a 540-wide
viewport sits at ~5.6% of viewport width per character; a single
line typically wraps in 2 rows of large bold text. */
/* Vertical default: upper-third. Kept compact so the map remains the
primary visual in the social ad cuts. */
body.__demo-aspect-vertical #__demo-caption {
top: 9%;
max-width: min(880px, 84vw);
font-size: 30px;
top: 7%;
max-width: min(820px, 82vw);
font-size: 27px;
font-weight: 750;
padding: 14px 20px;
border-radius: 16px;
padding: 12px 18px;
border-radius: 14px;
}
#__demo-caption.visible {
opacity: 1;