57 lines
1.5 KiB
CSS
57 lines
1.5 KiB
CSS
/* ── Map Page ──────────────────────────────────────────────── */
|
|
/* Marker, popup and Leaflet control styling is shared with journal map
|
|
blocks and lives in app/leaflet.css. */
|
|
|
|
.map-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: calc(100vh - var(--header-height, 64px));
|
|
}
|
|
|
|
.map-page__header {
|
|
padding: 2rem var(--page-padding, 2rem) 1rem;
|
|
}
|
|
|
|
/* Kicker + meta block are rendered for every preset but stay hidden
|
|
unless a preset opts in (studio-modern uses both). */
|
|
.map-page__kicker,
|
|
.map-page__meta {
|
|
display: none;
|
|
}
|
|
|
|
.map-page__title {
|
|
font-family: var(--font-serif);
|
|
font-size: clamp(1.5rem, 4vw, 2.5rem);
|
|
font-weight: 600;
|
|
margin: 0.5rem 0 0.25rem;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.map-page__subtitle {
|
|
font-family: var(--font-sans);
|
|
font-size: 0.875rem;
|
|
color: var(--text-secondary);
|
|
margin: 0;
|
|
}
|
|
|
|
/* ── Map Container ─────────────────────────────────────────── */
|
|
|
|
.map-container {
|
|
flex: 1;
|
|
min-height: 500px;
|
|
margin: 0 var(--page-padding, 2rem) 2rem;
|
|
border-radius: var(--radius-sm, 0);
|
|
overflow: hidden;
|
|
border: 1px solid var(--border-subtle, rgba(128, 128, 128, 0.15));
|
|
}
|
|
|
|
.map-container__loading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 500px;
|
|
color: var(--text-secondary);
|
|
font-family: var(--font-sans);
|
|
font-size: 0.875rem;
|
|
}
|