Datasets:
Download tasks/c30/repo/src/index.css from Roy-DOU/Webdev-Bench: direct link, hf CLI and curl.
- Browser
- Download file 16.5 kB
-
https://huggingface.co/datasets/Roy-DOU/Webdev-Bench/resolve/main/tasks/c30/repo/src/index.css
- Command line
-
hf download hf://datasets/Roy-DOU/Webdev-Bench/tasks/c30/repo/src/index.css
-
curl -L -o index.css https://huggingface.co/datasets/Roy-DOU/Webdev-Bench/resolve/main/tasks/c30/repo/src/index.css
16.5 kB
| :root { | |
| --pink: #ff3366; | |
| --chart-pink: #f6335f; | |
| --cyan: #26b7d2; | |
| --green: #9bc849; | |
| --plum: #953b93; | |
| --ink: #1d1d1d; | |
| --body: #3c3c3c; | |
| --pink-bg: #f9ebfa; | |
| --mint-bg: #e9f7f8; | |
| --cta-purple: #452393; | |
| --footer-bg: #fef2f6; | |
| --heading-font: 'Poppins', 'Futura', sans-serif; | |
| --body-font: 'Inter', 'Helvetica Neue', sans-serif; | |
| --cond-font: 'Roboto Condensed', 'Arial Narrow', sans-serif; | |
| } | |
| * { box-sizing: border-box; } | |
| html, body { | |
| margin: 0; | |
| padding: 0; | |
| } | |
| body { | |
| font-family: var(--body-font); | |
| color: var(--body); | |
| background: #fff; | |
| overflow-x: clip; | |
| -webkit-font-smoothing: antialiased; | |
| text-rendering: optimizeLegibility; | |
| } | |
| img { display: block; } | |
| h1, h2, h3, h4, h5, p { margin: 0; } | |
| a { text-decoration: none; color: inherit; } | |
| .container { | |
| max-width: 1360px; | |
| margin: 0 auto; | |
| padding: 0 30px; | |
| position: relative; | |
| } | |
| /* ---------- shared type ---------- */ | |
| .giant-heading { | |
| font-family: var(--heading-font); | |
| font-weight: 700; | |
| font-size: 97px; | |
| line-height: 1.0; | |
| letter-spacing: -1px; | |
| color: var(--ink); | |
| } | |
| .text-link { | |
| color: var(--chart-pink); | |
| text-decoration: underline; | |
| text-underline-offset: 3px; | |
| } | |
| .btn { | |
| display: inline-block; | |
| font-family: var(--cond-font); | |
| font-weight: 700; | |
| font-size: 14px; | |
| letter-spacing: 1.4px; | |
| text-transform: uppercase; | |
| border-radius: 40px; | |
| white-space: nowrap; | |
| cursor: pointer; | |
| transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; | |
| } | |
| .btn-solid { | |
| background: var(--pink); | |
| color: #fff; | |
| padding: 19px 56px; | |
| } | |
| .btn-solid:hover { | |
| background: #ec2456; | |
| box-shadow: 0 10px 24px rgba(24, 8, 96, 0.35); | |
| transform: translateY(-1px); | |
| } | |
| .btn-outline { | |
| border: 2px solid #fff; | |
| color: #fff; | |
| padding: 13px 34px; | |
| font-size: 13px; | |
| } | |
| .btn-outline:hover { background: rgba(255, 255, 255, 0.14); } | |
| .moon { | |
| position: absolute; | |
| width: 26px; | |
| height: 56px; | |
| background: #17161a; | |
| border-radius: 0 56px 56px 0; | |
| } | |
| .chart-caption { | |
| font-size: 16px; | |
| font-style: italic; | |
| color: var(--ink); | |
| margin-top: 40px; | |
| } | |
| .chart-rule { | |
| border: none; | |
| border-top: 1px solid var(--ink); | |
| margin: 24px 0 0; | |
| } | |
| /* ---------- header ---------- */ | |
| .site-header { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| z-index: 30; | |
| padding-top: 52px; | |
| } | |
| .header-inner { | |
| display: flex; | |
| align-items: center; | |
| padding-left: 52px; | |
| padding-right: 40px; | |
| max-width: 1360px; | |
| } | |
| .wordmark { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 12px; | |
| } | |
| .wordmark-text { display: flex; flex-direction: column; } | |
| .wordmark-name { | |
| font-family: var(--heading-font); | |
| font-weight: 600; | |
| font-size: 21px; | |
| line-height: 1.1; | |
| } | |
| .wordmark-sub { | |
| font-size: 11px; | |
| font-weight: 500; | |
| margin-top: 1px; | |
| } | |
| .main-nav { | |
| display: flex; | |
| gap: 41px; | |
| margin: 0 auto; | |
| padding-left: 60px; | |
| } | |
| .nav-link { | |
| font-family: var(--cond-font); | |
| font-weight: 700; | |
| font-size: 13px; | |
| letter-spacing: 1px; | |
| text-transform: uppercase; | |
| color: #fff; | |
| padding-bottom: 7px; | |
| border-bottom: 2px solid transparent; | |
| } | |
| .nav-link.active, | |
| .nav-link:hover { border-bottom-color: #fff; } | |
| /* ---------- hero ---------- */ | |
| .hero { | |
| position: relative; | |
| height: 800px; | |
| overflow: hidden; | |
| background: linear-gradient(174deg, #6b4a94 0%, #66418f 30%, #563391 55%, #4a2b92 68%, #4a2b92 100%); | |
| } | |
| .hero-glow { | |
| position: absolute; | |
| left: 480px; | |
| top: 48px; | |
| width: 165px; | |
| height: 165px; | |
| border-radius: 50%; | |
| background: rgba(255, 255, 255, 0.055); | |
| } | |
| .hero-mountains { | |
| position: absolute; | |
| inset: 0; | |
| width: 100%; | |
| height: 100%; | |
| } | |
| .hero-dome { | |
| position: absolute; | |
| left: 46px; | |
| top: 296px; | |
| width: 445px; | |
| height: 172px; | |
| } | |
| .hero-rocket { | |
| position: absolute; | |
| left: 640px; | |
| top: 95px; | |
| } | |
| .hero-walkers { | |
| position: absolute; | |
| left: 678px; | |
| top: 398px; | |
| width: 152px; | |
| height: 68px; | |
| } | |
| .hero-main { | |
| position: absolute; | |
| right: 0; | |
| top: 106px; | |
| } | |
| .hero-mid { | |
| position: absolute; | |
| right: 0; | |
| top: 540px; | |
| } | |
| .hero-low { | |
| position: absolute; | |
| right: 0; | |
| top: 592px; | |
| } | |
| .hero-bottom { | |
| position: absolute; | |
| left: 0; | |
| top: 729px; | |
| } | |
| .hero-copy { | |
| position: absolute; | |
| top: 178px; | |
| left: 0; | |
| right: 0; | |
| z-index: 20; | |
| } | |
| .hero-copy h1 { | |
| font-family: var(--heading-font); | |
| font-weight: 600; | |
| font-size: 95px; | |
| line-height: 1.07; | |
| letter-spacing: -1.5px; | |
| color: #fff; | |
| margin-left: 50px; | |
| } | |
| .hero-copy p { | |
| margin: 46px 0 0 50px; | |
| max-width: 575px; | |
| font-size: 19.5px; | |
| line-height: 1.47; | |
| color: #fff; | |
| } | |
| .hero-cta { | |
| margin: 60px 0 0 50px; | |
| } | |
| .social-rail { | |
| position: absolute; | |
| right: 48px; | |
| top: 584px; | |
| z-index: 25; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 6px; | |
| } | |
| .social-btn { | |
| width: 40px; | |
| height: 40px; | |
| border-radius: 50%; | |
| border: 1.4px solid rgba(255, 255, 255, 0.85); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| transition: background 0.15s ease; | |
| } | |
| .social-btn:hover { background: rgba(255, 255, 255, 0.2); } | |
| /* ---------- universe (pink) ---------- */ | |
| .universe { | |
| position: relative; | |
| background: var(--pink-bg); | |
| padding: 165px 0 190px; | |
| overflow: hidden; | |
| } | |
| .moon-universe { | |
| right: 275px; | |
| top: 240px; | |
| } | |
| .universe .giant-heading { max-width: 640px; } | |
| .universe-grid { | |
| display: grid; | |
| grid-template-columns: 470px 1fr; | |
| column-gap: 120px; | |
| margin-top: 130px; | |
| align-items: start; | |
| } | |
| .stat-block h3 { | |
| font-family: var(--heading-font); | |
| font-weight: 600; | |
| font-size: 33px; | |
| color: var(--ink); | |
| letter-spacing: -0.3px; | |
| } | |
| .stat-block hr { | |
| border: none; | |
| border-top: 2px solid var(--ink); | |
| margin: 20px 0 0; | |
| } | |
| .stat-block p { | |
| margin-top: 22px; | |
| font-size: 16.5px; | |
| line-height: 1.55; | |
| color: var(--body); | |
| } | |
| .stat-countries { margin-top: 34px; } | |
| .donut { | |
| width: 452px; | |
| max-width: 100%; | |
| margin-top: 66px; | |
| } | |
| .donut-labels text { | |
| font-family: var(--body-font); | |
| font-size: 16.5px; | |
| fill: var(--ink); | |
| } | |
| .world-map { | |
| width: 100%; | |
| height: auto; | |
| margin-top: 66px; | |
| } | |
| /* ---------- industry (mint) ---------- */ | |
| .industry { | |
| position: relative; | |
| background: var(--mint-bg); | |
| padding: 178px 0 196px; | |
| } | |
| .moon-industry { | |
| left: 545px; | |
| top: -28px; | |
| } | |
| .industry-intro { | |
| display: grid; | |
| grid-template-columns: 590px 1fr; | |
| column-gap: 120px; | |
| align-items: end; | |
| } | |
| .industry-lede { | |
| font-size: 17px; | |
| line-height: 1.55; | |
| color: var(--ink); | |
| max-width: 540px; | |
| padding-bottom: 6px; | |
| } | |
| .findings-grid { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| column-gap: 120px; | |
| margin-top: 195px; | |
| } | |
| .findings-col-left { margin-top: 195px; } | |
| .finding { position: relative; } | |
| .finding + .finding { margin-top: 150px; } | |
| .findings-col .finding-borders { margin-top: 118px; } | |
| .finding h3 { | |
| position: relative; | |
| z-index: 1; | |
| font-family: var(--heading-font); | |
| font-weight: 600; | |
| font-size: 40px; | |
| line-height: 1.2; | |
| letter-spacing: -0.3px; | |
| color: var(--ink); | |
| } | |
| .finding > p { | |
| position: relative; | |
| z-index: 1; | |
| margin-top: 26px; | |
| font-size: 16.5px; | |
| line-height: 1.5; | |
| color: var(--ink); | |
| max-width: 590px; | |
| } | |
| .finding strong { font-weight: 700; } | |
| .ghost { | |
| position: absolute; | |
| z-index: 0; | |
| font-family: var(--heading-font); | |
| font-weight: 700; | |
| color: #fff; | |
| opacity: 0.9; | |
| line-height: 0.78; | |
| pointer-events: none; | |
| user-select: none; | |
| } | |
| .ghost-results { font-size: 330px; top: -26px; left: 28px; } | |
| .ghost-influence { font-size: 330px; top: -56px; right: -14px; } | |
| .ghost-borders { font-size: 330px; top: -6px; right: -22px; } | |
| /* grouped horizontal bars (left column) */ | |
| .grouped-bars { margin-top: 46px; position: relative; z-index: 1; } | |
| .bar-group + .bar-group { margin-top: 34px; } | |
| .bar-group-title { | |
| font-family: var(--cond-font); | |
| font-weight: 700; | |
| font-size: 15.5px; | |
| letter-spacing: 0.2px; | |
| margin: 0 0 10px 178px; | |
| } | |
| .bar-row { | |
| display: grid; | |
| grid-template-columns: 170px minmax(0, 1fr); | |
| column-gap: 8px; | |
| align-items: center; | |
| height: 30px; | |
| } | |
| .bar-row-label { | |
| font-family: var(--cond-font); | |
| font-weight: 700; | |
| font-size: 11.5px; | |
| letter-spacing: 0.2px; | |
| color: var(--ink); | |
| text-align: right; | |
| } | |
| .bar-cell { display: flex; align-items: center; } | |
| .bar { | |
| display: inline-block; | |
| height: 5px; | |
| border-radius: 2.5px; | |
| flex: none; | |
| } | |
| .bar-val { | |
| font-family: var(--cond-font); | |
| font-weight: 700; | |
| font-size: 11.5px; | |
| color: var(--ink); | |
| margin-left: 8px; | |
| } | |
| /* label-above bars (right column) */ | |
| .stacked-bars { margin-top: 40px; position: relative; z-index: 1; } | |
| .sbar-row + .sbar-row { margin-top: 25px; } | |
| .sbar-label { | |
| font-family: var(--cond-font); | |
| font-weight: 700; | |
| font-size: 12.5px; | |
| letter-spacing: 0.2px; | |
| color: var(--ink); | |
| margin-bottom: 8px; | |
| } | |
| .sbar-cell { display: flex; align-items: center; } | |
| /* liftoff question block */ | |
| .liftoff-heading { font-size: 68px ; line-height: 1.06 ; font-weight: 700 ; } | |
| .finding-liftoff { margin-top: 150px; } | |
| .finding-liftoff h4 { | |
| font-family: var(--heading-font); | |
| font-weight: 600; | |
| font-size: 30px; | |
| color: var(--ink); | |
| margin-top: 46px; | |
| } | |
| .finding-liftoff p { margin-top: 28px; } | |
| /* bubble chart */ | |
| .bubble-wrap { | |
| position: relative; | |
| margin-top: -118px; | |
| } | |
| .bubble-chart { | |
| display: block; | |
| width: 100%; | |
| height: auto; | |
| } | |
| .bubble-title { | |
| font-family: var(--heading-font); | |
| font-weight: 600; | |
| font-size: 21px; | |
| fill: var(--ink); | |
| } | |
| .bubble-sub { | |
| font-family: var(--body-font); | |
| font-size: 16.5px; | |
| fill: var(--ink); | |
| } | |
| .axis-label { | |
| font-family: var(--body-font); | |
| font-size: 15.5px; | |
| fill: var(--ink); | |
| } | |
| .bubble-caption { margin-top: 14px; } | |
| /* ---------- levels (white) ---------- */ | |
| .levels { padding: 182px 0 228px; } | |
| .levels-intro { | |
| display: grid; | |
| grid-template-columns: 590px 1fr; | |
| column-gap: 120px; | |
| padding-bottom: 55px; | |
| } | |
| .levels-intro-right { padding-top: 4px; } | |
| .levels-intro-right h3 { | |
| font-family: var(--heading-font); | |
| font-weight: 600; | |
| font-size: 38px; | |
| line-height: 1.34; | |
| letter-spacing: -0.3px; | |
| color: var(--ink); | |
| max-width: 580px; | |
| } | |
| .levels-intro-right p { | |
| margin-top: 48px; | |
| font-size: 16.5px; | |
| line-height: 1.65; | |
| color: var(--body); | |
| max-width: 600px; | |
| } | |
| .level-row { | |
| position: relative; | |
| height: var(--row-h); | |
| border-bottom: 1px solid var(--ink); | |
| } | |
| .lvl-label { | |
| position: absolute; | |
| left: 0; | |
| top: 205px; | |
| font-family: var(--cond-font); | |
| font-weight: 700; | |
| font-size: 14.5px; | |
| letter-spacing: 0.3px; | |
| color: var(--chart-pink); | |
| } | |
| .lvl-title { | |
| position: absolute; | |
| left: 118px; | |
| top: 172px; | |
| font-family: var(--heading-font); | |
| font-weight: 700; | |
| font-size: 58px; | |
| letter-spacing: -0.5px; | |
| color: var(--ink); | |
| } | |
| .lvl-art { position: absolute; z-index: 2; } | |
| .lvl-right { | |
| position: absolute; | |
| left: 650px; | |
| top: 180px; | |
| width: 642px; | |
| } | |
| .lvl-head { position: relative; } | |
| .lvl-sub { | |
| font-family: var(--heading-font); | |
| font-weight: 400; | |
| font-size: 29px; | |
| line-height: 1.28; | |
| color: var(--ink); | |
| max-width: 310px; | |
| } | |
| .lvl-stat { | |
| position: absolute; | |
| left: 363px; | |
| top: -14px; | |
| width: 200px; | |
| } | |
| .lvl-pct { | |
| font-family: var(--heading-font); | |
| font-weight: 600; | |
| font-size: 60px; | |
| line-height: 1; | |
| color: var(--ink); | |
| } | |
| .lvl-ofco { | |
| font-family: var(--cond-font); | |
| font-weight: 700; | |
| font-size: 15px; | |
| color: var(--ink); | |
| margin-top: 8px; | |
| } | |
| .lvl-track { | |
| margin-top: 12px; | |
| height: 5px; | |
| width: 195px; | |
| background: #e1e1e1; | |
| border-radius: 2.5px; | |
| overflow: hidden; | |
| } | |
| .lvl-fill { | |
| display: block; | |
| height: 100%; | |
| background: #25b6d1; | |
| border-radius: 2.5px; | |
| } | |
| .lvl-body { | |
| margin-top: 26px; | |
| font-size: 15.5px; | |
| line-height: 1.55; | |
| color: var(--body); | |
| max-width: 300px; | |
| } | |
| .lvl-rule { | |
| position: absolute; | |
| left: 8px; | |
| width: 634px; | |
| border: none; | |
| border-top: 1px solid var(--ink); | |
| margin: 0; | |
| } | |
| .lvl-lists { | |
| position: absolute; | |
| left: 8px; | |
| width: 634px; | |
| display: grid; | |
| grid-template-columns: 317px minmax(0, 1fr); | |
| } | |
| .lvl-list h5 { | |
| font-family: var(--cond-font); | |
| font-weight: 700; | |
| font-size: 15px; | |
| color: var(--ink); | |
| } | |
| .lvl-list ol { | |
| list-style: none; | |
| margin: 22px 0 0; | |
| padding: 0; | |
| } | |
| .lvl-list li { | |
| display: grid; | |
| grid-template-columns: 22px 1fr; | |
| column-gap: 6px; | |
| font-family: var(--heading-font); | |
| font-weight: 400; | |
| font-size: 15.5px; | |
| line-height: 1.45; | |
| color: #2f2f2f; | |
| margin-top: 8px; | |
| max-width: 300px; | |
| } | |
| .lvl-list .idx { text-align: right; } | |
| /* ---------- liftoff CTA (purple) ---------- */ | |
| .liftoff { | |
| position: relative; | |
| background: var(--cta-purple); | |
| height: 1088px; | |
| overflow: hidden; | |
| } | |
| .star-field { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 560px; | |
| } | |
| .liftoff-ground { | |
| position: absolute; | |
| left: 0; | |
| bottom: 0; | |
| width: 100%; | |
| height: auto; | |
| } | |
| .liftoff-inner { | |
| position: relative; | |
| z-index: 2; | |
| padding-top: 170px; | |
| } | |
| .liftoff .giant-heading { color: #fff; } | |
| .liftoff-grid { | |
| display: grid; | |
| grid-template-columns: 590px 1fr; | |
| column-gap: 120px; | |
| margin-top: 104px; | |
| } | |
| .liftoff-cta { margin-top: 12px; } | |
| .liftoff-copy h3 { | |
| font-family: var(--heading-font); | |
| font-weight: 500; | |
| font-size: 32px; | |
| line-height: 1.38; | |
| letter-spacing: -0.2px; | |
| color: #fff; | |
| max-width: 560px; | |
| } | |
| .insights-title { | |
| margin-top: 58px; | |
| font-family: var(--cond-font); | |
| font-weight: 700; | |
| font-size: 17px; | |
| letter-spacing: 0.3px; | |
| color: #3bc0dd; | |
| } | |
| .insights-list { | |
| list-style: none; | |
| margin: 10px 0 0; | |
| padding: 0; | |
| } | |
| .insights-list li { | |
| position: relative; | |
| padding-left: 22px; | |
| margin-top: 22px; | |
| font-size: 17px; | |
| line-height: 1.35; | |
| color: #fff; | |
| } | |
| .insights-list li::before { | |
| content: '•'; | |
| position: absolute; | |
| left: 2px; | |
| color: #fff; | |
| } | |
| /* ---------- footer ---------- */ | |
| .site-footer { | |
| background: var(--footer-bg); | |
| height: 105px; | |
| display: flex; | |
| align-items: center; | |
| } | |
| .footer-inner { | |
| width: 100%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| } | |
| .footer-links { | |
| display: flex; | |
| gap: 44px; | |
| } | |
| .footer-links a { | |
| font-family: var(--cond-font); | |
| font-weight: 700; | |
| font-size: 11.5px; | |
| letter-spacing: 1.1px; | |
| text-transform: uppercase; | |
| color: #3f3f3f; | |
| } | |
| .footer-links a:hover { color: var(--pink); } | |
| .footer-brand { | |
| display: flex; | |
| align-items: center; | |
| gap: 26px; | |
| } | |
| .footer-copy { | |
| font-size: 11px; | |
| letter-spacing: 0.6px; | |
| text-transform: uppercase; | |
| color: #9b9b9b; | |
| } | |
| .footer-brand .wordmark-name { font-size: 19px; } | |
| /* ---------- responsive ---------- */ | |
| @media (max-width: 1180px) { | |
| .giant-heading { font-size: 72px; } | |
| .hero-copy h1 { font-size: 78px; } | |
| .hero-main { width: 42vw; height: auto; } | |
| .hero-rocket, .hero-walkers, .hero-dome, .hero-mid, .hero-bottom { display: none; } | |
| .hero-low { top: auto; bottom: 0; width: 100vw; height: auto; } | |
| .main-nav { display: none; } | |
| .universe-grid, | |
| .industry-intro, | |
| .findings-grid, | |
| .levels-intro, | |
| .liftoff-grid { | |
| grid-template-columns: minmax(0, 1fr); | |
| row-gap: 70px; | |
| } | |
| .findings-col-left { margin-top: 0; } | |
| .ghost { font-size: 220px ; } | |
| .bubble-wrap { margin-top: 40px; } | |
| .level-row { | |
| height: auto; | |
| padding: 70px 0; | |
| } | |
| .lvl-label, .lvl-title, .lvl-art, .lvl-right, .lvl-stat, .lvl-rule, .lvl-lists { | |
| position: static; | |
| } | |
| .lvl-title { margin-top: 8px; } | |
| .lvl-art { margin-top: 34px; max-width: 100%; height: auto; } | |
| .lvl-right { width: auto; margin-top: 40px; } | |
| .lvl-head { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; } | |
| .lvl-rule { margin-top: 44px; width: auto; } | |
| .lvl-lists { margin-top: 40px; width: auto; } | |
| .liftoff { height: auto; padding-bottom: 420px; } | |
| } | |
| @media (max-width: 700px) { | |
| .giant-heading { font-size: 46px; } | |
| .hero-copy h1 { font-size: 46px; margin-left: 0; } | |
| .hero-copy p { margin-left: 0; font-size: 17px; } | |
| .hero-cta { margin-left: 0; } | |
| .hero-copy { top: 130px; } | |
| .header-inner { padding-left: 24px; padding-right: 24px; } | |
| .btn-outline { display: none; } | |
| .hero-main { display: none; } | |
| .social-rail { display: none; } | |
| .ghost { font-size: 120px ; } | |
| .finding h3, .levels-intro-right h3 { font-size: 30px; } | |
| .liftoff-heading { font-size: 38px ; } | |
| .bar-row { grid-template-columns: 100px minmax(0, 1fr); } | |
| .bar-group-title { margin-left: 108px; } | |
| .bar-cell, .sbar-cell { min-width: 0; } | |
| .bar-cell .bar, .sbar-cell .bar { max-width: calc(100% - 44px); min-width: 0; } | |
| .lvl-lists { grid-template-columns: minmax(0, 1fr); row-gap: 34px; } | |
| .moon-industry { left: auto; right: 60px; } | |
| .footer-inner { flex-direction: column; gap: 18px; padding: 20px 24px; } | |
| .site-footer { height: auto; } | |
| } | |