Datasets:
Download tasks/c14/repo/src/index.css from Roy-DOU/Webdev-Bench: direct link, hf CLI and curl.
- Browser
- Download file 13.5 kB
-
https://huggingface.co/datasets/Roy-DOU/Webdev-Bench/resolve/main/tasks/c14/repo/src/index.css
- Command line
-
hf download hf://datasets/Roy-DOU/Webdev-Bench/tasks/c14/repo/src/index.css
-
curl -L -o index.css https://huggingface.co/datasets/Roy-DOU/Webdev-Bench/resolve/main/tasks/c14/repo/src/index.css
13.5 kB
| :root { | |
| --orange: #ed743d; | |
| --orange-dark: #d95f28; | |
| --dark: #10151b; | |
| --ink: #16181d; | |
| --body-gray: #545454; | |
| --address-gray: #4b4b4b; | |
| --muted-on-dark: #a3a8ae; | |
| --card-on-dark: #9aa0a6; | |
| --teal: #8bbabb; | |
| --badge-bg: #ffecdb; | |
| --badge-text: #dd7038; | |
| } | |
| * { | |
| box-sizing: border-box; | |
| } | |
| html, | |
| body { | |
| margin: 0; | |
| padding: 0; | |
| } | |
| body { | |
| font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif; | |
| color: var(--ink); | |
| background: #fff; | |
| -webkit-font-smoothing: antialiased; | |
| } | |
| img { | |
| display: block; | |
| max-width: 100%; | |
| } | |
| a { | |
| color: inherit; | |
| text-decoration: none; | |
| } | |
| ul { | |
| margin: 0; | |
| padding: 0; | |
| list-style: none; | |
| } | |
| h1, | |
| h2, | |
| h3, | |
| h4, | |
| p, | |
| figure, | |
| blockquote { | |
| margin: 0; | |
| } | |
| button { | |
| font: inherit; | |
| border: none; | |
| background: none; | |
| cursor: pointer; | |
| color: inherit; | |
| padding: 0; | |
| } | |
| .page { | |
| max-width: 1440px; | |
| margin: 0 auto; | |
| overflow-x: hidden; | |
| } | |
| .container { | |
| padding-left: 60px; | |
| padding-right: 60px; | |
| } | |
| .visually-hidden { | |
| position: absolute; | |
| width: 1px; | |
| height: 1px; | |
| overflow: hidden; | |
| clip: rect(0 0 0 0); | |
| white-space: nowrap; | |
| } | |
| .btn { | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-weight: 700; | |
| transition: background-color 0.2s ease, transform 0.2s ease; | |
| } | |
| .btn-orange { | |
| background: var(--orange); | |
| color: #fff; | |
| } | |
| .btn-orange:hover { | |
| background: var(--orange-dark); | |
| } | |
| /* ---------- Display headings (Abril Fatface) ---------- */ | |
| .display-heading { | |
| font-family: 'Abril Fatface', serif; | |
| font-weight: 400; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .display-heading.centered { | |
| align-items: center; | |
| text-align: center; | |
| } | |
| .display-kicker { | |
| font-size: 29px; | |
| line-height: 1; | |
| } | |
| .display-kicker.teal { | |
| color: var(--teal); | |
| } | |
| .display-kicker.dark { | |
| color: var(--ink); | |
| } | |
| .display-main { | |
| font-size: 67px; | |
| line-height: 1; | |
| margin-top: -3px; | |
| } | |
| .display-heading.light { | |
| color: #fff; | |
| } | |
| .display-main.dark { | |
| color: var(--ink); | |
| } | |
| /* ---------- Header ---------- */ | |
| .site-header { | |
| position: relative; | |
| background: #fff; | |
| } | |
| .header-inner { | |
| height: 150px; | |
| padding: 0 60px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| position: relative; | |
| } | |
| .menu-toggle { | |
| display: flex; | |
| align-items: center; | |
| gap: 17px; | |
| } | |
| .menu-icon { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 7px; | |
| width: 21px; | |
| } | |
| .menu-icon i { | |
| display: block; | |
| height: 3px; | |
| border-radius: 2px; | |
| background: var(--ink); | |
| } | |
| .menu-label { | |
| font-family: 'Abril Fatface', serif; | |
| font-size: 23px; | |
| color: var(--ink); | |
| } | |
| .logo { | |
| position: absolute; | |
| left: 50%; | |
| top: 50%; | |
| transform: translate(-50%, -50%); | |
| } | |
| .logo-ring { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| width: 68px; | |
| height: 84px; | |
| border: 2px solid var(--ink); | |
| border-radius: 50%; | |
| font-family: 'Abril Fatface', serif; | |
| font-size: 38px; | |
| color: var(--ink); | |
| padding-top: 2px; | |
| } | |
| .header-right { | |
| display: flex; | |
| align-items: center; | |
| gap: 32px; | |
| } | |
| .header-phone { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 3px; | |
| } | |
| .phone-hint { | |
| font-size: 12.5px; | |
| color: #9b9b9b; | |
| } | |
| .phone-number { | |
| font-size: 15.5px; | |
| font-weight: 700; | |
| color: var(--ink); | |
| } | |
| .header-cta { | |
| height: 48px; | |
| padding: 0 31px; | |
| border-radius: 8px; | |
| font-size: 16px; | |
| } | |
| .menu-panel { | |
| position: absolute; | |
| z-index: 40; | |
| top: 118px; | |
| left: 60px; | |
| min-width: 240px; | |
| background: #fff; | |
| border: 1px solid #ececec; | |
| border-radius: 10px; | |
| box-shadow: 0 18px 45px rgba(16, 21, 27, 0.14); | |
| padding: 14px 0; | |
| } | |
| .menu-panel a { | |
| display: block; | |
| padding: 11px 26px; | |
| font-size: 16px; | |
| color: var(--ink); | |
| } | |
| .menu-panel a:hover { | |
| background: var(--badge-bg); | |
| color: var(--badge-text); | |
| } | |
| /* ---------- Locations ---------- */ | |
| .locations-grid { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 30px; | |
| padding-top: 15px; | |
| padding-bottom: 70px; | |
| } | |
| .location-photo { | |
| border-radius: 4px; | |
| overflow: hidden; | |
| } | |
| .location-photo img { | |
| width: 100%; | |
| height: auto; | |
| transition: transform 0.4s ease; | |
| } | |
| .location-card:hover .location-photo img { | |
| transform: scale(1.02); | |
| } | |
| .location-meta { | |
| display: flex; | |
| align-items: center; | |
| margin-top: 25px; | |
| min-height: 64px; | |
| } | |
| .badge { | |
| align-self: flex-start; | |
| margin-top: 5px; | |
| background: var(--badge-bg); | |
| color: var(--badge-text); | |
| font-size: 15px; | |
| font-weight: 700; | |
| padding: 7px 15px; | |
| border-radius: 6px; | |
| } | |
| .location-text { | |
| margin-left: auto; | |
| margin-right: 44px; | |
| } | |
| .location-name { | |
| font-family: 'Abril Fatface', serif; | |
| font-weight: 400; | |
| font-size: 27px; | |
| line-height: 1.15; | |
| color: var(--ink); | |
| } | |
| .location-address { | |
| font-size: 17px; | |
| color: var(--address-gray); | |
| margin-top: 4px; | |
| } | |
| .arrow-right { | |
| color: var(--ink); | |
| flex-shrink: 0; | |
| transition: transform 0.25s ease; | |
| } | |
| .location-card:hover .arrow-right { | |
| transform: translateX(6px); | |
| } | |
| .arrow-right.small { | |
| width: 30px; | |
| height: 17px; | |
| } | |
| /* ---------- Studio (dark) section ---------- */ | |
| .studio-section { | |
| background: var(--dark); | |
| color: #fff; | |
| padding: 141px 0 90px; | |
| overflow: hidden; | |
| } | |
| .studio-top { | |
| display: flex; | |
| align-items: flex-start; | |
| padding-left: 60px; | |
| } | |
| .studio-intro { | |
| flex: 0 0 300px; | |
| margin-right: 92px; | |
| margin-top: 146px; | |
| } | |
| .studio-intro .display-kicker { | |
| margin-left: 41px; | |
| } | |
| .studio-lead { | |
| margin-top: 64px; | |
| font-size: 20px; | |
| line-height: 1.5; | |
| color: var(--muted-on-dark); | |
| } | |
| .service-row { | |
| display: flex; | |
| flex-shrink: 0; | |
| } | |
| .service-card { | |
| width: 280px; | |
| margin-right: 100px; | |
| flex-shrink: 0; | |
| display: flex; | |
| flex-direction: column; | |
| min-height: 458px; | |
| } | |
| .service-icon { | |
| height: 137px; | |
| display: flex; | |
| align-items: flex-end; | |
| } | |
| .service-icon img { | |
| max-height: 137px; | |
| width: auto; | |
| } | |
| .service-title { | |
| font-family: 'Abril Fatface', serif; | |
| font-weight: 400; | |
| font-size: 24px; | |
| line-height: 1.3; | |
| margin-top: 34px; | |
| } | |
| .service-body { | |
| font-size: 16px; | |
| line-height: 1.5; | |
| color: var(--card-on-dark); | |
| margin-top: 29px; | |
| } | |
| .service-divider { | |
| display: block; | |
| height: 1px; | |
| background: rgba(255, 255, 255, 0.35); | |
| margin-top: auto; | |
| } | |
| /* ---------- Testimonials ---------- */ | |
| .testimonial { | |
| display: flex; | |
| align-items: center; | |
| margin-top: 169px; | |
| } | |
| .testimonial + .testimonial { | |
| margin-top: 159px; | |
| } | |
| .video-card { | |
| position: relative; | |
| flex: 0 0 50%; | |
| max-width: 720px; | |
| } | |
| .video-card img { | |
| width: 100%; | |
| height: auto; | |
| transition: filter 0.3s ease; | |
| } | |
| .video-card.is-playing img { | |
| filter: brightness(0.72); | |
| } | |
| .play-btn { | |
| position: absolute; | |
| right: 45px; | |
| bottom: 45px; | |
| width: 96px; | |
| height: 96px; | |
| border-radius: 50%; | |
| background: #fff; | |
| color: var(--dark); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| transition: transform 0.2s ease; | |
| } | |
| .play-btn:hover { | |
| transform: scale(1.06); | |
| } | |
| .play-btn svg { | |
| margin-left: 4px; | |
| } | |
| .play-btn[aria-pressed='true'] svg { | |
| margin-left: 0; | |
| } | |
| .testimonial-content { | |
| flex: 1; | |
| min-width: 0; | |
| padding-left: 86px; | |
| } | |
| .testimonial.reversed { | |
| flex-direction: row-reverse; | |
| } | |
| .testimonial.reversed .play-btn { | |
| right: auto; | |
| left: 45px; | |
| } | |
| .testimonial.reversed .testimonial-content { | |
| padding-left: 220px; | |
| } | |
| .testimonial-quote { | |
| font-size: 28px; | |
| line-height: 1.9; | |
| color: #fbfeff; | |
| max-width: 432px; | |
| } | |
| .testimonial.reversed .testimonial-quote { | |
| max-width: 400px; | |
| } | |
| .testimonial-author { | |
| font-family: 'Mrs Saint Delafield', cursive; | |
| font-weight: 400; | |
| font-size: 47px; | |
| line-height: 1; | |
| margin-top: 58px; | |
| color: #fff; | |
| } | |
| .testimonial-role { | |
| font-size: 14px; | |
| color: #c3c8cd; | |
| margin-top: 21px; | |
| } | |
| /* ---------- Mission ---------- */ | |
| .mission { | |
| padding-top: 104px; | |
| } | |
| .mission-row { | |
| max-width: 1000px; | |
| margin: 55px auto 0; | |
| display: flex; | |
| align-items: flex-start; | |
| } | |
| .mission-illustration { | |
| flex: 0 0 500px; | |
| display: flex; | |
| justify-content: center; | |
| padding-top: 70px; | |
| padding-left: 50px; | |
| } | |
| .mission-illustration img { | |
| width: 290px; | |
| } | |
| .mission-text { | |
| flex: 0 0 372px; | |
| } | |
| .mission-title { | |
| font-family: 'Abril Fatface', serif; | |
| font-weight: 400; | |
| font-size: 34px; | |
| line-height: 1.25; | |
| color: var(--ink); | |
| margin-bottom: 44px; | |
| } | |
| .mission-text p { | |
| font-size: 17px; | |
| line-height: 1.6; | |
| color: var(--body-gray); | |
| margin-bottom: 39px; | |
| } | |
| .mission-btn { | |
| height: 53px; | |
| padding: 0 32px; | |
| border-radius: 6px; | |
| font-size: 16px; | |
| margin-top: 8px; | |
| } | |
| /* ---------- CTA band ---------- */ | |
| .cta-band-wrap { | |
| padding: 125px 60px 0; | |
| } | |
| .cta-band { | |
| position: relative; | |
| border-radius: 20px; | |
| overflow: hidden; | |
| } | |
| .cta-bg { | |
| width: 100%; | |
| height: auto; | |
| } | |
| .cta-title { | |
| position: absolute; | |
| top: 120px; | |
| left: 265px; | |
| width: 320px; | |
| text-align: center; | |
| font-family: 'Abril Fatface', serif; | |
| font-weight: 400; | |
| font-size: 70px; | |
| line-height: 83px; | |
| letter-spacing: 0.5px; | |
| color: #fff; | |
| text-shadow: 0 2px 22px rgba(16, 21, 27, 0.25); | |
| } | |
| .cta-form { | |
| position: absolute; | |
| top: 142px; | |
| left: 662px; | |
| width: 313px; | |
| } | |
| .cta-field { | |
| display: flex; | |
| align-items: center; | |
| height: 60px; | |
| border: 1.5px solid rgba(255, 255, 255, 0.8); | |
| border-radius: 20px; | |
| background: rgba(33, 38, 44, 0.55); | |
| padding: 0 10px 0 17px; | |
| color: #d9dcdf; | |
| } | |
| .cta-field:focus-within { | |
| border-color: #fff; | |
| background: rgba(33, 38, 44, 0.6); | |
| } | |
| .at-icon { | |
| flex-shrink: 0; | |
| color: #cdd1d4; | |
| } | |
| .cta-field input { | |
| flex: 1; | |
| min-width: 0; | |
| border: none; | |
| background: transparent; | |
| outline: none; | |
| color: #fff; | |
| font-size: 16.5px; | |
| padding: 0 8px 0 12px; | |
| } | |
| .cta-field input::placeholder { | |
| color: #c9cdd1; | |
| } | |
| .field-glyph { | |
| flex-shrink: 0; | |
| } | |
| .cta-submit { | |
| width: 100%; | |
| height: 52px; | |
| margin-top: 20px; | |
| border-radius: 14px; | |
| font-size: 17px; | |
| } | |
| .cta-confirm { | |
| min-height: 22px; | |
| margin-top: 12px; | |
| font-size: 14px; | |
| color: #fff; | |
| text-shadow: 0 1px 8px rgba(16, 21, 27, 0.6); | |
| } | |
| /* ---------- Footer ---------- */ | |
| .site-footer { | |
| padding-top: 66px; | |
| } | |
| .footer-logo .display-kicker { | |
| font-size: 26px; | |
| line-height: 0.9; | |
| } | |
| .footer-logo .display-main { | |
| font-size: 62px; | |
| } | |
| .footer-columns { | |
| max-width: 1140px; | |
| margin: 78px auto 0; | |
| padding: 0 20px; | |
| display: grid; | |
| grid-template-columns: 243px 237px 433px minmax(0, 1fr); | |
| } | |
| .footer-col h4 { | |
| font-family: 'Abril Fatface', serif; | |
| font-weight: 400; | |
| font-size: 22px; | |
| color: var(--ink); | |
| margin-bottom: 24px; | |
| } | |
| .footer-col ul li { | |
| margin-bottom: 15px; | |
| } | |
| .footer-col ul a { | |
| font-size: 17px; | |
| color: #2d2d2f; | |
| } | |
| .footer-col ul a:hover { | |
| color: var(--orange); | |
| } | |
| .insta-head { | |
| display: flex; | |
| align-items: baseline; | |
| } | |
| .insta-voir { | |
| margin-left: auto; | |
| margin-right: 130px; | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 12px; | |
| font-size: 15px; | |
| color: #2d2d2f; | |
| } | |
| .insta-voir .arrow-right { | |
| transform: translateY(3px); | |
| } | |
| .insta-voir:hover { | |
| color: var(--orange); | |
| } | |
| .insta-thumbs { | |
| display: flex; | |
| gap: 13px; | |
| margin-top: 6px; | |
| } | |
| .insta-thumbs img { | |
| width: 62px; | |
| height: 62px; | |
| object-fit: cover; | |
| border-radius: 2px; | |
| } | |
| .insta-thumbs a:hover img { | |
| opacity: 0.85; | |
| } | |
| .footer-contact ul a { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 13px; | |
| white-space: nowrap; | |
| } | |
| .footer-contact svg { | |
| color: var(--ink); | |
| } | |
| .footer-bottom { | |
| max-width: 1140px; | |
| margin: 48px auto 0; | |
| padding: 0 20px 24px; | |
| display: flex; | |
| justify-content: space-between; | |
| font-size: 12.5px; | |
| color: #9a9a9a; | |
| } | |
| /* ---------- Responsive ---------- */ | |
| @media (max-width: 1120px) { | |
| .container, | |
| .header-inner { | |
| padding-left: 32px; | |
| padding-right: 32px; | |
| } | |
| .studio-top { | |
| flex-direction: column; | |
| padding-left: 32px; | |
| padding-right: 32px; | |
| } | |
| .studio-intro { | |
| margin: 0 0 70px; | |
| flex: none; | |
| } | |
| .service-row { | |
| width: 100%; | |
| overflow-x: auto; | |
| padding-bottom: 20px; | |
| } | |
| .testimonial, | |
| .testimonial.reversed { | |
| flex-direction: column; | |
| align-items: stretch; | |
| margin-top: 110px; | |
| } | |
| .video-card { | |
| flex: none; | |
| max-width: none; | |
| } | |
| .testimonial-content, | |
| .testimonial.reversed .testimonial-content { | |
| max-width: none; | |
| padding: 48px 32px 0; | |
| } | |
| .mission-row { | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 40px; | |
| padding: 0 32px; | |
| } | |
| .mission-illustration { | |
| flex: none; | |
| padding-top: 0; | |
| } | |
| .mission-text { | |
| flex: none; | |
| max-width: 560px; | |
| } | |
| .cta-band-wrap { | |
| padding: 90px 32px 0; | |
| } | |
| .cta-band { | |
| background: var(--dark); | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| padding: 56px 24px 48px; | |
| } | |
| .cta-bg { | |
| position: absolute; | |
| inset: 0; | |
| width: 100%; | |
| height: 100%; | |
| object-fit: cover; | |
| opacity: 0.55; | |
| } | |
| .cta-title { | |
| position: relative; | |
| top: auto; | |
| left: auto; | |
| width: auto; | |
| } | |
| .cta-form { | |
| position: relative; | |
| top: auto; | |
| left: auto; | |
| margin-top: 36px; | |
| } | |
| .footer-columns { | |
| grid-template-columns: 1fr 1fr; | |
| gap: 44px 24px; | |
| } | |
| .insta-voir { | |
| margin-right: 0; | |
| } | |
| } | |
| @media (max-width: 720px) { | |
| .header-phone { | |
| display: none; | |
| } | |
| .header-cta { | |
| padding: 0 20px; | |
| } | |
| .locations-grid { | |
| grid-template-columns: 1fr; | |
| gap: 48px; | |
| } | |
| .display-main { | |
| font-size: 52px; | |
| } | |
| .testimonial-quote { | |
| font-size: 22px; | |
| } | |
| .cta-title { | |
| font-size: 46px; | |
| } | |
| .cta-form { | |
| width: min(314px, 100%); | |
| } | |
| .footer-columns { | |
| grid-template-columns: 1fr; | |
| } | |
| .footer-bottom { | |
| flex-direction: column; | |
| gap: 8px; | |
| align-items: center; | |
| } | |
| } | |