leaderboard / style.css
nthakur's picture
Increase table family marker size.
8fd13b9
* { box-sizing: border-box; }
body {
margin: 0;
font-family: Inter, sans-serif;
color: #111827;
background: #f6f8fc;
}
.bg-blobs { position: fixed; inset: 0; pointer-events: none; z-index: -1; }
.blob { position: absolute; border-radius: 999px; filter: blur(60px); opacity: 0.35; }
.blob-1 { width: 420px; height: 420px; background: #a5b4fc; top: -120px; left: -100px; }
.blob-2 { width: 380px; height: 380px; background: #67e8f9; top: 90px; right: -90px; }
header, main { width: min(1500px, 95vw); margin: 0 auto; }
header { padding: 30px 0 10px; text-align: center; }
h1 { font-family: Outfit, sans-serif; font-size: 2.3rem; margin: 0; }
.subtitle { margin: 8px 0 14px; color: #374151; }
.intro {
margin: 0 auto;
max-width: 980px;
line-height: 1.55;
padding: 14px 18px;
border-radius: 12px;
border: 1px solid #dbeafe;
background: #eff6ff;
}
.top-actions {
margin-top: 16px;
display: flex;
gap: 10px;
justify-content: center;
flex-wrap: wrap;
}
.action-btn {
border: 1px solid #d1d5db;
border-radius: 999px;
padding: 9px 14px;
background: #fff;
color: #111827;
font-size: 0.94rem;
text-decoration: none;
cursor: pointer;
}
.action-btn:hover { background: #f8fafc; }
.panel {
max-width: 980px;
margin: 14px auto 0;
text-align: left;
background: #fff;
border: 1px solid #e5e7eb;
border-radius: 12px;
padding: 14px;
}
.panel textarea {
width: 100%;
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.hidden { display: none; }
main { padding: 8px 0 30px; }
.controls {
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
margin: 10px 0 12px;
}
#search {
width: 340px;
max-width: 100%;
border: 1px solid #d1d5db;
border-radius: 10px;
padding: 10px 12px;
}
.types { display: flex; flex-wrap: wrap; gap: 12px; font-size: 0.93rem; }
.table-outer {
background: #fff;
border: 1px solid #e5e7eb;
border-radius: 14px;
box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}
.table-wrap { overflow: auto; }
table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
min-width: 1780px;
}
th, td {
border-bottom: 1px solid #eef2f7;
padding: 8px 10px;
font-size: 0.84rem;
text-align: right;
white-space: nowrap;
}
th:nth-child(-n+5), td:nth-child(-n+5) { text-align: left; }
thead th {
background: #f8fafc;
position: sticky;
z-index: 2;
}
#header-row-top th { top: 0; font-weight: 700; border-bottom: 1px solid #dbe3f0; }
#header-row-sub th { top: 38px; font-weight: 600; color: #374151; }
.group-name { text-align: center !important; }
.metric-header { cursor: pointer; }
tbody tr:hover { background: #f8fbff; }
.model-cell { font-weight: 600; max-width: 360px; overflow: hidden; text-overflow: ellipsis; }
.model-cell a { color: #1d4ed8; text-decoration: none; }
.model-cell a:hover { text-decoration: underline; }
.family-marker {
display: inline-block;
margin-right: 8px;
font-size: 1.18rem;
line-height: 1;
vertical-align: middle;
}
.new-badge { margin-left: 6px; font-size: 0.9em; vertical-align: middle; }
.avg-score { color: #1d4ed8; font-weight: 700; }
.type-pill {
display: inline-flex;
align-items: center;
border-radius: 999px;
padding: 2px 9px;
font-size: 0.74rem;
font-weight: 600;
}
.type-open_source { background: #ecfdf3; color: #166534; border: 1px solid #bbf7d0; }
.type-proprietary { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.type-upper_baseline { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.citation {
margin-top: 22px;
background: linear-gradient(180deg, #ffffff, #f9fbff);
border: 1px solid #dbe4f1;
border-radius: 14px;
padding: 14px;
}
.plots {
margin-top: 20px;
background: #fff;
border: 1px solid #e5e7eb;
border-radius: 14px;
padding: 14px;
}
.plots h3 { margin: 0 0 6px; }
.plot-sub { margin: 0 0 12px; color: #475569; }
.plot-box { width: 100%; height: 460px; margin-bottom: 34px; }
.plot-box:last-child { margin-bottom: 0; }
.citation-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 10px;
}
.citation h3 { margin: 0; }
#copy-citation-btn {
border: 1px solid #c7d2fe;
border-radius: 999px;
background: #eef2ff;
color: #312e81;
padding: 6px 10px;
cursor: pointer;
}
.citation pre {
margin: 0;
white-space: pre-wrap;
background: #0f172a;
color: #e2e8f0;
border-radius: 10px;
padding: 12px;
font-size: 0.84rem;
}
@media (max-width: 900px) {
.controls { flex-direction: column; align-items: stretch; }
#header-row-sub th { top: 72px; }
}