Datasets:
Download tasks/c07/repo/src/index.css from Roy-DOU/Webdev-Bench: direct link, hf CLI and curl.
- Browser
- Download file 9.86 kB
-
https://huggingface.co/datasets/Roy-DOU/Webdev-Bench/resolve/main/tasks/c07/repo/src/index.css
- Command line
-
hf download hf://datasets/Roy-DOU/Webdev-Bench/tasks/c07/repo/src/index.css
-
curl -L -o index.css https://huggingface.co/datasets/Roy-DOU/Webdev-Bench/resolve/main/tasks/c07/repo/src/index.css
9.86 kB
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| html { | |
| background: #192c3a; | |
| } | |
| body { | |
| font-family: 'Jost', 'Poppins', 'Futura', 'Century Gothic', sans-serif; | |
| background: #192c3a; | |
| color: #ffd401; | |
| -webkit-font-smoothing: antialiased; | |
| } | |
| img { | |
| display: block; | |
| } | |
| .page { | |
| position: relative; | |
| overflow: hidden; | |
| min-height: 100vh; | |
| } | |
| .shell { | |
| max-width: 1416px; | |
| margin: 0 auto; | |
| padding: 0; | |
| } | |
| .text-indent { | |
| padding-left: 61px; | |
| padding-right: 61px; | |
| } | |
| /* ---------- floating nav ---------- */ | |
| .floating-nav { | |
| position: fixed; | |
| left: 50%; | |
| bottom: 46px; | |
| transform: translateX(-50%); | |
| z-index: 50; | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| padding: 7px 24px 7px 7px; | |
| border-radius: 999px; | |
| background: rgba(31, 47, 58, 0.72); | |
| -webkit-backdrop-filter: blur(14px); | |
| backdrop-filter: blur(14px); | |
| box-shadow: 0 18px 40px rgba(8, 15, 21, 0.35); | |
| } | |
| .nav-item { | |
| border: 0; | |
| background: transparent; | |
| font-family: inherit; | |
| font-size: 21px; | |
| font-weight: 500; | |
| color: #eef2f4; | |
| padding: 13px 12px; | |
| border-radius: 999px; | |
| cursor: pointer; | |
| line-height: 1.2; | |
| transition: color 0.15s ease, background-color 0.15s ease; | |
| } | |
| .nav-item:hover { | |
| color: #ffd401; | |
| } | |
| .nav-item.is-active { | |
| background: #ffd401; | |
| color: #14212c; | |
| padding: 13px 24px; | |
| } | |
| .nav-item.is-active:hover { | |
| color: #14212c; | |
| background: #ffdf3d; | |
| } | |
| /* ---------- header ---------- */ | |
| .header { | |
| padding-top: 116px; | |
| } | |
| .header-row { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| padding-left: 60px; | |
| padding-right: 46px; | |
| } | |
| .brand { | |
| display: flex; | |
| align-items: center; | |
| gap: 11px; | |
| text-decoration: none; | |
| } | |
| .brand-mark { | |
| width: 53px; | |
| height: 57px; | |
| } | |
| .brand-name { | |
| font-size: 40px; | |
| font-weight: 700; | |
| color: #ffd401; | |
| letter-spacing: 0.01em; | |
| line-height: 1; | |
| } | |
| .header-shapes { | |
| width: 81px; | |
| height: 38px; | |
| } | |
| /* ---------- hero ---------- */ | |
| .display { | |
| font-size: 190px; | |
| line-height: 200px; | |
| font-weight: 600; | |
| letter-spacing: -0.005em; | |
| color: #ffd401; | |
| } | |
| .lead { | |
| font-size: 44px; | |
| line-height: 58px; | |
| font-weight: 400; | |
| color: #ffd401; | |
| } | |
| .hero { | |
| padding-top: 252px; | |
| } | |
| .hero .lead { | |
| margin-top: 43px; | |
| } | |
| /* ---------- projects ---------- */ | |
| .projects { | |
| margin-top: 114px; | |
| } | |
| .projects-grid { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 30px; | |
| } | |
| .col { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 30px; | |
| } | |
| .col-left { | |
| margin-top: 120px; | |
| } | |
| .card { | |
| position: relative; | |
| display: block; | |
| height: 732px; | |
| border-radius: 40px; | |
| overflow: hidden; | |
| text-decoration: none; | |
| transition: transform 0.2s ease, box-shadow 0.2s ease; | |
| } | |
| .card:hover { | |
| transform: translateY(-6px); | |
| box-shadow: 0 24px 48px rgba(5, 12, 18, 0.45); | |
| } | |
| .card:active { | |
| transform: translateY(-2px) scale(0.995); | |
| } | |
| .card-art { | |
| width: 100%; | |
| object-fit: cover; | |
| object-position: top center; | |
| } | |
| .card-art--cover { | |
| position: absolute; | |
| inset: 0; | |
| height: 100% ; | |
| } | |
| .card-body { | |
| position: absolute; | |
| left: 60px; | |
| right: 52px; | |
| bottom: 54px; | |
| } | |
| .card-title { | |
| font-size: 45px; | |
| line-height: 1.36; | |
| font-weight: 600; | |
| letter-spacing: 0; | |
| } | |
| .card-sub { | |
| margin-top: 21px; | |
| font-size: 20.5px; | |
| line-height: 1.35; | |
| font-weight: 400; | |
| } | |
| .card-link { | |
| margin-top: 33px; | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 15px; | |
| font-size: 19px; | |
| font-weight: 600; | |
| } | |
| .card:hover .card-link { | |
| text-decoration: underline; | |
| text-underline-offset: 4px; | |
| } | |
| .card-pill { | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| width: 46px; | |
| height: 34px; | |
| border-radius: 999px; | |
| } | |
| .card-circle { | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| width: 34px; | |
| height: 34px; | |
| border-radius: 999px; | |
| } | |
| /* ---------- clients / logo wall ---------- */ | |
| .clients { | |
| position: relative; | |
| margin-top: 375px; | |
| } | |
| .clients-copy { | |
| position: relative; | |
| z-index: 1; | |
| } | |
| .clients-copy .display { | |
| position: relative; | |
| z-index: 3; | |
| } | |
| .clients-flare { | |
| position: absolute; | |
| top: 354px; | |
| left: 50%; | |
| right: 0; | |
| height: 421px; | |
| background: #fdfefe; | |
| z-index: 2; | |
| } | |
| .clients .lead { | |
| margin-top: 48px; | |
| } | |
| .logowall { | |
| position: relative; | |
| z-index: 3; | |
| width: 100%; | |
| height: auto; | |
| margin-top: 94px; | |
| } | |
| /* ---------- manifest ---------- */ | |
| .manifest { | |
| margin-top: 342px; | |
| } | |
| .manifest .lead { | |
| margin-top: 46px; | |
| } | |
| .carousel { | |
| position: relative; | |
| margin-top: 403px; | |
| } | |
| .manifest-card { | |
| width: 837px; | |
| min-height: 563px; | |
| margin: 0 auto; | |
| background: #20373d; | |
| border-radius: 44px; | |
| padding: 80px 60px 0 61px; | |
| } | |
| .manifest-card-title { | |
| font-size: 70px; | |
| line-height: 95px; | |
| font-weight: 600; | |
| letter-spacing: -0.01em; | |
| color: #ffd401; | |
| } | |
| .manifest-card-body { | |
| margin-top: 26px; | |
| font-size: 25px; | |
| line-height: 38px; | |
| font-weight: 400; | |
| color: #ffd401; | |
| } | |
| .carousel-arrow { | |
| position: absolute; | |
| top: -31px; | |
| width: 63px; | |
| height: 63px; | |
| border-radius: 50%; | |
| border: 0; | |
| background: #ffd401; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| cursor: pointer; | |
| transition: transform 0.15s ease, background-color 0.15s ease; | |
| } | |
| .carousel-arrow:hover { | |
| background: #ffdf3d; | |
| transform: scale(1.07); | |
| } | |
| .carousel-arrow:active { | |
| transform: scale(0.94); | |
| } | |
| .carousel-arrow--left { | |
| left: 30px; | |
| } | |
| .carousel-arrow--right { | |
| right: 105px; | |
| } | |
| /* ---------- cta ---------- */ | |
| .cta { | |
| margin-top: 174px; | |
| } | |
| .cta-kicker { | |
| font-size: 42px; | |
| line-height: 46px; | |
| font-weight: 600; | |
| color: #ffd401; | |
| } | |
| .cta-title { | |
| margin-top: 32px; | |
| font-size: 108px; | |
| line-height: 1.05; | |
| font-weight: 600; | |
| letter-spacing: -0.01em; | |
| color: #ffd401; | |
| } | |
| .cta-button { | |
| margin-top: 62px; | |
| display: inline-flex; | |
| align-items: center; | |
| height: 68px; | |
| padding: 0 40px; | |
| border-radius: 999px; | |
| background: #ffd401; | |
| color: #192c3a; | |
| font-size: 20px; | |
| font-weight: 600; | |
| text-decoration: none; | |
| transition: background-color 0.15s ease, transform 0.15s ease; | |
| } | |
| .cta-button:hover { | |
| background: #ffdf3d; | |
| transform: translateY(-2px); | |
| } | |
| .floating-nav .nav-item.is-active { | |
| background: transparent; | |
| color: #eef2f4; | |
| padding: 13px 12px; | |
| } | |
| .floating-nav .nav-item.is-active:hover { | |
| background: transparent; | |
| color: #ffd401; | |
| } | |
| /* ---------- footer ---------- */ | |
| .footer { | |
| margin-top: 208px; | |
| padding-bottom: 222px; | |
| } | |
| .footer-grid { | |
| display: grid; | |
| grid-template-columns: 347px 347px 347px 1fr; | |
| } | |
| .footer-grid p { | |
| font-size: 18px; | |
| line-height: 40px; | |
| font-weight: 500; | |
| color: #ffd401; | |
| } | |
| .footer-link { | |
| color: #ffd401; | |
| text-decoration: none; | |
| } | |
| .footer-link:hover { | |
| text-decoration: underline; | |
| text-underline-offset: 4px; | |
| } | |
| /* ---------- now playing widget ---------- */ | |
| .now-playing { | |
| position: absolute; | |
| right: 12px; | |
| bottom: 13px; | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| padding: 3px 18px 3px 3px; | |
| background: #101418; | |
| border-radius: 24px; | |
| z-index: 20; | |
| } | |
| .now-playing-art { | |
| width: 38px; | |
| height: 38px; | |
| border-radius: 8px; | |
| } | |
| .now-playing-title { | |
| display: flex; | |
| align-items: center; | |
| gap: 6px; | |
| font-size: 13px; | |
| font-weight: 700; | |
| color: #ffffff; | |
| line-height: 1.35; | |
| } | |
| .now-playing-artist { | |
| font-size: 13px; | |
| font-weight: 500; | |
| color: #8e979c; | |
| line-height: 1.35; | |
| } | |
| /* ---------- responsive ---------- */ | |
| @media (max-width: 1540px) { | |
| .shell { | |
| max-width: none; | |
| margin: 0 42px; | |
| } | |
| .display { | |
| font-size: 12.4vw; | |
| line-height: 1.03; | |
| } | |
| } | |
| @media (max-width: 1100px) { | |
| .lead { | |
| font-size: 30px; | |
| line-height: 44px; | |
| } | |
| .lead br { | |
| display: none; | |
| } | |
| .projects-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .col-left { | |
| margin-top: 0; | |
| order: 0; | |
| } | |
| .card { | |
| height: 640px; | |
| } | |
| .card-art { | |
| height: 62% ; | |
| } | |
| .card-art--cover { | |
| height: 100% ; | |
| } | |
| .clients { | |
| margin-top: 220px; | |
| } | |
| .clients-flare { | |
| display: none; | |
| } | |
| .manifest { | |
| margin-top: 220px; | |
| } | |
| .carousel { | |
| margin-top: 180px; | |
| } | |
| .manifest-card { | |
| width: auto; | |
| margin: 0 90px; | |
| } | |
| .manifest-card-title { | |
| font-size: 54px; | |
| line-height: 1.2; | |
| } | |
| .manifest-card-body br { | |
| display: none; | |
| } | |
| .carousel-arrow--left { | |
| left: 0; | |
| } | |
| .carousel-arrow--right { | |
| right: 0; | |
| } | |
| .cta-title { | |
| font-size: 11vw; | |
| } | |
| .footer-grid { | |
| grid-template-columns: 1fr 1fr; | |
| row-gap: 40px; | |
| } | |
| } | |
| @media (max-width: 640px) { | |
| .text-indent { | |
| padding-left: 20px; | |
| padding-right: 20px; | |
| } | |
| .shell { | |
| margin: 0 16px; | |
| } | |
| .header-row { | |
| padding-left: 20px; | |
| padding-right: 20px; | |
| } | |
| .brand-name { | |
| font-size: 34px; | |
| } | |
| .brand-mark { | |
| width: 38px; | |
| height: 41px; | |
| } | |
| .header-shapes { | |
| width: 60px; | |
| height: 28px; | |
| } | |
| .hero { | |
| padding-top: 140px; | |
| } | |
| .display { | |
| font-size: 15vw; | |
| } | |
| .lead { | |
| font-size: 21px; | |
| line-height: 32px; | |
| } | |
| .card { | |
| height: 520px; | |
| border-radius: 28px; | |
| } | |
| .card-body { | |
| left: 30px; | |
| right: 26px; | |
| bottom: 30px; | |
| } | |
| .card-title { | |
| font-size: 32px; | |
| } | |
| .card-sub { | |
| font-size: 19px; | |
| } | |
| .card-link { | |
| font-size: 19px; | |
| } | |
| .manifest-card { | |
| margin: 0 40px; | |
| padding: 48px 32px 40px; | |
| min-height: 0; | |
| } | |
| .manifest-card-title { | |
| font-size: 34px; | |
| } | |
| .manifest-card-body { | |
| font-size: 19px; | |
| line-height: 30px; | |
| } | |
| .carousel-arrow { | |
| width: 46px; | |
| height: 46px; | |
| } | |
| .cta-kicker { | |
| font-size: 24px; | |
| } | |
| .cta-button { | |
| height: 56px; | |
| padding: 0 28px; | |
| font-size: 20px; | |
| } | |
| .footer { | |
| padding-bottom: 120px; | |
| } | |
| .footer-grid { | |
| grid-template-columns: 1fr; | |
| row-gap: 24px; | |
| } | |
| .floating-nav { | |
| bottom: 20px; | |
| padding: 5px 18px 5px 5px; | |
| } | |
| .nav-item { | |
| font-size: 16px; | |
| padding: 9px 10px; | |
| } | |
| .nav-item.is-active { | |
| padding: 9px 18px; | |
| } | |
| } | |