Three changes per Daniel (2026-09-15): 1. VERIFIED PUBLISHERS ONLY — lib/sources.js gains VERIFIED_HOSTS (established PH newsrooms + state wire + international) and publisherVerified(url); lib/crawl.js now drops any story whose article URL host is not on the allowlist BEFORE the relevance gate (skippedUnverified counter surfaces in the crawl result + cron log). Tabloids/blogs/radio (bomboradyo, unboxph, bnc.bilyonaryo, dzrh, thechronicle, …) can no longer reach the desk. Quiet-day fallback wires expanded to Inquirer/Rappler/GMA/ABS-CBN/Interaksyon/Manila Bulletin (all verified). 2. IN PICTURES — a new prominent full-width band on the front page: 7 real public-domain photos of Sen. BAM (official Senate/Facebook pages via Wikimedia Commons), each credited to its source with a link out to the Commons file page. lib/photos.js holds the curated, URL-verified set. 3. BOARD AS ITS OWN AREA — the 'Thank You, Senator BAM' community board is now a distinct gold-edged full-width band (front page + its own view), clearly separate from the news desks. The nav 'Thank You Board' button is gold (not a category tab) and jumps to the band. Tests: publisher-gate unit checks (22/22), ui-check.mjs updated to verify the In Pictures band (>=5 credited photos) + front-page board band posting; e2e + board suites still green.
785 lines
24 KiB
CSS
785 lines
24 KiB
CSS
/* BidaAngMamamayan — dark gamer theme with a gold/yellow motif.
|
|
Fonts (loaded in layout.js): Orbitron (display/masthead), Rajdhani (body),
|
|
JetBrains Mono (HUD labels, timestamps, counters). */
|
|
|
|
:root {
|
|
--bg: #0c0b09;
|
|
--bg-2: #12100c;
|
|
--panel: #171410;
|
|
--panel-2: #1d1913;
|
|
--line: #3a3226;
|
|
--line-soft: #2a241a;
|
|
--gold: #ffd426;
|
|
--gold-2: #ffbf00;
|
|
--gold-dim: #8a7422;
|
|
--neon: #2bff88;
|
|
--red: #ff4d5e;
|
|
--text: #efe9dc;
|
|
--muted: #a89e8a;
|
|
--faint: #6f6754;
|
|
--glow: 0 0 18px rgba(255, 212, 38, 0.35);
|
|
--glow-soft: 0 0 10px rgba(255, 212, 38, 0.18);
|
|
--font-display: "Orbitron", sans-serif;
|
|
--font-body: "Rajdhani", sans-serif;
|
|
--font-mono: "JetBrains Mono", monospace;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
html, body { margin: 0; padding: 0; }
|
|
body {
|
|
background:
|
|
radial-gradient(1200px 500px at 50% -100px, rgba(255, 212, 38, 0.07), transparent 60%),
|
|
var(--bg);
|
|
color: var(--text);
|
|
font-family: var(--font-body);
|
|
font-size: 17px;
|
|
line-height: 1.45;
|
|
-webkit-font-smoothing: antialiased;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* subtle CRT scanline + vignette, very low, pure CSS (no images) */
|
|
body::before {
|
|
content: "";
|
|
position: fixed;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
background: repeating-linear-gradient(
|
|
to bottom,
|
|
rgba(255, 255, 255, 0.012) 0px,
|
|
rgba(255, 255, 255, 0.012) 1px,
|
|
transparent 1px,
|
|
transparent 3px
|
|
);
|
|
}
|
|
body::after {
|
|
content: "";
|
|
position: fixed;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
background: radial-gradient(120% 90% at 50% 10%, transparent 60%, rgba(0, 0, 0, 0.5) 100%);
|
|
}
|
|
main, header, footer, .ticker { position: relative; z-index: 1; }
|
|
|
|
a { color: var(--gold); text-decoration: none; }
|
|
a:hover { text-decoration: underline; }
|
|
button { font-family: inherit; cursor: pointer; }
|
|
input, textarea { font-family: inherit; }
|
|
|
|
/* ── masthead ─────────────────────────────────────────────────────────── */
|
|
.masthead {
|
|
padding: 26px 16px 14px;
|
|
text-align: center;
|
|
border-bottom: 2px solid var(--line);
|
|
background: linear-gradient(to bottom, rgba(255, 212, 38, 0.05), transparent);
|
|
}
|
|
.brand {
|
|
font-family: var(--font-display);
|
|
font-weight: 900;
|
|
letter-spacing: 0.02em;
|
|
font-size: clamp(30px, 7vw, 58px);
|
|
line-height: 1;
|
|
color: var(--text);
|
|
text-transform: uppercase;
|
|
user-select: none;
|
|
}
|
|
.brand .bam {
|
|
color: var(--gold);
|
|
font-weight: 900;
|
|
text-shadow: var(--glow);
|
|
-webkit-text-stroke: 1px rgba(255, 212, 38, 0.4);
|
|
}
|
|
.brand .bam-a { -webkit-text-stroke: 0; }
|
|
.masthead .slogan {
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
letter-spacing: 0.42em;
|
|
color: var(--gold);
|
|
margin-top: 10px;
|
|
text-transform: uppercase;
|
|
}
|
|
.masthead .who {
|
|
margin: 10px auto 0;
|
|
max-width: 720px;
|
|
color: var(--muted);
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
}
|
|
.masthead .who b { color: var(--text); font-weight: 700; }
|
|
|
|
/* disclaimer bar — the site's legal heart, always visible on the front page */
|
|
.disclaimer {
|
|
margin: 14px auto 0;
|
|
max-width: 860px;
|
|
border: 1px solid var(--line);
|
|
background: rgba(255, 77, 94, 0.05);
|
|
color: var(--muted);
|
|
font-size: 13.5px;
|
|
font-weight: 500;
|
|
padding: 8px 14px;
|
|
border-radius: 6px;
|
|
text-align: center;
|
|
}
|
|
.disclaimer b { color: var(--red); font-weight: 700; }
|
|
|
|
/* nav / desk strip */
|
|
.navstrip {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 40;
|
|
display: flex;
|
|
gap: 6px;
|
|
overflow-x: auto;
|
|
padding: 10px 14px;
|
|
background: rgba(12, 11, 9, 0.92);
|
|
backdrop-filter: blur(6px);
|
|
border-bottom: 1px solid var(--line-soft);
|
|
scrollbar-width: none;
|
|
}
|
|
.navstrip::-webkit-scrollbar { display: none; }
|
|
.navbtn {
|
|
flex: 0 0 auto;
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
background: var(--panel);
|
|
border: 1px solid var(--line);
|
|
padding: 7px 12px;
|
|
border-radius: 4px;
|
|
}
|
|
.navbtn:hover { color: var(--gold); border-color: var(--gold-dim); text-decoration: none; }
|
|
.navbtn.active {
|
|
color: #12100c;
|
|
background: var(--gold);
|
|
border-color: var(--gold);
|
|
font-weight: 700;
|
|
box-shadow: var(--glow-soft);
|
|
}
|
|
.navbtn .dot {
|
|
display: inline-block;
|
|
width: 6px; height: 6px;
|
|
background: var(--neon);
|
|
border-radius: 50%;
|
|
margin-right: 6px;
|
|
box-shadow: 0 0 6px var(--neon);
|
|
}
|
|
|
|
/* ── HUD stat bar (gamer XP/HP vibe) ──────────────────────────────────── */
|
|
.hud {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
justify-content: center;
|
|
padding: 14px 14px 4px;
|
|
}
|
|
.hud .chip {
|
|
font-family: var(--font-mono);
|
|
font-size: 11.5px;
|
|
letter-spacing: 0.06em;
|
|
color: var(--muted);
|
|
border: 1px solid var(--line);
|
|
background: var(--panel);
|
|
border-radius: 4px;
|
|
padding: 6px 10px;
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
.hud .chip b { color: var(--gold); font-weight: 700; }
|
|
.hud .chip .live {
|
|
width: 7px; height: 7px; border-radius: 50%;
|
|
background: var(--neon);
|
|
box-shadow: 0 0 8px var(--neon);
|
|
animation: pulse 1.6s infinite;
|
|
}
|
|
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
|
|
|
|
/* XP bar: how full the edition is */
|
|
.xpbar {
|
|
width: min(560px, 92vw);
|
|
margin: 10px auto 0;
|
|
font-family: var(--font-mono);
|
|
font-size: 10.5px;
|
|
letter-spacing: 0.14em;
|
|
color: var(--faint);
|
|
}
|
|
.xpbar .track {
|
|
height: 8px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 4px;
|
|
background: var(--bg-2);
|
|
overflow: hidden;
|
|
margin-top: 4px;
|
|
}
|
|
.xpbar .fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, var(--gold-2), var(--gold));
|
|
box-shadow: var(--glow-soft);
|
|
transition: width 0.6s ease;
|
|
}
|
|
|
|
/* ── news ticker ──────────────────────────────────────────────────────── */
|
|
.ticker {
|
|
overflow: hidden;
|
|
border-top: 1px solid var(--line-soft);
|
|
border-bottom: 1px solid var(--line);
|
|
background: var(--bg-2);
|
|
white-space: nowrap;
|
|
padding: 7px 0;
|
|
position: relative;
|
|
}
|
|
.ticker .label {
|
|
position: absolute;
|
|
left: 0; top: 0; bottom: 0;
|
|
z-index: 2;
|
|
display: flex;
|
|
align-items: center;
|
|
background: var(--gold);
|
|
color: #12100c;
|
|
font-family: var(--font-mono);
|
|
font-weight: 700;
|
|
font-size: 11px;
|
|
letter-spacing: 0.1em;
|
|
padding: 0 10px;
|
|
}
|
|
.ticker .rail {
|
|
display: inline-block;
|
|
padding-left: 110px;
|
|
animation: ticker 60s linear infinite;
|
|
}
|
|
.ticker:hover .rail { animation-play-state: paused; }
|
|
.ticker .item {
|
|
font-family: var(--font-mono);
|
|
font-size: 12.5px;
|
|
color: var(--muted);
|
|
margin-right: 42px;
|
|
}
|
|
.ticker .item b { color: var(--gold); font-weight: 700; margin-right: 8px; }
|
|
.ticker .item a { color: var(--text); }
|
|
.ticker .item a:hover { color: var(--gold); }
|
|
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
|
|
|
|
/* ── layout: lead + rail ─────────────────────────────────────────────── */
|
|
.wrap { max-width: 1160px; margin: 0 auto; padding: 18px 14px 60px; }
|
|
.cols {
|
|
display: grid;
|
|
grid-template-columns: 1fr 330px;
|
|
gap: 20px;
|
|
align-items: start;
|
|
}
|
|
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } }
|
|
|
|
.panel {
|
|
background: var(--panel);
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
}
|
|
.panel .ph {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 14px;
|
|
border-bottom: 1px solid var(--line-soft);
|
|
font-family: var(--font-mono);
|
|
font-size: 11.5px;
|
|
letter-spacing: 0.18em;
|
|
color: var(--gold);
|
|
text-transform: uppercase;
|
|
background: linear-gradient(to bottom, rgba(255, 212, 38, 0.06), transparent);
|
|
}
|
|
.panel .ph .count { margin-left: auto; color: var(--faint); letter-spacing: 0.04em; }
|
|
|
|
/* lead story */
|
|
.lead { position: relative; cursor: pointer; }
|
|
.lead .hero {
|
|
position: relative;
|
|
aspect-ratio: 16/8.5;
|
|
background: var(--bg-2) center/cover no-repeat;
|
|
border-bottom: 1px solid var(--line);
|
|
overflow: hidden;
|
|
}
|
|
.lead .hero::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(to top, rgba(12, 11, 9, 0.95) 12%, rgba(12, 11, 9, 0.25) 55%, transparent);
|
|
}
|
|
/* no-image lead: a faint giant "BAM" watermark so the hero never reads as a
|
|
dead dark void (most Bing-wire stories carry no photo). */
|
|
.lead .hero.noimg {
|
|
background:
|
|
radial-gradient(120% 140% at 78% 18%, rgba(255, 205, 36, 0.10), transparent 55%),
|
|
repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.014) 0 2px, transparent 2px 26px),
|
|
var(--bg-2);
|
|
}
|
|
.lead .hero.noimg .ghost {
|
|
position: absolute;
|
|
right: 4%;
|
|
bottom: -6%;
|
|
z-index: 0;
|
|
font-family: var(--font-display);
|
|
font-weight: 900;
|
|
font-size: clamp(72px, 15vw, 190px);
|
|
letter-spacing: 0.02em;
|
|
color: rgba(255, 205, 36, 0.07);
|
|
text-shadow: 0 0 40px rgba(255, 205, 36, 0.05);
|
|
user-select: none;
|
|
pointer-events: none;
|
|
line-height: 1;
|
|
}
|
|
.lead .hero .ph-tag {
|
|
position: absolute;
|
|
left: 12px; bottom: 12px;
|
|
z-index: 2;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
.tag {
|
|
font-family: var(--font-mono);
|
|
font-size: 10.5px;
|
|
letter-spacing: 0.14em;
|
|
text-transform: uppercase;
|
|
padding: 4px 9px;
|
|
border-radius: 3px;
|
|
width: fit-content;
|
|
font-weight: 700;
|
|
}
|
|
.tag.named { background: var(--gold); color: #12100c; box-shadow: var(--glow-soft); }
|
|
.tag.desk { background: rgba(12, 11, 9, 0.8); color: var(--gold); border: 1px solid var(--gold-dim); }
|
|
.tag.src { background: rgba(12, 11, 9, 0.8); color: var(--muted); border: 1px solid var(--line); font-weight: 400; }
|
|
.lead h1 {
|
|
margin: 16px 18px 6px;
|
|
font-family: var(--font-display);
|
|
font-weight: 800;
|
|
font-size: clamp(21px, 3.4vw, 30px);
|
|
line-height: 1.18;
|
|
letter-spacing: 0.005em;
|
|
color: var(--text);
|
|
text-transform: none;
|
|
}
|
|
.lead .dek { margin: 0 18px 14px; color: var(--muted); font-size: 17.5px; font-weight: 500; }
|
|
.lead .meta { padding: 0 18px 16px; font-family: var(--font-mono); font-size: 11.5px; color: var(--faint); letter-spacing: 0.06em; }
|
|
.lead .meta .ts { color: var(--neon); }
|
|
|
|
/* story rows */
|
|
.story {
|
|
display: grid;
|
|
grid-template-columns: 96px 1fr;
|
|
gap: 12px;
|
|
padding: 12px 14px;
|
|
border-bottom: 1px solid var(--line-soft);
|
|
cursor: pointer;
|
|
transition: background 0.15s ease;
|
|
}
|
|
.story:last-child { border-bottom: none; }
|
|
.story:hover { background: var(--panel-2); }
|
|
.story .thumb {
|
|
width: 96px; height: 72px;
|
|
border-radius: 5px;
|
|
background: var(--bg-2) center/cover no-repeat;
|
|
border: 1px solid var(--line-soft);
|
|
position: relative;
|
|
}
|
|
.story .thumb .tag { position: absolute; left: 5px; top: 5px; font-size: 9px; padding: 2px 6px; }
|
|
.story .t { font-weight: 700; font-size: 16.5px; line-height: 1.25; color: var(--text); margin: 0 0 4px; }
|
|
.story .s { color: var(--muted); font-size: 14px; line-height: 1.35; margin: 0 0 6px; }
|
|
.story .m { font-family: var(--font-mono); font-size: 10.5px; color: var(--faint); letter-spacing: 0.05em; }
|
|
.story .m b { color: var(--gold); font-weight: 700; }
|
|
@media (max-width: 560px) {
|
|
.story { grid-template-columns: 1fr; }
|
|
.story .thumb { width: 100%; height: 150px; }
|
|
}
|
|
|
|
/* desk grid */
|
|
.deskgrid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
.deskcard {
|
|
border: 1px solid var(--line);
|
|
background: var(--panel);
|
|
border-radius: 8px;
|
|
padding: 12px 14px;
|
|
cursor: pointer;
|
|
position: relative;
|
|
overflow: hidden;
|
|
transition: border-color 0.15s ease, transform 0.15s ease;
|
|
}
|
|
.deskcard:hover { border-color: var(--gold-dim); transform: translateY(-2px); }
|
|
.deskcard .dh {
|
|
font-family: var(--font-mono);
|
|
font-size: 10.5px;
|
|
letter-spacing: 0.16em;
|
|
text-transform: uppercase;
|
|
color: var(--gold);
|
|
font-weight: 700;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
margin-bottom: 8px;
|
|
}
|
|
.deskcard .dh .n { margin-left: auto; color: var(--faint); letter-spacing: 0; }
|
|
.deskcard .dh .pix {
|
|
width: 8px; height: 8px;
|
|
background: var(--neon);
|
|
box-shadow: 0 0 7px var(--neon);
|
|
clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
|
|
}
|
|
.deskcard .dt { font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--text); margin: 0; }
|
|
.deskcard .dm { font-family: var(--font-mono); font-size: 10.5px; color: var(--faint); margin-top: 8px; letter-spacing: 0.05em; }
|
|
.deskcard .db { color: var(--muted); font-size: 13px; margin-top: 2px; }
|
|
|
|
/* rail cards */
|
|
.railcard { margin-bottom: 16px; }
|
|
.board-teaser .post { padding: 10px 14px; border-bottom: 1px solid var(--line-soft); }
|
|
.board-teaser .post:last-of-type { border-bottom: none; }
|
|
.board-teaser .nick { font-family: var(--font-mono); font-size: 12px; color: var(--neon); font-weight: 700; letter-spacing: 0.05em; }
|
|
.board-teaser .msg { color: var(--text); font-size: 14.5px; margin-top: 3px; line-height: 1.4; }
|
|
.board-teaser .ts { font-family: var(--font-mono); font-size: 10px; color: var(--faint); margin-top: 5px; }
|
|
.board-teaser .more { display: block; text-align: center; padding: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--gold); border-top: 1px solid var(--line-soft); }
|
|
.board-teaser .more:hover { background: rgba(255, 212, 38, 0.06); text-decoration: none; }
|
|
|
|
/* ── reader drawer ────────────────────────────────────────────────────── */
|
|
.drawer {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 100;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
background: rgba(5, 4, 3, 0.7);
|
|
backdrop-filter: blur(3px);
|
|
}
|
|
.drawer .sheet {
|
|
width: min(720px, 100vw);
|
|
background: var(--bg-2);
|
|
border-left: 2px solid var(--gold-dim);
|
|
overflow-y: auto;
|
|
animation: slidein 0.22s ease;
|
|
box-shadow: -18px 0 40px rgba(0, 0, 0, 0.5);
|
|
}
|
|
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
|
|
.sheet .top {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 2;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 12px 16px;
|
|
background: var(--bg-2);
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
.sheet .top .k {
|
|
font-family: var(--font-mono);
|
|
font-size: 10.5px;
|
|
letter-spacing: 0.2em;
|
|
color: var(--gold);
|
|
}
|
|
.sheet .close {
|
|
margin-left: auto;
|
|
background: var(--panel);
|
|
color: var(--text);
|
|
border: 1px solid var(--line);
|
|
border-radius: 4px;
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
padding: 6px 12px;
|
|
}
|
|
.sheet .close:hover { border-color: var(--red); color: var(--red); }
|
|
.sheet .img { width: 100%; max-height: 340px; object-fit: cover; border-bottom: 1px solid var(--line); }
|
|
.sheet .body { padding: 18px 20px 40px; }
|
|
.sheet h2 {
|
|
font-family: var(--font-display);
|
|
font-size: clamp(19px, 3vw, 25px);
|
|
font-weight: 800;
|
|
line-height: 1.22;
|
|
margin: 0 0 10px;
|
|
}
|
|
.sheet .byline { font-family: var(--font-mono); font-size: 11.5px; color: var(--faint); letter-spacing: 0.06em; margin-bottom: 16px; }
|
|
.sheet .byline b { color: var(--gold); }
|
|
.sheet .para { font-size: 17px; line-height: 1.65; margin: 0 0 13px; color: var(--text); font-weight: 500; }
|
|
.sheet .para.head { font-weight: 700; color: var(--gold); font-size: 16px; margin-top: 20px; letter-spacing: 0.02em; }
|
|
.sheet .srcbtn {
|
|
display: inline-block;
|
|
margin-top: 8px;
|
|
font-family: var(--font-mono);
|
|
font-size: 12.5px;
|
|
letter-spacing: 0.08em;
|
|
color: #12100c;
|
|
background: var(--gold);
|
|
padding: 10px 18px;
|
|
border-radius: 4px;
|
|
font-weight: 700;
|
|
}
|
|
.sheet .srcbtn:hover { background: var(--gold-2); text-decoration: none; box-shadow: var(--glow-soft); }
|
|
.sheet .blocked {
|
|
border: 1px dashed var(--line);
|
|
background: var(--panel);
|
|
padding: 18px;
|
|
color: var(--muted);
|
|
font-size: 15px;
|
|
border-radius: 6px;
|
|
}
|
|
.sheet .loading { padding: 30px 16px; text-align: center; font-family: var(--font-mono); color: var(--faint); font-size: 13px; letter-spacing: 0.14em; }
|
|
|
|
/* ── board page ───────────────────────────────────────────────────────── */
|
|
.boardhead { text-align: center; padding: 34px 16px 10px; }
|
|
.boardhead .h {
|
|
font-family: var(--font-display);
|
|
font-weight: 900;
|
|
font-size: clamp(24px, 5vw, 40px);
|
|
color: var(--gold);
|
|
text-shadow: var(--glow-soft);
|
|
letter-spacing: 0.02em;
|
|
}
|
|
.boardhead .sub { color: var(--muted); margin-top: 8px; font-size: 16.5px; font-weight: 500; }
|
|
.postform {
|
|
max-width: 640px;
|
|
margin: 22px auto 8px;
|
|
background: var(--panel);
|
|
border: 1px solid var(--line);
|
|
border-radius: 10px;
|
|
padding: 18px;
|
|
}
|
|
.postform label {
|
|
display: block;
|
|
font-family: var(--font-mono);
|
|
font-size: 11px;
|
|
letter-spacing: 0.16em;
|
|
color: var(--gold);
|
|
margin: 0 0 6px;
|
|
text-transform: uppercase;
|
|
}
|
|
.postform input, .postform textarea {
|
|
width: 100%;
|
|
background: var(--bg-2);
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
color: var(--text);
|
|
font-size: 16px;
|
|
padding: 11px 13px;
|
|
margin-bottom: 14px;
|
|
outline: none;
|
|
font-family: var(--font-body);
|
|
font-weight: 500;
|
|
}
|
|
.postform input:focus, .postform textarea:focus { border-color: var(--gold-dim); box-shadow: var(--glow-soft); }
|
|
.postform .go {
|
|
width: 100%;
|
|
background: var(--gold);
|
|
color: #12100c;
|
|
border: none;
|
|
border-radius: 6px;
|
|
font-family: var(--font-display);
|
|
font-weight: 800;
|
|
font-size: 15px;
|
|
letter-spacing: 0.1em;
|
|
padding: 13px;
|
|
text-transform: uppercase;
|
|
}
|
|
.postform .go:hover { background: var(--gold-2); box-shadow: var(--glow); }
|
|
.postform .go:disabled { opacity: 0.5; cursor: wait; }
|
|
.postform .err { color: var(--red); font-size: 14px; margin-top: 10px; font-weight: 600; }
|
|
.postform .okmsg { color: var(--neon); font-size: 14px; margin-top: 10px; font-weight: 600; }
|
|
|
|
.postlist { max-width: 640px; margin: 18px auto 60px; }
|
|
.post {
|
|
background: var(--panel);
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
padding: 13px 16px;
|
|
margin-bottom: 10px;
|
|
}
|
|
.post .toprow { display: flex; align-items: baseline; gap: 10px; }
|
|
.post .nick {
|
|
font-family: var(--font-mono);
|
|
font-size: 13.5px;
|
|
font-weight: 700;
|
|
color: var(--neon);
|
|
letter-spacing: 0.04em;
|
|
}
|
|
.post .nick::before { content: "▸ "; color: var(--gold-dim); }
|
|
.post .ts { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; color: var(--faint); letter-spacing: 0.05em; }
|
|
.post .msg { margin-top: 6px; color: var(--text); font-size: 16px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
|
|
.post.fresh { border-color: var(--gold-dim); box-shadow: var(--glow-soft); animation: fresh 2.4s ease; }
|
|
@keyframes fresh { from { background: rgba(255, 212, 38, 0.14); } to { background: var(--panel); } }
|
|
.empty {
|
|
text-align: center;
|
|
color: var(--faint);
|
|
font-family: var(--font-mono);
|
|
font-size: 13px;
|
|
letter-spacing: 0.1em;
|
|
padding: 40px 10px;
|
|
}
|
|
|
|
/* toast */
|
|
.toast {
|
|
position: fixed;
|
|
bottom: 22px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
z-index: 200;
|
|
background: var(--panel);
|
|
border: 1px solid var(--gold-dim);
|
|
color: var(--text);
|
|
font-family: var(--font-mono);
|
|
font-size: 13px;
|
|
padding: 11px 18px;
|
|
border-radius: 6px;
|
|
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
|
|
animation: toastin 0.2s ease;
|
|
max-width: 90vw;
|
|
}
|
|
@keyframes toastin { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
|
|
|
|
/* footer */
|
|
footer.site {
|
|
border-top: 1px solid var(--line);
|
|
margin-top: 30px;
|
|
padding: 26px 16px 40px;
|
|
text-align: center;
|
|
color: var(--faint);
|
|
font-size: 13.5px;
|
|
font-weight: 500;
|
|
}
|
|
footer.site .fb {
|
|
font-family: var(--font-display);
|
|
font-weight: 800;
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
letter-spacing: 0.18em;
|
|
margin-bottom: 10px;
|
|
}
|
|
footer.site .fb .bam { color: var(--gold); }
|
|
footer.site .disc { max-width: 640px; margin: 0 auto 10px; line-height: 1.5; }
|
|
|
|
/* skeleton shimmer while the edition loads */
|
|
.sk {
|
|
background: linear-gradient(90deg, var(--panel) 25%, var(--panel-2) 50%, var(--panel) 75%);
|
|
background-size: 200% 100%;
|
|
animation: shimmer 1.4s infinite;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
/* ── Full-width content bands (In Pictures, The Board) ──────────────────
|
|
These are deliberately NOT news desks: they sit above / below the wire
|
|
grid in their own gold-edged bands so a visitor immediately sees them. */
|
|
.band {
|
|
margin: 22px 0;
|
|
background:
|
|
radial-gradient(120% 200% at 0% 0%, rgba(255, 212, 38, 0.05), transparent 45%),
|
|
var(--panel);
|
|
border: 1px solid var(--line);
|
|
border-top: 2px solid var(--gold-dim);
|
|
border-radius: 10px;
|
|
padding: 18px 20px 22px;
|
|
box-shadow: var(--glow-soft);
|
|
}
|
|
.bandhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: 14px; }
|
|
.bandtitle {
|
|
font-family: var(--font-display);
|
|
font-weight: 800;
|
|
color: var(--gold);
|
|
font-size: 20px;
|
|
letter-spacing: 0.14em;
|
|
text-transform: uppercase;
|
|
}
|
|
.bandsub { color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; }
|
|
|
|
/* The board button is NOT a news desk — give it its own gold treatment so it
|
|
reads as "another area of the site", not a category. */
|
|
.navbtn.board {
|
|
background: var(--gold);
|
|
color: #14110b;
|
|
border-color: var(--gold);
|
|
font-weight: 700;
|
|
}
|
|
.navbtn.board .dot { background: #14110b; }
|
|
.navbtn.board:hover { background: var(--gold-2); box-shadow: var(--glow); }
|
|
.navbtn.board.active { background: var(--gold-2); box-shadow: var(--glow); }
|
|
|
|
/* In Pictures */
|
|
.photoscroll {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
.photo {
|
|
margin: 0;
|
|
background: var(--bg-2);
|
|
border: 1px solid var(--line-soft);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
|
|
}
|
|
.photo:hover { border-color: var(--gold-dim); box-shadow: var(--glow-soft); transform: translateY(-2px); }
|
|
.photo .phimg {
|
|
aspect-ratio: 4 / 3;
|
|
background: var(--bg-2) center/cover no-repeat;
|
|
}
|
|
.photo figcaption { padding: 9px 11px 11px; }
|
|
.photo .cap {
|
|
color: var(--text);
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
line-height: 1.35;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
.photo .cred {
|
|
margin-top: 7px;
|
|
font-family: var(--font-mono);
|
|
font-size: 11px;
|
|
color: var(--gold);
|
|
letter-spacing: 0.02em;
|
|
line-height: 1.35;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
.photo .lic {
|
|
margin-top: 3px;
|
|
font-family: var(--font-mono);
|
|
font-size: 10px;
|
|
color: var(--faint);
|
|
letter-spacing: 0.02em;
|
|
}
|
|
.photos-note {
|
|
margin-top: 12px;
|
|
color: var(--faint);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
/* The Board band */
|
|
.board-band .postform.big { max-width: 720px; }
|
|
.board-band .postform.big { display: grid; grid-template-columns: 1fr 2fr; gap: 10px 14px; align-items: end; }
|
|
.board-band .postform.big label[for="bnick"] { grid-column: 1; }
|
|
.board-band .postform.big #bnick { grid-column: 1; }
|
|
.board-band .postform.big label[for="bmsg"] { grid-column: 2; }
|
|
.board-band .postform.big #bmsg { grid-column: 2; }
|
|
.board-band .postform.big .go { grid-column: 2; justify-self: start; }
|
|
.board-band .postform.big .err { grid-column: 1 / -1; }
|
|
.postlist.board { max-width: none; margin: 16px auto 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
|
|
.postlist.board .post { margin-bottom: 0; }
|
|
|
|
@media (max-width: 640px) {
|
|
.board-band .postform.big { grid-template-columns: 1fr; }
|
|
.board-band .postform.big label[for="bnick"], .board-band .postform.big #bnick,
|
|
.board-band .postform.big label[for="bmsg"], .board-band .postform.big #bmsg,
|
|
.board-band .postform.big .go { grid-column: 1; }
|
|
}
|
|
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
|