Files
whattoplay/styles.css
2026-03-01 12:03:42 +01:00

232 lines
3.5 KiB
CSS

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");
:root {
color-scheme: light;
font-family: "Inter", system-ui, sans-serif;
line-height: 1.5;
--bg: #f6f7fb;
--panel: #ffffff;
--text: #1c1d2a;
--muted: #5c607b;
--accent: #4b4bff;
--accent-weak: #e6e8ff;
--border: #e0e3f2;
--shadow: 0 15px 40px rgba(28, 29, 42, 0.08);
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background: var(--bg);
color: var(--text);
min-height: 100vh;
}
.app-header {
display: flex;
justify-content: space-between;
align-items: center;
gap: 2rem;
padding: 3.5rem 6vw 2rem;
}
.eyebrow {
text-transform: uppercase;
letter-spacing: 0.2em;
font-size: 0.75rem;
font-weight: 600;
color: var(--muted);
}
h1 {
font-size: clamp(2rem, 3vw, 3.2rem);
margin: 0.4rem 0 0.8rem;
}
.subtitle {
max-width: 520px;
color: var(--muted);
}
.header-actions {
display: flex;
gap: 1rem;
}
button,
input,
select {
font-family: inherit;
}
.primary {
background: var(--accent);
color: white;
border: none;
padding: 0.8rem 1.5rem;
border-radius: 999px;
font-weight: 600;
box-shadow: var(--shadow);
cursor: pointer;
}
.primary:hover {
filter: brightness(0.95);
}
.app-main {
padding: 0 6vw 3rem;
}
.controls {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 1rem;
background: var(--panel);
padding: 1.4rem;
border-radius: 20px;
border: 1px solid var(--border);
box-shadow: var(--shadow);
}
.control-group {
display: flex;
flex-direction: column;
gap: 0.4rem;
}
label {
font-size: 0.85rem;
color: var(--muted);
}
input,
select {
border-radius: 12px;
border: 1px solid var(--border);
padding: 0.6rem 0.8rem;
background: #fdfdff;
}
.summary {
margin: 2rem 0 1.5rem;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 1rem;
}
.summary-card {
background: var(--panel);
border-radius: 18px;
padding: 1.2rem;
border: 1px solid var(--border);
box-shadow: var(--shadow);
}
.summary-card h3 {
font-size: 0.95rem;
color: var(--muted);
margin-bottom: 0.4rem;
}
.summary-card p {
font-size: 1.7rem;
font-weight: 700;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 1.5rem;
}
.card {
background: var(--panel);
border-radius: 20px;
border: 1px solid var(--border);
padding: 1.4rem;
display: flex;
flex-direction: column;
gap: 0.8rem;
box-shadow: var(--shadow);
}
.card-header {
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
}
.title {
font-size: 1.1rem;
font-weight: 600;
}
.badge {
background: var(--accent-weak);
color: var(--accent);
font-size: 0.75rem;
padding: 0.2rem 0.6rem;
border-radius: 999px;
font-weight: 600;
}
.meta {
font-size: 0.85rem;
color: var(--muted);
}
.tag-list {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
}
.tag {
background: #f1f2f8;
color: #2e3046;
padding: 0.2rem 0.6rem;
border-radius: 999px;
font-size: 0.75rem;
}
.sources {
display: flex;
flex-direction: column;
gap: 0.3rem;
}
.source-item {
display: flex;
justify-content: space-between;
align-items: center;
background: #f8f9fe;
border-radius: 12px;
padding: 0.4rem 0.6rem;
font-size: 0.78rem;
color: var(--muted);
}
.source-item span {
font-weight: 600;
color: var(--text);
}
.app-footer {
padding: 2rem 6vw 3rem;
color: var(--muted);
font-size: 0.85rem;
}
@media (max-width: 720px) {
.app-header {
flex-direction: column;
align-items: flex-start;
}
}