Datasets:
Download web/cascora.example/reference/site/_overrides.css from Qwen/RecreationBench: direct link, hf CLI and curl.
- Browser
- Download file 6.9 kB
-
https://huggingface.co/datasets/Qwen/RecreationBench/resolve/main/web/cascora.example/reference/site/_overrides.css
- Command line
-
hf download hf://datasets/Qwen/RecreationBench/web/cascora.example/reference/site/_overrides.css
-
curl -L -o _overrides.css https://huggingface.co/datasets/Qwen/RecreationBench/resolve/main/web/cascora.example/reference/site/_overrides.css
6.9 kB
| /* Offline mock overrides — force animation-hidden content visible */ | |
| html { pointer-events: auto ; cursor: auto ; } | |
| /* Force opacity & visibility on all elements that animation scripts hide */ | |
| *[style*="opacity: 0"], | |
| *[style*="opacity:0"] { | |
| opacity: 1 ; | |
| } | |
| /* page-builder animation patterns commonly use these */ | |
| [data-wf-anim], | |
| [data-w-id], | |
| .is-animated, | |
| .is-hidden-animation, | |
| .preloader, | |
| [class*="preloader"] { | |
| opacity: 1 ; | |
| visibility: visible ; | |
| transform: none ; | |
| } | |
| /* But don't show the literal preloader overlay */ | |
| [class*="preloader"][class*="overlay"], | |
| .page-preloader, | |
| .site-preloader, | |
| #preloader { | |
| display: none ; | |
| } | |
| /* Webflow scroll-trigger off-screen translate fix */ | |
| [style*="translate3d"][style*="100%"], | |
| [style*="translate(0px, 100%)"], | |
| [style*="translateY(100%)"] { | |
| transform: translate(0, 0) ; | |
| } | |
| /* GSAP common patterns */ | |
| .gsap-marker, | |
| .gsap-hidden { | |
| opacity: 1 ; | |
| visibility: visible ; | |
| } | |
| /* Force inline-styled hidden elements to be visible */ | |
| [style*="visibility: hidden"], | |
| [style*="visibility:hidden"] { | |
| visibility: visible ; | |
| } | |
| /* Webflow specific: split-text spans often start with transform */ | |
| .split-line span, | |
| .split-word span, | |
| .split-char { | |
| transform: translate(0, 0) ; | |
| opacity: 1 ; | |
| display: inline-block ; | |
| } | |
| /* --- per-site: reveal scroll-triggered CONTENT wrappers that JS (frozen) never un-hides. | |
| Only content reveal wrappers; NOT nav/lightbox/tooltip/swiper chrome. --- */ | |
| .sticky-features_img-wrapper, | |
| .sticky-features_visuals, | |
| .sticky-features_item, | |
| .sticky-features_item-content, | |
| .trail-item, | |
| .comn-round-card, | |
| .new-blog_post-img, | |
| [class*="_img-wrapper"], | |
| [class*="fade-in"], | |
| [class*="scroll-in"], | |
| [class*="reveal"] { | |
| opacity: 1 ; | |
| transform: none ; | |
| visibility: visible ; | |
| } | |
| /* --- per-site redo: black highlight-pill (.btn) with long text overflowed/clipped | |
| (base .btn is white-space:nowrap + max-width:fit-content). Let long ones wrap | |
| and cap width so callout text is never clipped at the viewport edge. --- */ | |
| a.btn, .btn { white-space: normal ; max-width: 100% ; } | |
| .btn.cc-home-case, .btn.cc-home-case-special { white-space: nowrap ; } | |
| /* --- per-site round-2: mobile hero decorations (two absolutely-positioned hero | |
| images .home-hero-contain.cc-left/.cc-right) overlapped the hero title/subtitle | |
| and covered the "Begin building for free" CTA on phones. On desktop they are | |
| corner flourishes at the bottom of the hero card; reproduce that scaled-down on | |
| phones: keep hero text/CTA above (z-index), shrink the images, pin them to the | |
| bottom corners inside reserved bottom padding, so they never overlap content. --- */ | |
| @media screen and (max-width: 767px) { | |
| .home-hero-container.hero-container.container-2-2 { | |
| padding-bottom: 8.5rem ; | |
| overflow: hidden ; | |
| } | |
| .home-hero-container.hero-container.container-2-2 > .container { | |
| position: relative ; | |
| z-index: 3 ; | |
| } | |
| .home-hero-container.hero-container.container-2-2 > .home-hero-contain { | |
| width: 44% ; | |
| min-width: 0 ; | |
| max-width: 45% ; | |
| z-index: 1 ; | |
| } | |
| .home-hero-container.hero-container.container-2-2 > .home-hero-contain.cc-left { | |
| inset: auto auto 0.5rem 0 ; | |
| } | |
| .home-hero-container.hero-container.container-2-2 > .home-hero-contain.cc-right { | |
| inset: auto 0 0.5rem auto ; | |
| } | |
| } | |
| /* --- per-site round-2: testimonial swiper baked a fixed slide width (387px, from | |
| a wider container) inline on each slide. On a 375px phone the first (lime/yellow) | |
| card overflows the viewport and its quote text is clipped at the right edge. | |
| Constrain slides to the container content width on phones so the card + text fit. --- */ | |
| @media screen and (max-width: 767px) { | |
| [data-testimonial-swiper] .new_testimonial-swiper-slide.swiper-slide { | |
| width: calc(100vw - 3rem) ; | |
| max-width: 100% ; | |
| } | |
| [data-testimonial-swiper] .testimonial_card { width: 100% ; } | |
| } | |
| /* --- careers hero: the decorative "cord" images plug into the CTA button | |
| (career-btn-wrapper, z:10) and the right cord (cc-2) extends left over the | |
| centered subtitle, hiding "...of go-to-market." Raise the subtitle above the | |
| cord layer so the full line stays legible. Class is careers-only. --- */ | |
| .career-hero_text { position: relative; z-index: 20; } | |
| /* --- sticky-features sections: 3 product images are absolutely stacked in one | |
| sticky LEFT column and JS cross-fades them as the reader scrolls the 3-point | |
| list on the right. In a static full-page capture only one image shows, leaving | |
| the column blank beside the other items (flagged as "empty module"). Un-stack | |
| the images so they flow vertically, one aligned with each feature item — a | |
| normal, filled two-column layout. Classes are used only on feature pages, | |
| never the homepage. --- */ | |
| .sticky-features_sticky { position: static ; height: auto ; padding-top: 0 ; } | |
| .sticky-features_box { position: static ; height: auto ; width: 100% ; } | |
| .sticky-features_img-wrapper { position: relative ; height: auto ; width: 100% ; margin-bottom: 8rem; } | |
| .sticky-features_img-wrapper:last-child { margin-bottom: 0; } | |
| .sticky-features_img-wrapper .u-content-asset_wrapper { width: 100% ; height: auto ; aspect-ratio: 1 / 1 ; } | |
| /* --- r5g1: cascora-cup hero sub-headline (.text-block-10) is display:flex; flex-wrap:nowrap, | |
| so its inline "Streamio"/"Connectr" links are laid out in a single non-wrapping row and | |
| the last link overflows & is clipped at the right edge on phones. Make it normal wrapping | |
| text so the whole line "...LIVE May 19th on Streamio and Connectr" wraps cleanly. Class is | |
| used only on cascora-cup. --- */ | |
| @media screen and (max-width: 767px) { | |
| .text-block-10 { display: block ; } | |
| .text-block-10 br { display: none ; } | |
| } | |
| /* --- r5g1: partner testimonial carousel (.partner-swiper-slide) baked a fixed ~793px slide | |
| width from a wide desktop container; on phones the first card overflows the viewport and its | |
| quote is clipped at the right edge (same class of bug as the testimonial-swiper fix above). | |
| Constrain slides + inner card to the viewport content width. Used on partners/solutions and | |
| partners/creators only. --- */ | |
| @media screen and (max-width: 767px) { | |
| .partner-swiper-slide.swiper-slide { width: calc(100vw - 3rem) ; max-width: 100% ; margin-right: 16px ; } | |
| .partner-swiper-slide.swiper-slide .partner_card, | |
| .partner-swiper-slide.swiper-slide > div { width: 100% ; max-width: 100% ; } | |
| } | |