Files
pirats/frontend/src/assets/css/upkeep.css
Tim McCarthy 0744893e7b Re-theme the app: token-based CSS and a full face lift
CSS refactor: every color, font, radius, and shadow is now defined once
in theme.css; all other styles derive translucent variants with
color-mix(), so re-theming means editing one file. Removed the
duplicate core.css/style.css import chains, dead styles, and the
Bootstrap/Tailwind orphan classes that were silently unstyled
(the main reason the splash page looked broken).

New "Lantern & Brine" look: brass and parchment on a lantern-lit
ink-navy night, Pirata One wordmark with Alegreya SC/Sans body fonts
(self-hosted via fontsource — they were previously referenced but
never loaded), parchment-faced playing cards, and a rebuilt splash
page. Inline color styles in components were replaced with semantic
classes (prompt-box, notice-banner, status chips, etc.), the rulebook's
embedded palette was updated to match, and the leftover Vite favicon
and "frontend" page title were replaced.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 06:50:00 -07:00

134 lines
2.4 KiB
CSS

/* --- Between-scenes upkeep --- */
.between-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
margin: 2rem 0;
}
@media (max-width: 800px) {
.between-grid {
grid-template-columns: 1fr;
}
}
.voting-card, .deep-rest-card {
text-align: left;
}
.voted-confirmation-box {
padding: 1.5rem;
text-align: center;
border: 1px solid var(--success);
}
.ranks-ledger {
list-style: none;
}
.ranks-ledger li {
padding: 0.5rem;
border-bottom: 1px solid var(--edge-soft);
display: flex;
justify-content: space-between;
}
/* --- Death fate panel --- */
.death-fate-card {
border: 2px solid var(--danger);
background: color-mix(in srgb, var(--danger) 5%, var(--surface));
padding: 2.5rem;
margin: 2rem auto;
max-width: 650px;
text-align: center;
}
.death-fate-card > h2 {
color: var(--danger);
font-size: 2rem;
margin-bottom: 1rem;
}
.death-fate-card .description {
font-size: 1.15rem;
color: var(--text);
margin-bottom: 2rem;
}
.fate-choices {
display: flex;
gap: 1.5rem;
justify-content: center;
flex-wrap: wrap;
}
.creation-form-wrapper {
text-align: left;
background: var(--well);
padding: 1.5rem;
border-radius: var(--radius-md);
border: 1px solid var(--edge-soft);
}
.creation-form-wrapper h3 {
color: var(--accent);
margin-bottom: 1.5rem;
border-bottom: 1px solid var(--edge-accent);
padding-bottom: 0.5rem;
}
.form-actions {
display: flex;
gap: 1rem;
margin-top: 1.5rem;
}
.form-actions .btn {
flex: 1;
}
/* --- Deep hand refresh drag & drop --- */
.upkeep-drag-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
margin: 2rem 0;
}
@media (max-width: 768px) {
.upkeep-drag-container {
grid-template-columns: 1fr;
}
}
.upkeep-box {
min-height: 400px;
display: flex;
flex-direction: column;
}
.upkeep-box h4 {
margin-bottom: 1rem;
font-size: 1.1rem;
}
.upkeep-flex {
flex: 1;
display: flex;
flex-wrap: wrap;
gap: 1rem;
padding: 1.5rem;
background: var(--well);
border: 1px dashed var(--edge);
border-radius: var(--radius-md);
align-content: flex-start;
min-height: 300px;
transition: var(--transition-smooth);
}
.end-story-box {
margin-top: 1.5rem;
border-top: 1px solid var(--edge-soft);
padding-top: 1rem;
}