psyche / static /style.css
younesStrittmatter's picture
Add hugging face space setup
d665fdc
Raw
History Blame Contribute Delete
1.83 kB
:root {
color-scheme: light dark;
--bg: #fafafa;
--fg: #1a1a1a;
--border: #ccc;
--muted: #666;
--accent: #2563eb;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #121212;
--fg: #f0f0f0;
--border: #444;
--muted: #aaa;
--accent: #60a5fa;
}
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
background: var(--bg);
color: var(--fg);
line-height: 1.45;
}
header.site {
padding: 1rem 1.5rem;
border-bottom: 1px solid var(--border);
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 0.75rem 1.5rem;
}
header.site h1 {
margin: 0;
font-size: 1.2rem;
font-weight: 650;
}
header.site nav {
display: flex;
gap: 1rem;
}
header.site a {
color: var(--accent);
text-decoration: none;
font-weight: 600;
font-size: 0.95rem;
}
header.site a:hover {
text-decoration: underline;
}
main {
padding: 1.25rem 1.5rem 2rem;
max-width: 52rem;
margin: 0 auto;
}
p.muted {
color: var(--muted);
font-size: 0.92rem;
}
table.data {
border-collapse: collapse;
width: 100%;
font-size: 0.9rem;
}
table.data th,
table.data td {
border: 1px solid var(--border);
padding: 0.4rem 0.55rem;
text-align: left;
}
table.data th {
background: color-mix(in srgb, var(--bg) 90%, var(--fg));
}
form.preset {
margin: 1rem 0;
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
align-items: center;
}
form.preset label {
font-size: 0.88rem;
color: var(--muted);
}
select,
button {
font: inherit;
padding: 0.35rem 0.5rem;
border-radius: 6px;
border: 1px solid var(--border);
background: var(--bg);
color: var(--fg);
}
button {
border-color: var(--accent);
color: var(--accent);
font-weight: 600;
cursor: pointer;
}
button:hover {
opacity: 0.9;
}