GS-QA-Leaderboard / style.css
Zoe's picture
Launch GS-QA leaderboard
32f68d9 verified
Raw
History Blame Contribute Delete
8.58 kB
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap");
:root {
--ink: #102019;
--muted: #617169;
--paper: #f7faf7;
--white: #ffffff;
--line: #dbe6df;
--leaf: #167a5b;
--leaf-dark: #0e573f;
--leaf-soft: #e9f5ef;
--sun: #e4ac36;
--shadow: 0 20px 55px rgba(24, 70, 52, 0.09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
color: var(--ink);
background: var(--paper);
font-family: "DM Sans", system-ui, sans-serif;
-webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.hero {
min-height: 650px;
color: #f8fff9;
background:
radial-gradient(circle at 78% 28%, rgba(228, 172, 54, 0.22), transparent 25%),
radial-gradient(circle at 12% 100%, rgba(61, 152, 113, 0.35), transparent 30%),
#0d4b39;
overflow: hidden;
}
.nav {
height: 82px;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid rgba(255,255,255,.13);
}
.brand {
display: inline-flex;
align-items: center;
gap: 10px;
font: 700 1.05rem "Manrope", sans-serif;
text-decoration: none;
}
.brand-mark {
width: 35px; height: 35px; display: grid; place-items: center;
border-radius: 50%; color: var(--leaf-dark); background: #d8f4e3;
}
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: #dcece4; text-decoration: none; font-size: .92rem; }
.nav-links a:hover { color: white; }
.hero-grid {
min-height: 565px;
display: grid;
grid-template-columns: 1.2fr .8fr;
align-items: center;
gap: 80px;
}
.eyebrow {
margin: 0 0 14px;
color: var(--sun);
font-size: .76rem;
font-weight: 700;
letter-spacing: .15em;
text-transform: uppercase;
}
h1, h2, h3 { font-family: "Manrope", sans-serif; }
h1 {
max-width: 760px;
margin: 0;
font-size: clamp(3.25rem, 6vw, 5.7rem);
line-height: .99;
letter-spacing: -.065em;
}
.lede {
max-width: 650px;
margin: 28px 0 0;
color: #c8ddd2;
font-size: 1.12rem;
line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; margin-top: 34px; }
.button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 48px;
padding: 0 22px;
border-radius: 999px;
font-weight: 700;
text-decoration: none;
transition: transform .2s, background .2s;
}
.button:hover { transform: translateY(-2px); }
.button.primary { color: #153126; background: #f3c65e; }
.button.ghost { border: 1px solid rgba(255,255,255,.32); color: white; }
.globe-card { position: relative; height: 390px; display: grid; place-items: center; }
.globe {
position: relative;
width: 220px; height: 220px;
border: 1px solid rgba(255,255,255,.35);
border-radius: 50%;
background:
linear-gradient(90deg, transparent 48%, rgba(255,255,255,.17) 50%, transparent 52%),
linear-gradient(0deg, transparent 48%, rgba(255,255,255,.17) 50%, transparent 52%),
radial-gradient(ellipse at 37% 35%, #5fb68b 0 15%, transparent 16%),
radial-gradient(ellipse at 64% 58%, #4ca278 0 20%, transparent 21%),
#1b684f;
box-shadow: inset -25px -20px 45px rgba(0,0,0,.22), 0 32px 80px rgba(0,0,0,.2);
}
.orbit { position: absolute; width: 330px; height: 170px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.orbit-a { transform: rotate(24deg); }
.orbit-b { transform: rotate(-28deg); }
.pin { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #ffd676; box-shadow: 0 0 0 6px rgba(255,214,118,.16); }
.pin-a { left: 50px; top: 70px; }
.pin-b { right: 42px; top: 105px; }
.pin-c { left: 105px; bottom: 36px; }
.globe-card p { position: absolute; bottom: 24px; color: #bfd7ca; letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; }
.stats {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 14px;
margin-top: -44px;
position: relative;
z-index: 2;
}
.stat {
padding: 25px 26px;
border: 1px solid var(--line);
border-radius: 17px;
background: var(--white);
box-shadow: var(--shadow);
}
.stat strong { display: block; color: var(--leaf); font: 800 2rem "Manrope", sans-serif; }
.stat span { color: var(--muted); font-size: .88rem; }
.section { padding: 100px 0; scroll-margin-top: 20px; }
.section-tint { background: #edf4ef; }
.section-heading {
display: grid;
grid-template-columns: 1fr .8fr;
align-items: end;
gap: 60px;
margin-bottom: 34px;
}
.section-heading h2, .submit-grid h2 {
margin: 0;
font-size: clamp(2.2rem, 4vw, 3.7rem);
line-height: 1.08;
letter-spacing: -.05em;
}
.section-heading > p, .section-copy {
margin: 0;
color: var(--muted);
line-height: 1.7;
}
.panel {
overflow: hidden;
border: 1px solid var(--line);
border-radius: 20px;
background: var(--white);
box-shadow: var(--shadow);
}
.toolbar {
min-height: 92px;
padding: 18px 22px;
display: flex;
align-items: end;
gap: 22px;
border-bottom: 1px solid var(--line);
}
.toolbar label { display: grid; gap: 7px; color: var(--muted); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
select {
min-width: 210px;
height: 44px;
padding: 0 36px 0 13px;
border: 1px solid #cfdcd4;
border-radius: 10px;
color: var(--ink);
background: white;
font: 500 .92rem "DM Sans", sans-serif;
}
.metric-note { margin-left: auto; padding-bottom: 11px; color: var(--leaf-dark); font-size: .92rem; }
.filters { align-items: end; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 17px 20px; border-bottom: 1px solid #e6eee9; text-align: left; white-space: nowrap; }
th { color: var(--muted); background: #fbfdfb; font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; }
td { font-size: .91rem; }
tbody tr:hover { background: #f6faf7; }
tbody tr:last-child td { border-bottom: 0; }
.rank { color: var(--leaf); font-weight: 800; }
.score { font: 700 .94rem "Manrope", sans-serif; }
.badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; color: var(--leaf-dark); background: var(--leaf-soft); font-size: .72rem; font-weight: 700; }
.empty { padding: 25px; color: var(--muted); text-align: center; }
.submit-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 90px;
align-items: center;
}
.submit-grid .section-copy { margin: 25px 0 30px; max-width: 560px; }
.text-link { display: block; width: fit-content; margin-top: 20px; color: var(--leaf); font-weight: 700; text-decoration: none; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--sun); font: 700 .82rem "Manrope", sans-serif; }
.steps strong { font: 700 1.03rem "Manrope", sans-serif; }
.steps p { margin: 6px 0 0; color: var(--muted); }
.methodology { color: white; background: #102f25; }
.methodology .section-heading > p { color: #b8cec3; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.metric-grid article { min-height: 170px; padding: 24px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; background: rgba(255,255,255,.04); }
.metric-grid article > span { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; color: var(--leaf-dark); background: #f3c65e; font-weight: 800; }
.metric-grid h3 { margin: 30px 0 6px; }
.metric-grid p { margin: 0; color: #b8cec3; }
footer { padding: 30px 0; background: #091d16; color: #9eb8ac; }
.footer-inner { display: flex; justify-content: space-between; font-size: .84rem; }
@media (max-width: 850px) {
.nav-links a:not(:last-child) { display: none; }
.hero { min-height: auto; }
.hero-grid { grid-template-columns: 1fr; gap: 10px; padding: 85px 0; }
.globe-card { display: none; }
.stats { grid-template-columns: 1fr 1fr; margin-top: 18px; }
.section { padding: 75px 0; }
.section-heading, .submit-grid { grid-template-columns: 1fr; gap: 35px; }
.metric-grid { grid-template-columns: 1fr 1fr; }
.toolbar, .filters { align-items: stretch; flex-direction: column; }
.metric-note { margin-left: 0; padding: 0; }
select { width: 100%; }
}
@media (max-width: 540px) {
.shell { width: min(100% - 24px, 1180px); }
h1 { font-size: 3rem; }
.stats, .metric-grid { grid-template-columns: 1fr; }
.stat { padding: 20px; }
.hero-actions { flex-direction: column; align-items: stretch; }
.footer-inner { gap: 10px; flex-direction: column; }
}