Datasets:
Download tasks/c11/repo/src/index.css from Roy-DOU/Webdev-Bench: direct link, hf CLI and curl.
- Browser
- Download file 11.9 kB
-
https://huggingface.co/datasets/Roy-DOU/Webdev-Bench/resolve/main/tasks/c11/repo/src/index.css
- Command line
-
hf download hf://datasets/Roy-DOU/Webdev-Bench/tasks/c11/repo/src/index.css
-
curl -L -o index.css https://huggingface.co/datasets/Roy-DOU/Webdev-Bench/resolve/main/tasks/c11/repo/src/index.css
11.9 kB
| :root { | |
| --bg: #1a1a1a; | |
| --text: #ffffff; | |
| --grey: #a2a2a2; | |
| --dim: #7b7b7b; | |
| --line: #555555; | |
| --error: #d0684a; | |
| --sans: 'Poppins', 'Helvetica Neue', Arial, sans-serif; | |
| --serif: 'Cormorant Garamond', Georgia, serif; | |
| } | |
| * { | |
| box-sizing: border-box; | |
| } | |
| html, | |
| body { | |
| margin: 0; | |
| padding: 0; | |
| } | |
| body { | |
| background: var(--bg); | |
| color: var(--text); | |
| font-family: var(--sans); | |
| font-weight: 400; | |
| -webkit-font-smoothing: antialiased; | |
| text-rendering: optimizeLegibility; | |
| } | |
| img { | |
| display: block; | |
| max-width: 100%; | |
| } | |
| a { | |
| color: inherit; | |
| } | |
| button { | |
| font-family: inherit; | |
| cursor: pointer; | |
| } | |
| em { | |
| font-family: var(--serif); | |
| font-style: italic; | |
| font-weight: 500; | |
| } | |
| .sr-only { | |
| position: absolute; | |
| width: 1px; | |
| height: 1px; | |
| padding: 0; | |
| margin: -1px; | |
| overflow: hidden; | |
| clip: rect(0 0 0 0); | |
| white-space: nowrap; | |
| border: 0; | |
| } | |
| :focus-visible { | |
| outline: 2px solid #9ad1cf; | |
| outline-offset: 3px; | |
| } | |
| /* ---------- shared bits ---------- */ | |
| .eyebrow { | |
| margin: 0; | |
| font-size: 16px; | |
| font-weight: 400; | |
| letter-spacing: 0.01em; | |
| display: flex; | |
| align-items: center; | |
| gap: 20px; | |
| } | |
| .dash { | |
| display: inline-block; | |
| width: 40px; | |
| height: 1px; | |
| background: currentColor; | |
| } | |
| .dash-short { | |
| width: 30px; | |
| transform: translateY(-6px); | |
| } | |
| .pill-button { | |
| border: 0; | |
| border-radius: 999px; | |
| background: #fff; | |
| color: #1a1a1a; | |
| font-size: 16px; | |
| font-weight: 400; | |
| height: 56px; | |
| padding: 0 33px; | |
| transition: transform 0.2s ease, opacity 0.2s ease; | |
| } | |
| .pill-button:hover { | |
| opacity: 0.88; | |
| } | |
| .pill-button:active { | |
| transform: scale(0.98); | |
| } | |
| .pill-button-small { | |
| height: 44px; | |
| padding: 0 28px; | |
| font-size: 15px; | |
| flex-shrink: 0; | |
| } | |
| /* ---------- header ---------- */ | |
| .site-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: flex-start; | |
| padding: 30px 48px 0; | |
| } | |
| .logo { | |
| text-decoration: none; | |
| line-height: 1.12; | |
| display: block; | |
| } | |
| .logo span { | |
| display: block; | |
| } | |
| .logo-zeus { | |
| font-family: var(--serif); | |
| font-style: italic; | |
| font-weight: 500; | |
| font-size: 28px; | |
| } | |
| .logo-jones { | |
| font-size: 22px; | |
| font-weight: 500; | |
| letter-spacing: 0.01em; | |
| } | |
| .site-nav { | |
| display: flex; | |
| gap: 150px; | |
| padding-top: 10px; | |
| } | |
| .site-nav a { | |
| font-size: 16px; | |
| text-decoration: none; | |
| } | |
| .site-nav a:hover { | |
| text-decoration: underline; | |
| text-underline-offset: 6px; | |
| } | |
| /* ---------- hero ---------- */ | |
| .hero { | |
| position: relative; | |
| min-height: 100vh; | |
| overflow: hidden; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .hero-gradient { | |
| position: absolute; | |
| inset: 0; | |
| background-color: #2a8f7d; | |
| background-image: | |
| radial-gradient(42% 34% at 1% -2%, #e59797 0%, rgba(229, 151, 151, 0) 55%), | |
| radial-gradient(38% 42% at 4% 24%, #d0ac46 0%, rgba(208, 172, 70, 0) 62%), | |
| radial-gradient(44% 38% at 79% 6%, #b4790a 0%, rgba(180, 121, 10, 0) 60%), | |
| radial-gradient(52% 56% at 102% 32%, #e05b04 0%, rgba(224, 91, 4, 0) 64%), | |
| radial-gradient(40% 36% at 38% 10%, #17927c 0%, rgba(23, 146, 124, 0) 66%), | |
| radial-gradient(36% 40% at 68% 45%, #0a8f92 0%, rgba(10, 143, 146, 0) 62%), | |
| radial-gradient(30% 30% at 29% 42%, #5caecb 0%, rgba(92, 174, 203, 0) 60%), | |
| radial-gradient(26% 26% at 55% 47%, #b17ab4 0%, rgba(177, 122, 180, 0) 58%), | |
| radial-gradient(34% 30% at 6% 62%, #bfb9e8 0%, rgba(191, 185, 232, 0) 60%), | |
| radial-gradient(34% 30% at 60% 66%, #8889bf 0%, rgba(136, 137, 191, 0) 58%), | |
| radial-gradient(34% 32% at 90% 63%, #7f6fb6 0%, rgba(127, 111, 182, 0) 58%), | |
| radial-gradient(30% 30% at 11% 84%, #52904f 0%, rgba(82, 144, 79, 0) 62%), | |
| radial-gradient(30% 28% at 45% 88%, #6e943b 0%, rgba(110, 148, 59, 0) 60%), | |
| radial-gradient(34% 30% at 22% 102%, #11919b 0%, rgba(17, 145, 155, 0) 60%), | |
| radial-gradient(36% 34% at 74% 98%, #ca7012 0%, rgba(202, 112, 18, 0) 62%), | |
| radial-gradient(40% 36% at 98% 94%, #cc8325 0%, rgba(204, 131, 37, 0) 64%); | |
| filter: saturate(1.18) contrast(1.02); | |
| } | |
| .hero-grain { | |
| position: absolute; | |
| inset: 0; | |
| background-image: url('./assets/grain.png'); | |
| background-size: 256px 256px; | |
| mix-blend-mode: overlay; | |
| opacity: 0.4; | |
| } | |
| .hero-inner { | |
| position: relative; | |
| z-index: 2; | |
| flex: 1; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .hero-headline { | |
| margin: 158px 48px 0; | |
| max-width: 1140px; | |
| font-size: 78px; | |
| line-height: 97px; | |
| font-weight: 400; | |
| letter-spacing: -0.008em; | |
| } | |
| .hero-headline em, | |
| .work-headline em, | |
| .section-headline em, | |
| .cta-headline em { | |
| font-size: 1.14em; | |
| line-height: inherit; | |
| letter-spacing: -0.005em; | |
| } | |
| .hero-headline .u { | |
| text-decoration: underline; | |
| text-decoration-thickness: 4px; | |
| text-underline-offset: 0.18em; | |
| } | |
| /* ---------- work carousel ---------- */ | |
| .work { | |
| min-height: 100vh; | |
| padding: 253px 104px 60px; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: stretch; | |
| } | |
| .work-meta { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| } | |
| .work-count { | |
| margin: 0; | |
| font-size: 19px; | |
| } | |
| .work-copy { | |
| transition: opacity 0.28s ease, transform 0.28s ease; | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| .work-copy.is-leaving { | |
| opacity: 0; | |
| transform: translateY(14px); | |
| } | |
| .work-headline { | |
| margin: 44px 0 0; | |
| max-width: 930px; | |
| font-size: 56px; | |
| line-height: 64px; | |
| font-weight: 400; | |
| letter-spacing: -0.01em; | |
| animation: work-enter 0.32s ease; | |
| } | |
| .work-headline em { | |
| font-size: 1.08em; | |
| } | |
| @keyframes work-enter { | |
| from { | |
| opacity: 0; | |
| transform: translateY(-10px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| .work-actions { | |
| margin-top: 98px; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| } | |
| .next-button { | |
| background: none; | |
| border: 0; | |
| color: #fff; | |
| font-size: 22px; | |
| font-weight: 400; | |
| display: flex; | |
| align-items: center; | |
| gap: 16px; | |
| padding: 8px 0; | |
| } | |
| .next-button .arrow { | |
| transition: transform 0.25s ease; | |
| } | |
| .next-button:hover .arrow { | |
| transform: translateX(6px); | |
| } | |
| /* ---------- ideas / cards ---------- */ | |
| .ideas { | |
| padding: 75px 0 122px; | |
| } | |
| .section-headline { | |
| margin: 0; | |
| padding: 0 48px; | |
| font-size: 56px; | |
| line-height: 62px; | |
| font-weight: 400; | |
| } | |
| .ideas-strip { | |
| margin-top: 45px; | |
| display: flex; | |
| gap: 64px; | |
| align-items: flex-start; | |
| overflow-x: auto; | |
| scrollbar-width: none; | |
| } | |
| .ideas-strip::-webkit-scrollbar { | |
| display: none; | |
| } | |
| .idea-card { | |
| flex-shrink: 0; | |
| } | |
| .idea-card-sliver { | |
| width: 19px; | |
| } | |
| .idea-card img { | |
| width: 100%; | |
| } | |
| .idea-card h3 { | |
| margin: 32px 0 0; | |
| font-size: 22px; | |
| font-weight: 500; | |
| display: flex; | |
| align-items: flex-end; | |
| gap: 14px; | |
| } | |
| .idea-card p { | |
| margin: 12px 0 0; | |
| max-width: 312px; | |
| font-size: 22px; | |
| line-height: 36px; | |
| color: var(--grey); | |
| } | |
| /* ---------- friends ---------- */ | |
| .friends { | |
| padding: 120px 48px 0; | |
| } | |
| .friends-list { | |
| margin: 36px 0 0; | |
| max-width: 1345px; | |
| font-family: var(--serif); | |
| font-style: italic; | |
| font-weight: 500; | |
| font-size: 60px; | |
| line-height: 64px; | |
| color: var(--dim); | |
| } | |
| /* ---------- cta ---------- */ | |
| .cta { | |
| padding: 345px 48px 0; | |
| text-align: center; | |
| } | |
| .cta-headline { | |
| margin: 0; | |
| font-size: 54px; | |
| line-height: 60px; | |
| font-weight: 500; | |
| } | |
| .cta-headline em { | |
| font-weight: 500; | |
| } | |
| .cta-link { | |
| display: inline-block; | |
| margin-top: 32px; | |
| font-size: 20px; | |
| text-decoration: underline; | |
| text-underline-offset: 7px; | |
| text-decoration-thickness: 1px; | |
| } | |
| /* ---------- footer ---------- */ | |
| .site-footer { | |
| padding: 401px 48px 72px; | |
| } | |
| .footer-grid { | |
| display: grid; | |
| grid-template-columns: 154px 192px 462px minmax(0, 1fr); | |
| } | |
| .footer-links { | |
| list-style: none; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| .footer-links li + li { | |
| margin-top: 25px; | |
| } | |
| .footer-links a { | |
| font-size: 18px; | |
| text-decoration: underline; | |
| text-underline-offset: 7px; | |
| text-decoration-thickness: 1px; | |
| } | |
| .footer-contact .address { | |
| margin: 0; | |
| font-size: 18px; | |
| line-height: 27px; | |
| } | |
| .footer-contact .phone { | |
| margin: 16px 0 0; | |
| font-size: 18px; | |
| line-height: 27px; | |
| } | |
| .footer-contact .email { | |
| display: inline-block; | |
| margin-top: 7px; | |
| font-size: 18px; | |
| line-height: 27px; | |
| text-decoration: underline; | |
| text-underline-offset: 6px; | |
| text-decoration-thickness: 1px; | |
| } | |
| .socials { | |
| margin-top: 30px; | |
| display: flex; | |
| gap: 30px; | |
| align-items: center; | |
| } | |
| .social-link { | |
| color: #fff; | |
| display: inline-flex; | |
| opacity: 1; | |
| transition: opacity 0.2s ease; | |
| } | |
| .social-link:hover { | |
| opacity: 0.7; | |
| } | |
| .newsletter h2 { | |
| margin: 0; | |
| font-size: 24px; | |
| font-weight: 500; | |
| } | |
| .newsletter-form { | |
| margin-top: 36px; | |
| display: flex; | |
| align-items: flex-end; | |
| gap: 18px; | |
| } | |
| .newsletter .field { | |
| flex: 1; | |
| border-bottom: 1px solid var(--line); | |
| padding-bottom: 13px; | |
| transition: border-color 0.2s ease; | |
| } | |
| .newsletter .field.has-error { | |
| border-color: var(--error); | |
| } | |
| .newsletter input { | |
| width: 100%; | |
| background: transparent; | |
| border: 0; | |
| padding: 0; | |
| color: #fff; | |
| font-family: inherit; | |
| font-size: 17px; | |
| } | |
| .newsletter input::placeholder { | |
| color: var(--grey); | |
| } | |
| .newsletter input:focus { | |
| outline: none; | |
| } | |
| .form-note { | |
| margin: 10px 0 0; | |
| font-size: 14px; | |
| min-height: 20px; | |
| color: var(--grey); | |
| } | |
| .field.has-error + .pill-button-small + .form-note, | |
| .form-note { | |
| transition: color 0.2s ease; | |
| } | |
| .footer-bottom { | |
| margin-top: 70px; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| } | |
| .wing-mark { | |
| height: 34px; | |
| width: auto; | |
| } | |
| .legal { | |
| display: flex; | |
| align-items: center; | |
| gap: 22px; | |
| font-size: 13px; | |
| } | |
| .legal a { | |
| text-decoration: underline; | |
| text-underline-offset: 5px; | |
| text-decoration-thickness: 1px; | |
| } | |
| /* ---------- responsive ---------- */ | |
| @media (max-width: 1180px) { | |
| .site-nav { | |
| gap: 60px; | |
| } | |
| .hero-headline { | |
| margin: 120px 40px 0; | |
| font-size: 62px; | |
| line-height: 76px; | |
| } | |
| .work { | |
| padding: 160px 48px 60px; | |
| } | |
| .work-headline { | |
| font-size: 46px; | |
| line-height: 54px; | |
| } | |
| .section-headline, | |
| .friends, | |
| .cta { | |
| padding-left: 40px; | |
| padding-right: 40px; | |
| } | |
| .friends-list { | |
| font-size: 46px; | |
| line-height: 50px; | |
| } | |
| .cta { | |
| padding-top: 200px; | |
| } | |
| .site-footer { | |
| padding: 220px 40px 60px; | |
| } | |
| .footer-grid { | |
| grid-template-columns: 1fr 1fr; | |
| gap: 56px 40px; | |
| } | |
| .newsletter { | |
| grid-column: 1 / -1; | |
| max-width: 640px; | |
| } | |
| } | |
| @media (max-width: 720px) { | |
| .site-header { | |
| padding: 22px 24px 0; | |
| } | |
| .site-nav { | |
| gap: 24px; | |
| padding-top: 6px; | |
| } | |
| .site-nav a { | |
| font-size: 14px; | |
| } | |
| .hero-headline { | |
| margin: 72px 24px 0; | |
| font-size: 40px; | |
| line-height: 50px; | |
| } | |
| .hero-headline .u { | |
| text-decoration-thickness: 2.5px; | |
| } | |
| .work { | |
| min-height: 0; | |
| padding: 110px 24px 90px; | |
| } | |
| .work-headline { | |
| font-size: 32px; | |
| line-height: 40px; | |
| } | |
| .work-actions { | |
| margin-top: 64px; | |
| flex-direction: column; | |
| align-items: flex-start; | |
| gap: 28px; | |
| } | |
| .ideas { | |
| padding: 60px 0 64px; | |
| } | |
| .section-headline { | |
| padding: 0 24px; | |
| font-size: 34px; | |
| line-height: 40px; | |
| } | |
| .ideas-strip { | |
| margin-top: 32px; | |
| gap: 32px; | |
| padding: 0 24px; | |
| } | |
| .idea-card { | |
| width: min(78vw, 340px) ; | |
| } | |
| .idea-card-sliver { | |
| display: none; | |
| } | |
| .idea-card h3, | |
| .idea-card p { | |
| font-size: 18px; | |
| } | |
| .idea-card p { | |
| line-height: 29px; | |
| } | |
| .friends { | |
| padding: 64px 24px 0; | |
| } | |
| .friends-list { | |
| font-size: 32px; | |
| line-height: 37px; | |
| } | |
| .cta { | |
| padding: 130px 24px 0; | |
| } | |
| .cta-headline { | |
| font-size: 34px; | |
| line-height: 40px; | |
| } | |
| .site-footer { | |
| padding: 130px 24px 48px; | |
| } | |
| .footer-grid { | |
| grid-template-columns: 1fr; | |
| gap: 40px; | |
| } | |
| .newsletter-form { | |
| margin-top: 24px; | |
| } | |
| .footer-bottom { | |
| margin-top: 64px; | |
| flex-direction: column; | |
| align-items: flex-start; | |
| gap: 28px; | |
| } | |
| } | |
| @media (prefers-reduced-motion: reduce) { | |
| .work-copy, | |
| .next-button .arrow, | |
| .pill-button { | |
| transition: none; | |
| } | |
| .work-headline { | |
| animation: none; | |
| } | |
| } | |