VoyagerXHF's picture
Upload folder using huggingface_hub (part 79)
ecdc786 verified
Raw History Blame Contribute Delete
4.36 kB
/* mock-website overrides: fix carousel + visibility issues */
/* Slick carousel - ensure overflow is hidden so only active slide shows */
.slick-list {
overflow: hidden !important;
position: relative !important;
}
.slick-track {
position: relative !important;
display: block !important;
top: 0 !important;
left: 0 !important;
}
.slick-slide {
display: none !important;
float: left !important;
height: auto !important;
min-height: 1px !important;
}
.slick-initialized .slick-slide {
display: block !important;
}
.slick-slide.slick-loading img {
display: block !important;
}
/* Owl carousel - ensure visible */
.owl-carousel .owl-stage-outer {
overflow: hidden !important;
}
.owl-carousel .owl-item {
float: left !important;
}
/* Reset any forcibly-hidden animation targets */
[data-anim-lazy-image],
[data-progressive-image] {
opacity: 1 !important;
visibility: visible !important;
}
/* Hide preloader if present */
.preloader, [class*="preloader"] {
display: none !important;
}
/* ------------------------------------------------------------------ */
/* round-2 mobile responsive fixes */
/* This page is a frozen WPBakery snapshot: (1) every data-vc-full-width */
/* row has desktop-computed inline width:1440px / left:-Xpx baked in, */
/* and (2) the theme's responsive helper classes (wpex-max-w-100, */
/* no-mobile-width, vc-quote-carousel__content, home-hero__tagline) were */
/* never captured, so fixed-pixel widths have no mobile cap. On a 375px */
/* viewport this pushes the hero text, testimonial quotes and section */
/* headings off-screen where body{overflow-x:hidden} clips them. */
@media (max-width: 991px) {
/* Full-bleed rows AND JS-stretched rows/sections: drop the baked desktop */
/* width/offset/padding so they fit the mobile viewport instead of being */
/* clipped. The baked padding (100-130px, to offset the negative left) is */
/* replaced with a small mobile gutter. */
.vc_row[data-vc-full-width="true"],
.wpex-vc-row-stretched,
[style*="width: 1440px"] {
left: 0 !important;
right: auto !important;
width: 100% !important;
max-width: 100% !important;
margin-left: 0 !important;
margin-right: 0 !important;
padding-left: 20px !important;
padding-right: 20px !important;
box-sizing: border-box !important;
}
/* Cap fixed-pixel-width text/content blocks to the viewport. max-width */
/* overrides the inline width:NNNpx without touching layout otherwise. */
.home-hero__tagline,
.vc-quote-carousel__content,
.wpex-max-w-100,
.no-mobile-width,
.wpb_text_column[style*="width:"] {
width: auto !important;
max-width: 100% !important;
}
/* Frozen slick testimonial carousel: JS baked a multi-thousand-px track */
/* and per-slide pixel widths. Collapse to a single full-width slide (the */
/* one slick marked current) so the quote is not clipped off the right. */
.slick-list { width: 100% !important; }
.slick-track {
width: 100% !important;
transform: none !important;
left: 0 !important;
}
.slick-slide {
width: 100% !important;
float: none !important;
}
.slick-initialized .slick-slide { display: none !important; }
.slick-initialized .slick-slide.slick-current { display: block !important; }
}
/* ------------------------------------------------------------------ */
/* rg4 fix: blog single-post H1 long-word overflow. */
/* The blog article <h1> renders at 50px/700 on mobile. A single long */
/* word (e.g. "Evapotranspiration", ~18 chars) is wider than the 375px */
/* viewport, and with no overflow-wrap the theme lets it run off the */
/* right edge where body{overflow-x:hidden} clips it to */
/* "Evapotranspirati". Allow long words to break so the heading wraps */
/* cleanly. Scoped to blog article headings/content (never the */
/* homepage), and a no-op for titles that already fit. */
.single-post-title,
.single-blog-header h1,
#single-blocks .single-blog-content h1,
#single-blocks .single-blog-content h2,
#single-blocks .single-blog-content h3,
#single-blocks .single-blog-content h4 {
overflow-wrap: break-word !important;
word-break: break-word !important;
hyphens: auto;
}