test/public/styles.css

98 lines
1.2 KiB
CSS

:root {
--bg: #f5f7fb;
--card: #ffffff;
--text: #1d2330;
--muted: #5f6776;
--border: #d7dce8;
--accent: #0a6cff;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: var(--bg);
color: var(--text);
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.container {
max-width: 900px;
margin: 0 auto;
padding: 24px 16px 40px;
}
h1 {
margin-top: 0;
}
.panel {
background: var(--card);
border: 1px solid var(--border);
border-radius: 12px;
padding: 16px;
margin-bottom: 16px;
}
label {
display: block;
font-weight: 600;
margin-bottom: 12px;
}
input,
textarea,
button {
width: 100%;
font: inherit;
}
input,
textarea {
margin-top: 6px;
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px;
}
button {
border: 0;
border-radius: 8px;
background: var(--accent);
color: #fff;
font-weight: 700;
padding: 10px 14px;
cursor: pointer;
}
.status {
color: var(--muted);
}
.recipes {
display: grid;
gap: 10px;
}
.recipe-card {
border: 1px solid var(--border);
border-radius: 8px;
padding: 12px;
}
.recipe-card h3 {
margin: 0 0 8px;
}
.recipe-card ul {
margin: 8px 0;
padding-left: 18px;
}
.recipe-card p {
margin: 8px 0 0;
white-space: pre-wrap;
}