Add Doris Kitchen household recipe app
This commit is contained in:
263
home/doris-kitchen/app/static/app.css
Normal file
263
home/doris-kitchen/app/static/app.css
Normal file
@@ -0,0 +1,263 @@
|
||||
:root {
|
||||
--ink: #2c1810;
|
||||
--paper: #f8f0df;
|
||||
--paper-2: #fff8eb;
|
||||
--accent: #c7682d;
|
||||
--accent-deep: #8b3d14;
|
||||
--olive: #6c7a3d;
|
||||
--rose: #a74735;
|
||||
--line: rgba(92, 52, 28, 0.2);
|
||||
--muted: #755f53;
|
||||
--shadow: 0 18px 40px rgba(73, 34, 11, 0.13);
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
body {
|
||||
margin: 0;
|
||||
color: var(--ink);
|
||||
font-family: Georgia, "Palatino Linotype", serif;
|
||||
background:
|
||||
radial-gradient(circle at top left, rgba(199, 104, 45, 0.14), transparent 24rem),
|
||||
radial-gradient(circle at 85% 10%, rgba(108, 122, 61, 0.14), transparent 18rem),
|
||||
linear-gradient(180deg, #f4ead7, #efe0c8 55%, #ead7bf);
|
||||
}
|
||||
|
||||
.site-header,
|
||||
.page-shell {
|
||||
max-width: 1180px;
|
||||
margin: 0 auto;
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.site-header {
|
||||
display: grid;
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.eyebrow,
|
||||
.section-label {
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.14em;
|
||||
font-size: 0.75rem;
|
||||
color: var(--accent-deep);
|
||||
margin: 0 0 8px;
|
||||
}
|
||||
|
||||
h1, h2, h3, p {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.lede,
|
||||
.muted {
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
nav {
|
||||
display: flex;
|
||||
gap: 14px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
nav a,
|
||||
.button-link {
|
||||
color: var(--accent-deep);
|
||||
text-decoration: none;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.page-shell {
|
||||
display: grid;
|
||||
gap: 22px;
|
||||
padding-bottom: 44px;
|
||||
}
|
||||
|
||||
.hero-grid,
|
||||
.split-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||||
gap: 22px;
|
||||
}
|
||||
|
||||
.card {
|
||||
background: rgba(255, 248, 235, 0.92);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 24px;
|
||||
padding: 24px;
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
.spotlight {
|
||||
background:
|
||||
linear-gradient(145deg, rgba(199, 104, 45, 0.12), rgba(255, 248, 235, 0.88)),
|
||||
rgba(255, 248, 235, 0.92);
|
||||
}
|
||||
|
||||
.stats-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.stats-grid div {
|
||||
background: var(--paper);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 16px;
|
||||
padding: 14px;
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.stats-grid span {
|
||||
color: var(--muted);
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.stats-grid strong {
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
.section-heading,
|
||||
.suggestion-top,
|
||||
.action-row,
|
||||
.checkbox-row,
|
||||
.inline-form {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.stack-form {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
label {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
input,
|
||||
textarea,
|
||||
button {
|
||||
font: inherit;
|
||||
border-radius: 14px;
|
||||
border: 1px solid var(--line);
|
||||
padding: 12px 14px;
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
background: rgba(255, 255, 255, 0.7);
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
button,
|
||||
.button-link {
|
||||
background: var(--accent);
|
||||
color: #fff7ef;
|
||||
border: none;
|
||||
padding: 12px 16px;
|
||||
border-radius: 999px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.button-link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
button.ghost {
|
||||
background: rgba(255, 255, 255, 0.7);
|
||||
color: var(--accent-deep);
|
||||
border: 1px solid var(--line);
|
||||
}
|
||||
|
||||
button.danger {
|
||||
color: var(--rose);
|
||||
}
|
||||
|
||||
.chip-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.chip-list span,
|
||||
.chip-toggle,
|
||||
.score-pill,
|
||||
.status-pill,
|
||||
.pill {
|
||||
border-radius: 999px;
|
||||
padding: 6px 10px;
|
||||
font-size: 0.82rem;
|
||||
}
|
||||
|
||||
.chip-list span,
|
||||
.chip-toggle {
|
||||
background: var(--paper);
|
||||
border: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.chip-toggle.active,
|
||||
.score-pill {
|
||||
background: rgba(199, 104, 45, 0.12);
|
||||
color: var(--accent-deep);
|
||||
}
|
||||
|
||||
.status-pill {
|
||||
background: rgba(108, 122, 61, 0.12);
|
||||
color: var(--olive);
|
||||
}
|
||||
|
||||
.pill-good {
|
||||
background: rgba(108, 122, 61, 0.14);
|
||||
color: var(--olive);
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.suggestion-grid,
|
||||
.plan-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.suggestion-card,
|
||||
.plan-card,
|
||||
.plan-summary {
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 18px;
|
||||
background: rgba(255, 255, 255, 0.55);
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.suggestion-card h3,
|
||||
.plan-card h3 {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.suggestion-card a,
|
||||
.plan-card a {
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
.reason-list {
|
||||
margin: 12px 0;
|
||||
padding-left: 18px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.site-header,
|
||||
.page-shell {
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.stats-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user