Files
2026-05-19 14:53:37 +02:00

187 lines
2.5 KiB
CSS

:root {
--bg: #f6f5f1;
--card: #ffffff;
--text: #1d2129;
--muted: #5b6470;
--line: #e4e7ec;
--on: #0a7a3d;
--off: #8f1d1d;
--accent: #1f5ad2;
--love: #b0216a;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: "Segoe UI", Roboto, sans-serif;
background: radial-gradient(circle at top right, #fff6fb 0%, var(--bg) 45%);
color: var(--text);
}
.container {
max-width: 820px;
margin: 0 auto;
padding: 24px 16px 48px;
}
.hero {
margin-bottom: 18px;
}
.eyebrow {
margin: 0 0 6px;
color: var(--muted);
text-transform: uppercase;
letter-spacing: 0.08em;
font-size: 12px;
font-weight: 600;
}
h1 {
margin: 0 0 10px;
line-height: 1.2;
}
h2 {
margin-top: 0;
}
.lead {
margin: 0;
color: var(--muted);
}
.card {
background: var(--card);
border: 1px solid var(--line);
border-radius: 14px;
padding: 18px;
margin-top: 14px;
}
.muted {
color: var(--muted);
}
.row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin: 12px 0;
padding: 10px;
border: 1px solid var(--line);
border-radius: 10px;
}
label {
display: block;
color: var(--muted);
font-size: 12px;
margin-bottom: 4px;
}
code {
font-size: 14px;
font-weight: 600;
}
.list {
margin: 0;
padding-left: 18px;
}
.list li {
margin-bottom: 8px;
}
.controls {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.btn {
border: 0;
border-radius: 10px;
padding: 11px 14px;
cursor: pointer;
color: #fff;
font-weight: 600;
font-size: 14px;
text-decoration: none;
display: inline-flex;
align-items: center;
justify-content: center;
}
.btn.secondary {
background: var(--accent);
}
.btn.on {
background: var(--on);
}
.btn.off {
background: var(--off);
}
.btn.love {
background: var(--love);
}
.hint {
color: var(--muted);
font-size: 13px;
margin-top: 10px;
}
.love-note {
background: linear-gradient(135deg, #fff4fa, #fff);
}
.qr-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 10px;
margin-top: 12px;
}
.qr-grid.single {
grid-template-columns: minmax(220px, 280px);
}
.qr-card {
border: 1px solid var(--line);
border-radius: 10px;
padding: 10px;
background: #fcfcff;
}
.qr-card h3 {
margin: 0 0 8px;
font-size: 14px;
}
.qr-card img {
width: 170px;
height: 170px;
object-fit: contain;
display: block;
}
@media (max-width: 640px) {
.row {
flex-direction: column;
align-items: flex-start;
}
.btn {
width: 100%;
}
}