163 lines
2.4 KiB
CSS
163 lines
2.4 KiB
CSS
:root {
|
|
--bg: #eef2e9;
|
|
--panel: #f9fbf6;
|
|
--ink: #162015;
|
|
--muted: #5f6f5f;
|
|
--accent: #205f4a;
|
|
--line: #c9d4c4;
|
|
--danger: #8a2d24;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: Georgia, "Times New Roman", serif;
|
|
background: linear-gradient(180deg, #f4f1e7 0%, var(--bg) 100%);
|
|
color: var(--ink);
|
|
}
|
|
|
|
.wrap {
|
|
max-width: 1280px;
|
|
margin: 0 auto;
|
|
padding: 24px;
|
|
}
|
|
|
|
.top {
|
|
display: grid;
|
|
grid-template-columns: 1.1fr 0.9fr;
|
|
gap: 24px;
|
|
align-items: start;
|
|
}
|
|
|
|
.panel {
|
|
background: rgba(249, 251, 246, 0.94);
|
|
border: 1px solid var(--line);
|
|
border-radius: 18px;
|
|
padding: 18px;
|
|
box-shadow: 0 12px 30px rgba(22, 32, 21, 0.08);
|
|
}
|
|
|
|
.panel-space {
|
|
margin-top: 24px;
|
|
}
|
|
|
|
h1,
|
|
h2 {
|
|
margin: 0 0 12px;
|
|
}
|
|
|
|
.actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
margin: 12px 0 0;
|
|
}
|
|
|
|
button,
|
|
.btn {
|
|
appearance: none;
|
|
border: 1px solid var(--accent);
|
|
background: var(--accent);
|
|
color: white;
|
|
padding: 10px 14px;
|
|
border-radius: 999px;
|
|
cursor: pointer;
|
|
font: inherit;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
}
|
|
|
|
button.secondary,
|
|
.btn.secondary {
|
|
background: white;
|
|
color: var(--accent);
|
|
}
|
|
|
|
button.danger,
|
|
.btn.danger {
|
|
background: white;
|
|
color: var(--danger);
|
|
border-color: var(--danger);
|
|
}
|
|
|
|
select,
|
|
input[type="number"] {
|
|
appearance: none;
|
|
border: 1px solid var(--line);
|
|
background: white;
|
|
color: var(--ink);
|
|
padding: 10px 12px;
|
|
border-radius: 999px;
|
|
font: inherit;
|
|
min-width: 100px;
|
|
}
|
|
|
|
.meta {
|
|
color: var(--muted);
|
|
margin: 6px 0;
|
|
}
|
|
|
|
.preview {
|
|
width: 100%;
|
|
aspect-ratio: 4 / 3;
|
|
object-fit: cover;
|
|
border-radius: 14px;
|
|
background: #dbe3d6;
|
|
border: 1px solid var(--line);
|
|
}
|
|
|
|
.status {
|
|
margin-top: 12px;
|
|
padding: 10px 12px;
|
|
border-radius: 12px;
|
|
background: #edf5eb;
|
|
border: 1px solid var(--line);
|
|
color: var(--muted);
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
|
gap: 18px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.card {
|
|
background: rgba(255, 255, 255, 0.78);
|
|
border: 1px solid var(--line);
|
|
border-radius: 16px;
|
|
padding: 12px;
|
|
}
|
|
|
|
.thumb {
|
|
width: 100%;
|
|
aspect-ratio: 4 / 3;
|
|
object-fit: cover;
|
|
border-radius: 12px;
|
|
border: 1px solid var(--line);
|
|
background: #dde6d9;
|
|
}
|
|
|
|
.name {
|
|
margin-top: 10px;
|
|
font-weight: 700;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.row {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.top {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|