README / style.css
SHINDAWIT's picture
Make organization card readable without external CSS
69e7603 verified
Raw History Blame Contribute Delete
2.81 kB
:root {
color-scheme: light dark;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background: transparent;
color: #172033;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 10px;
background: transparent;
}
.card {
max-width: 920px;
margin: 0 auto;
padding: 24px;
border: 1px solid #dbe3ef;
border-radius: 18px;
background: linear-gradient(145deg, #ffffff 0%, #f6f9ff 100%);
box-shadow: 0 10px 28px rgba(30, 64, 175, 0.08);
}
.eyebrow {
margin-bottom: 5px;
color: #2563eb;
font-size: 11px;
font-weight: 750;
letter-spacing: 0.14em;
}
h1,
h2,
p {
margin: 0;
}
h1 {
font-size: clamp(25px, 5vw, 36px);
line-height: 1.1;
letter-spacing: -0.04em;
}
.subtitle {
margin-top: 7px;
color: #475569;
font-size: 14px;
font-weight: 600;
}
.description {
margin-top: 10px;
color: #64748b;
font-size: 14px;
line-height: 1.55;
}
section {
margin-top: 22px;
}
.section-heading {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 10px;
}
h2 {
font-size: 15px;
}
.badge {
padding: 4px 8px;
border-radius: 999px;
background: #dbeafe;
color: #1d4ed8;
font-size: 11px;
font-weight: 700;
}
.dataset-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 9px;
margin: 0;
padding: 0;
list-style: none;
}
.dataset-grid li {
min-height: 68px;
padding: 11px 12px;
border: 1px solid #dbe3ef;
border-radius: 12px;
background: rgba(255, 255, 255, 0.82);
transition: border-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}
.dataset-grid li:hover,
.dataset-grid li:focus-within {
border-color: #60a5fa;
box-shadow: 0 6px 16px rgba(37, 99, 235, 0.1);
transform: translateY(-1px);
outline: none;
}
.dataset-grid a {
color: inherit;
text-decoration: none;
}
.dataset-grid strong {
font-size: 13px;
}
.dataset-grid span {
margin-top: 4px;
color: #64748b;
font-size: 11px;
}
footer {
margin-top: 16px;
padding-top: 13px;
border-top: 1px solid #e2e8f0;
color: #64748b;
font-size: 11px;
}
footer p {
color: inherit;
font-size: inherit;
}
@media (max-width: 700px) {
.card {
padding: 18px;
}
.dataset-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 440px) {
.dataset-grid {
grid-template-columns: 1fr;
}
}
@media (prefers-color-scheme: dark) {
:root {
color: #e5edf9;
}
.card {
border-color: #29354a;
background: linear-gradient(145deg, #111827 0%, #172033 100%);
box-shadow: none;
}
.subtitle,
.description,
.dataset-grid span,
footer {
color: #a8b5c8;
}
.badge {
background: #172554;
color: #93c5fd;
}
.dataset-grid li {
border-color: #334155;
background: rgba(15, 23, 42, 0.68);
}
footer {
border-color: #334155;
}
}