857 lines
23 KiB
CSS
857 lines
23 KiB
CSS
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
body {
|
|
font-family: var(--font-ui);
|
|
font-size: var(--text-base);
|
|
line-height: var(--leading-normal);
|
|
color: var(--color-ink);
|
|
background: var(--color-paper);
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
body::after {
|
|
content: '';
|
|
position: fixed;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
z-index: 9998;
|
|
opacity: 0.035;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
|
|
background-repeat: repeat;
|
|
background-size: 200px 200px;
|
|
}
|
|
|
|
.site-main {
|
|
max-width: var(--content-width);
|
|
margin: 0 auto;
|
|
padding: var(--space-8) var(--space-5);
|
|
}
|
|
|
|
@media (min-width: 520px) {
|
|
.site-main { padding: var(--space-10) var(--space-6); }
|
|
}
|
|
|
|
/* ── Header ──────────────────────────────────────────────────────────────────── */
|
|
|
|
.site-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 var(--space-5);
|
|
height: var(--site-header-height);
|
|
background: var(--color-canvas);
|
|
border-top: 3px solid var(--color-accent);
|
|
border-bottom: 1px solid var(--color-border);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
}
|
|
|
|
.site-title {
|
|
font-family: var(--font-display);
|
|
font-size: var(--text-lg);
|
|
font-weight: 400;
|
|
letter-spacing: -0.01em;
|
|
text-decoration: none;
|
|
color: var(--color-ink);
|
|
line-height: 1;
|
|
}
|
|
|
|
.site-nav {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-1);
|
|
}
|
|
|
|
.site-nav a {
|
|
font-family: var(--font-ui);
|
|
font-size: var(--text-sm);
|
|
font-weight: 500;
|
|
color: var(--color-ink-2);
|
|
text-decoration: none;
|
|
padding: var(--space-2) var(--space-3);
|
|
border-radius: var(--radius-sm);
|
|
min-height: 44px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
transition: color 0.15s, background 0.15s;
|
|
}
|
|
|
|
.site-nav a:hover { color: var(--color-ink); background: var(--color-paper); }
|
|
.site-nav a[aria-current="page"] { color: var(--color-accent); font-weight: 600; }
|
|
|
|
@media (max-width: 380px) {
|
|
.site-title { font-size: var(--text-md); }
|
|
.site-nav a { padding: var(--space-2); font-size: 0.8rem; }
|
|
}
|
|
|
|
/* ── Feed ────────────────────────────────────────────────────────────────────── */
|
|
|
|
.feed { display: flex; flex-direction: column; gap: var(--space-12); }
|
|
.feed-empty { color: var(--color-ink-muted); font-style: italic; }
|
|
|
|
.entry-card { border-bottom: 1px solid var(--color-border); padding-bottom: var(--space-12); }
|
|
|
|
.entry-card-inner {
|
|
display: block;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
|
|
/* Card: photo variant */
|
|
|
|
.entry-card-photo {
|
|
position: relative;
|
|
aspect-ratio: 16 / 9;
|
|
border-radius: var(--radius-md);
|
|
overflow: hidden;
|
|
background: var(--color-border);
|
|
margin-bottom: var(--space-5);
|
|
}
|
|
|
|
.entry-card-photo img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
transition: transform 0.45s ease;
|
|
}
|
|
|
|
.entry-card-inner:hover .entry-card-photo img { transform: scale(1.04); }
|
|
|
|
.entry-card-photo-overlay {
|
|
position: absolute;
|
|
inset: auto 0 0 0;
|
|
padding: var(--space-5) var(--space-4) var(--space-3);
|
|
background: linear-gradient(to top, rgba(0,0,0,0.58) 0%, transparent 100%);
|
|
display: flex;
|
|
align-items: flex-end;
|
|
gap: var(--space-3);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.entry-date-overlay {
|
|
font-size: var(--text-xs);
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
color: rgba(255,255,255,0.92);
|
|
}
|
|
|
|
.entry-location-overlay {
|
|
font-size: var(--text-xs);
|
|
color: rgba(255,255,255,0.85);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
max-width: 180px;
|
|
}
|
|
|
|
/* Card: text-only variant */
|
|
|
|
.entry-card-textmeta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-3);
|
|
margin-bottom: var(--space-3);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.entry-date-plain {
|
|
font-size: var(--text-xs);
|
|
font-weight: 700;
|
|
letter-spacing: 0.07em;
|
|
color: var(--color-ink-muted);
|
|
}
|
|
|
|
.entry-location-plain {
|
|
font-size: var(--text-xs);
|
|
color: var(--color-ink-muted);
|
|
}
|
|
|
|
/* Card body */
|
|
|
|
.entry-card .entry-title {
|
|
font-family: var(--font-display);
|
|
font-size: var(--text-xl);
|
|
font-weight: 400;
|
|
line-height: var(--leading-snug);
|
|
color: var(--color-ink);
|
|
margin-bottom: var(--space-3);
|
|
transition: color 0.15s;
|
|
}
|
|
|
|
.entry-card-inner:hover .entry-title { color: var(--color-accent); }
|
|
|
|
.entry-excerpt {
|
|
font-size: var(--text-base);
|
|
line-height: var(--leading-normal);
|
|
color: var(--color-ink-2);
|
|
margin-bottom: var(--space-3);
|
|
}
|
|
|
|
.entry-read-more {
|
|
font-size: var(--text-sm);
|
|
font-weight: 500;
|
|
color: var(--color-accent);
|
|
}
|
|
|
|
/* Location & weather badges (single entry page) */
|
|
|
|
.entry-location {
|
|
font-size: var(--text-sm);
|
|
color: var(--color-ink-2);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-1);
|
|
}
|
|
|
|
.entry-weather {
|
|
font-size: var(--text-sm);
|
|
color: var(--color-ink-2);
|
|
}
|
|
|
|
/* ── Single entry ────────────────────────────────────────────────────────────── */
|
|
|
|
.entry-hero {
|
|
width: 100%;
|
|
max-height: 480px;
|
|
overflow: hidden;
|
|
margin-bottom: var(--space-8);
|
|
border-radius: var(--radius-md);
|
|
}
|
|
|
|
.entry-hero img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
|
|
.entry-header { margin-bottom: var(--space-8); }
|
|
|
|
.entry-header-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: var(--space-3);
|
|
margin-bottom: var(--space-4);
|
|
}
|
|
|
|
.entry-header .entry-date {
|
|
font-size: var(--text-sm);
|
|
font-weight: 600;
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
color: var(--color-ink-muted);
|
|
display: inline;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.entry .entry-title {
|
|
font-family: var(--font-display);
|
|
font-size: var(--text-2xl);
|
|
font-weight: 400;
|
|
line-height: var(--leading-snug);
|
|
color: var(--color-ink);
|
|
margin-bottom: var(--space-4);
|
|
}
|
|
|
|
@media (min-width: 520px) {
|
|
.entry .entry-title { font-size: var(--text-3xl); }
|
|
}
|
|
|
|
.entry-title-rule {
|
|
height: 1px;
|
|
background: var(--color-border);
|
|
margin-bottom: var(--space-8);
|
|
}
|
|
|
|
.entry-body { margin-bottom: var(--space-10); }
|
|
.entry-body p { margin-bottom: 1.4em; font-size: var(--text-md); line-height: var(--leading-normal); color: var(--color-ink-2); }
|
|
.entry-body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
|
|
|
|
.entry-footer { border-top: 1px solid var(--color-border); padding-top: var(--space-5); }
|
|
.entry-footer a { color: var(--color-accent); text-decoration: none; font-size: var(--text-sm); font-weight: 500; }
|
|
.entry-footer a:hover { color: var(--color-accent-hover); }
|
|
|
|
/* ── Photo gallery ───────────────────────────────────────────────────────────── */
|
|
|
|
.entry-gallery {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 3px;
|
|
margin-bottom: var(--space-10);
|
|
border-radius: var(--radius-md);
|
|
overflow: hidden;
|
|
}
|
|
|
|
@media (min-width: 520px) {
|
|
.entry-gallery { grid-template-columns: repeat(3, 1fr); }
|
|
}
|
|
|
|
.gallery-thumb {
|
|
background: none;
|
|
border: none;
|
|
padding: 0;
|
|
cursor: pointer;
|
|
display: block;
|
|
aspect-ratio: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.gallery-thumb img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
transition: opacity 0.15s;
|
|
}
|
|
|
|
.gallery-thumb:hover img,
|
|
.gallery-thumb:focus img { opacity: 0.82; }
|
|
|
|
.gallery-thumb:focus { outline: 2px solid var(--color-accent); outline-offset: 2px; }
|
|
|
|
/* ── Lightbox ────────────────────────────────────────────────────────────────── */
|
|
|
|
.lightbox {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0,0,0,0.94);
|
|
z-index: 1000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.lightbox[hidden] { display: none; }
|
|
|
|
.lightbox-img {
|
|
max-width: 92vw;
|
|
max-height: 90vh;
|
|
object-fit: contain;
|
|
border-radius: var(--radius-sm);
|
|
display: block;
|
|
}
|
|
|
|
.lightbox-close,
|
|
.lightbox-prev,
|
|
.lightbox-next {
|
|
position: absolute;
|
|
background: rgba(255,255,255,0.12);
|
|
border: none;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
border-radius: 50%;
|
|
width: 44px;
|
|
height: 44px;
|
|
font-size: 1.4rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.lightbox-close { top: 1rem; right: 1rem; }
|
|
.lightbox-prev { left: 0.75rem; top: 50%; transform: translateY(-50%); }
|
|
.lightbox-next { right: 0.75rem; top: 50%; transform: translateY(-50%); }
|
|
.lightbox-close:hover,
|
|
.lightbox-prev:hover,
|
|
.lightbox-next:hover { background: rgba(255,255,255,0.26); }
|
|
|
|
/* ── Map page ────────────────────────────────────────────────────────────────── */
|
|
|
|
.map-page .site-main { max-width: none; padding: 0; }
|
|
|
|
.map-container {
|
|
height: calc(100vh - var(--site-header-height));
|
|
width: 100%;
|
|
}
|
|
|
|
/* match CartoDB dark tile background so no grey flash on load/zoom */
|
|
.leaflet-container { background: #282828 !important; }
|
|
|
|
.map-empty {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100%;
|
|
color: var(--color-ink-muted);
|
|
font-style: italic;
|
|
}
|
|
|
|
/* ── Stats page ──────────────────────────────────────────────────────────────── */
|
|
|
|
.stats-heading {
|
|
font-family: var(--font-display);
|
|
font-size: var(--text-2xl);
|
|
font-weight: 400;
|
|
margin-bottom: var(--space-8);
|
|
color: var(--color-ink);
|
|
}
|
|
|
|
.stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: var(--space-4);
|
|
margin-bottom: var(--space-8);
|
|
}
|
|
|
|
.stat-block {
|
|
background: var(--color-canvas);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-md);
|
|
padding: var(--space-6) var(--space-5);
|
|
text-align: center;
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.stat-value {
|
|
display: block;
|
|
font-family: var(--font-display);
|
|
font-size: var(--text-3xl);
|
|
font-weight: 400;
|
|
color: var(--color-accent);
|
|
line-height: 1.1;
|
|
margin-bottom: var(--space-2);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.stat-label {
|
|
display: block;
|
|
font-size: var(--text-xs);
|
|
font-weight: 600;
|
|
color: var(--color-ink-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.07em;
|
|
}
|
|
|
|
.stats-countries {
|
|
font-size: var(--text-sm);
|
|
color: var(--color-ink-2);
|
|
text-align: center;
|
|
line-height: 1.9;
|
|
}
|
|
|
|
.stats-countries-label {
|
|
font-weight: 600;
|
|
display: block;
|
|
margin-bottom: var(--space-2);
|
|
color: var(--color-ink);
|
|
text-transform: uppercase;
|
|
font-size: var(--text-xs);
|
|
letter-spacing: 0.07em;
|
|
}
|
|
|
|
.stats-note {
|
|
font-size: var(--text-xs);
|
|
color: var(--color-ink-muted);
|
|
text-align: center;
|
|
margin-top: var(--space-6);
|
|
}
|
|
|
|
/* ── Mini-map on tracker feed ────────────────────────────────────────────────── */
|
|
|
|
.feed-map-wrap {
|
|
margin-bottom: var(--space-10);
|
|
border-radius: var(--radius-md);
|
|
overflow: hidden;
|
|
border: 1px solid var(--color-border);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.feed-map {
|
|
height: 240px;
|
|
width: 100%;
|
|
}
|
|
|
|
@media (min-width: 520px) {
|
|
.feed-map { height: 300px; }
|
|
}
|
|
|
|
.feed-map-link {
|
|
display: block;
|
|
text-align: right;
|
|
font-size: var(--text-xs);
|
|
font-weight: 500;
|
|
color: var(--color-accent);
|
|
text-decoration: none;
|
|
padding: var(--space-2) var(--space-4);
|
|
background: var(--color-paper);
|
|
border-top: 1px solid var(--color-border);
|
|
}
|
|
|
|
.feed-map-link:hover { color: var(--color-accent-hover); }
|
|
|
|
/* ── Login form ─────────────────────────────────────────────────────────────── */
|
|
|
|
.login-form { max-width: 400px; margin: var(--space-8) auto; padding: 0 var(--space-4); }
|
|
.login-form .form-field { margin-bottom: var(--space-5); }
|
|
.login-form .form-label label { display: block; font-size: var(--text-sm); font-weight: 600; margin-bottom: var(--space-2); }
|
|
.login-form input[type="text"],
|
|
.login-form input[type="password"],
|
|
.login-form input[type="email"] {
|
|
width: 100%;
|
|
font-family: var(--font-ui);
|
|
font-size: var(--text-base);
|
|
padding: 0.75rem 1rem;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-md);
|
|
background: var(--color-canvas);
|
|
color: var(--color-ink);
|
|
min-height: 44px;
|
|
}
|
|
.login-form input:focus {
|
|
outline: 2px solid var(--color-accent);
|
|
outline-offset: 1px;
|
|
border-color: var(--color-accent);
|
|
}
|
|
.login-form .form-actions { margin-top: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); }
|
|
.login-form .button { display: block; width: 100%; text-align: center; padding: 0.85rem 1rem; min-height: 44px; border-radius: var(--radius-md); font-size: var(--text-base); font-family: var(--font-ui); font-weight: 600; cursor: pointer; border: none; }
|
|
.login-form .button.primary { background: var(--color-accent); color: var(--color-accent-on); }
|
|
.login-form .button.primary:hover { background: var(--color-accent-hover); }
|
|
.login-form .button.secondary { background: var(--color-canvas); color: var(--color-ink); text-decoration: none; line-height: 44px; padding: 0 1rem; }
|
|
.login-form .rememberme { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); }
|
|
|
|
/* ── Post form ───────────────────────────────────────────────────────────────── */
|
|
|
|
.post-form-wrap h1 {
|
|
font-family: var(--font-display);
|
|
font-size: var(--text-xl);
|
|
font-weight: 400;
|
|
margin-bottom: var(--space-6);
|
|
color: var(--color-ink);
|
|
}
|
|
|
|
/* Hide GPS coordinate fields — filled by JS, not user-facing */
|
|
.post-form-wrap .form-field:has(input[name="data[lat]"]),
|
|
.post-form-wrap .form-field:has(input[name="data[lng]"]) { display: none !important; }
|
|
|
|
/* Grav form field inputs */
|
|
.post-form-wrap .form-field { margin-bottom: var(--space-5); }
|
|
.post-form-wrap .form-label label {
|
|
display: block;
|
|
font-size: var(--text-sm);
|
|
font-weight: 600;
|
|
color: var(--color-ink);
|
|
margin-bottom: var(--space-2);
|
|
}
|
|
|
|
.post-form-wrap input[type="text"],
|
|
.post-form-wrap input[type="datetime-local"],
|
|
.post-form-wrap textarea {
|
|
width: 100%;
|
|
font-family: var(--font-ui);
|
|
font-size: var(--text-base);
|
|
padding: 0.875rem 1rem;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-md);
|
|
background: var(--color-canvas);
|
|
color: var(--color-ink);
|
|
min-height: 44px;
|
|
transition: border-color 0.15s;
|
|
-webkit-appearance: none;
|
|
}
|
|
|
|
.post-form-wrap input:focus,
|
|
.post-form-wrap textarea:focus {
|
|
outline: 2px solid var(--color-accent);
|
|
outline-offset: 1px;
|
|
border-color: var(--color-accent);
|
|
}
|
|
|
|
.post-form-wrap textarea { resize: vertical; min-height: 160px; line-height: var(--leading-normal); }
|
|
|
|
/* Submit button */
|
|
.post-form-wrap .btn-post {
|
|
display: block;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
padding: 1.1rem 1rem;
|
|
min-height: 56px;
|
|
background: var(--color-accent);
|
|
color: var(--color-accent-on);
|
|
border: none;
|
|
border-radius: var(--radius-md);
|
|
font-family: var(--font-ui);
|
|
font-size: var(--text-md);
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: background 0.15s;
|
|
margin-top: var(--space-6);
|
|
text-align: center;
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
}
|
|
|
|
.post-form-wrap .btn-post:hover { background: var(--color-accent-hover); }
|
|
|
|
/* Inline field validation */
|
|
.post-form-wrap .field-invalid {
|
|
border-color: #c0392b !important;
|
|
outline-color: #c0392b !important;
|
|
}
|
|
|
|
.post-form-wrap .field-error {
|
|
display: block;
|
|
color: #c0392b;
|
|
font-size: var(--text-sm);
|
|
margin-top: var(--space-1);
|
|
}
|
|
|
|
/* Location / weather action buttons */
|
|
.form-action-row {
|
|
display: flex;
|
|
gap: var(--space-3);
|
|
margin-top: var(--space-5);
|
|
}
|
|
|
|
.btn-action {
|
|
flex: 1;
|
|
padding: 0.75rem var(--space-3);
|
|
min-height: 44px;
|
|
background: var(--color-canvas);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-md);
|
|
font-family: var(--font-ui);
|
|
font-size: var(--text-sm);
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
color: var(--color-ink);
|
|
transition: background 0.15s, border-color 0.15s;
|
|
}
|
|
|
|
.btn-action:hover { background: var(--color-paper); border-color: var(--color-accent); }
|
|
|
|
/* Status feedback */
|
|
.form-status {
|
|
font-size: var(--text-sm);
|
|
color: var(--color-ink-muted);
|
|
margin-top: var(--space-2);
|
|
min-height: 1.4em;
|
|
}
|
|
|
|
.form-status--ok { color: var(--color-accent); }
|
|
.form-status--err { color: #B44A2A; }
|
|
|
|
/* ── Accessibility & motion ──────────────────────────────────────────────────── */
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*, *::before, *::after {
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
}
|
|
|
|
:focus-visible {
|
|
outline: 2px solid var(--color-accent);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
/* ── Home page layout ────────────────────────────────────────────────────────── */
|
|
|
|
.home-page .site-main { max-width: 1400px; margin: 0 auto; padding: 0; }
|
|
|
|
.home-layout {
|
|
display: grid;
|
|
grid-template-columns: 45% 55%;
|
|
}
|
|
|
|
.home-map-col {
|
|
position: sticky;
|
|
top: var(--site-header-height);
|
|
height: calc(100vh - var(--site-header-height));
|
|
align-self: start;
|
|
}
|
|
|
|
.home-map {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.home-feed-col {
|
|
padding: var(--space-8) var(--space-8);
|
|
}
|
|
|
|
.home-trip-header {
|
|
margin-bottom: var(--space-8);
|
|
padding-bottom: var(--space-6);
|
|
border-bottom: 1px solid var(--color-border);
|
|
}
|
|
|
|
.home-trip-name {
|
|
font-family: var(--font-display);
|
|
font-size: var(--text-2xl);
|
|
font-weight: 400;
|
|
color: var(--color-ink);
|
|
margin-bottom: var(--space-2);
|
|
}
|
|
|
|
.home-trip-counts {
|
|
font-size: var(--text-sm);
|
|
color: var(--color-ink-muted);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.home-layout { display: flex; flex-direction: column; }
|
|
.home-map-col { position: static; height: 40vh; align-self: stretch; }
|
|
.home-map { height: 40vh; }
|
|
.home-feed-col { padding: var(--space-6) var(--space-5); }
|
|
}
|
|
|
|
/* ── Past trips archive ──────────────────────────────────────────────────────── */
|
|
|
|
.trips-heading {
|
|
font-family: var(--font-display);
|
|
font-size: var(--text-2xl);
|
|
font-weight: 400;
|
|
color: var(--color-ink);
|
|
margin-bottom: var(--space-8);
|
|
}
|
|
|
|
.trips-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-4);
|
|
}
|
|
|
|
.trip-card {
|
|
display: block;
|
|
background: var(--color-canvas);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-md);
|
|
padding: var(--space-6);
|
|
text-decoration: none;
|
|
color: inherit;
|
|
transition: border-color 0.15s, background 0.15s;
|
|
}
|
|
|
|
.trip-card:hover {
|
|
border-color: var(--color-accent);
|
|
background: var(--color-surface-raised);
|
|
}
|
|
|
|
.trip-card-title {
|
|
font-family: var(--font-display);
|
|
font-size: var(--text-xl);
|
|
font-weight: 400;
|
|
color: var(--color-ink);
|
|
margin-bottom: var(--space-2);
|
|
}
|
|
|
|
.trip-card-meta {
|
|
display: flex;
|
|
gap: var(--space-4);
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
}
|
|
|
|
.trip-card-dates { font-size: var(--text-sm); color: var(--color-ink-2); }
|
|
.trip-card-counts { font-size: var(--text-sm); color: var(--color-ink-muted); }
|
|
|
|
/* ── Trip page sidebar ───────────────────────────────────────────────────────── */
|
|
|
|
.trip-counts {
|
|
font-size: var(--text-sm);
|
|
color: var(--color-ink-muted);
|
|
margin-top: var(--space-2);
|
|
}
|
|
|
|
.trip-layout {
|
|
display: grid;
|
|
grid-template-columns: 1fr 220px;
|
|
gap: var(--space-10);
|
|
align-items: start;
|
|
}
|
|
|
|
.trip-sidebar {
|
|
position: sticky;
|
|
top: calc(var(--site-header-height) + var(--space-6));
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-6);
|
|
}
|
|
|
|
.trip-sidebar-heading {
|
|
font-size: var(--text-xs);
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
color: var(--color-ink-muted);
|
|
margin-bottom: var(--space-3);
|
|
}
|
|
|
|
.trip-sidebar-list {
|
|
list-style: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-1);
|
|
}
|
|
|
|
.trip-sidebar-link {
|
|
display: block;
|
|
font-size: var(--text-sm);
|
|
color: var(--color-ink-2);
|
|
text-decoration: none;
|
|
padding: var(--space-1) 0;
|
|
transition: color 0.15s;
|
|
}
|
|
|
|
.trip-sidebar-link:hover { color: var(--color-accent); }
|
|
|
|
.trip-sidebar-date {
|
|
font-size: var(--text-xs);
|
|
color: var(--color-ink-muted);
|
|
margin-right: var(--space-2);
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.trip-layout { grid-template-columns: 1fr; }
|
|
.trip-sidebar { position: static; display: none; }
|
|
}
|
|
|
|
/* ── Story cards in feed ─────────────────────────────────────────────────────── */
|
|
|
|
.entry-card--story {
|
|
border: 2px solid var(--color-accent);
|
|
border-radius: var(--radius-md);
|
|
padding: var(--space-6);
|
|
background: var(--color-canvas);
|
|
}
|
|
|
|
.entry-card-photo--story { aspect-ratio: 16 / 7; }
|
|
|
|
.story-badge {
|
|
display: inline-block;
|
|
font-size: var(--text-xs);
|
|
font-weight: 600;
|
|
font-variant: small-caps;
|
|
letter-spacing: 0.08em;
|
|
color: var(--color-accent);
|
|
margin-bottom: var(--space-2);
|
|
}
|
|
|
|
/* ── Story page escape link ──────────────────────────────────────────────────── */
|
|
|
|
.story-escape {
|
|
position: fixed;
|
|
top: var(--space-5);
|
|
left: var(--space-5);
|
|
z-index: 200;
|
|
font-size: var(--text-sm);
|
|
font-weight: 500;
|
|
color: var(--color-ink);
|
|
text-decoration: none;
|
|
background: rgba(0,0,0,0.6);
|
|
padding: var(--space-2) var(--space-4);
|
|
border-radius: var(--radius-full);
|
|
backdrop-filter: blur(4px);
|
|
}
|
|
|
|
.story-escape:hover { color: var(--color-accent); }
|
|
|
|
.trip-feed { min-width: 0; }
|
|
|
|
.trip-sidebar-section {}
|