Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body.home:is(.seraph-accel-js-lzl-ing, .seraph-accel-js-lzl-ing-ani) .site-banner .item-wrapper.owl-carousel {
- display: flex !important;
- justify-content: center;
- overflow: hidden;
- gap: 30px;
- }
- body.home .site-banner .item-wrapper.owl-carousel {
- --item-width: calc((100vw - 500px) / 3);
- }
- body.home .site-banner .item-wrapper.owl-carousel.owl-loaded {
- gap: 0 !important;
- }
- body.home:is(.seraph-accel-js-lzl-ing, .seraph-accel-js-lzl-ing-ani) .site-banner .item-wrapper.owl-carousel .item {
- float: left;
- display: block !important;
- width: var(--item-width);
- flex-shrink: 0;
- order: 2;
- }
- @media screen and (min-width: 1024px) {
- body.home:is(.seraph-accel-js-lzl-ing, .seraph-accel-js-lzl-ing-ani) .site-banner .item-wrapper.owl-carousel:not(.owl-loaded) .item {
- transform: translateX(-18px);
- }
- }
- body.home:is(.seraph-accel-js-lzl-ing, .seraph-accel-js-lzl-ing-ani) .site-banner .item-wrapper.owl-carousel .item:nth-of-type(1n + 4) {
- display: none !important;
- }
- body.home:is(.seraph-accel-js-lzl-ing, .seraph-accel-js-lzl-ing-ani) .site-banner .item-wrapper.owl-carousel .item:last-of-type {
- order: 1;
- display: block !important;
- }
- body.home:is(.seraph-accel-js-lzl-ing, .seraph-accel-js-lzl-ing-ani) .site-banner .item-wrapper.owl-carousel .item:nth-last-child(2) {
- order: 0;
- display: block !important;
- }
- body.home .site-banner .item-wrapper.owl-carousel .owl-item {
- width: var(--item-width) !important;
- }
- body.home:is(.seraph-accel-js-lzl-ing, .seraph-accel-js-lzl-ing-ani) .site-banner .item-wrapper.owl-carousel .item img {
- display: block;
- width: 100%;
- height: auto;
- aspect-ratio: 340/370;
- }
- @media screen and (max-width: 1023px) {
- body.home .site-banner .item-wrapper.owl-carousel {
- --item-width: calc((100vw - 30px - 60px) / 3);
- --item-width: calc((100vw - 30px + (100vw - 1020px) / 2) / 3);
- }
- }
- @media screen and (max-width: 767px) {
- body.home:is(.seraph-accel-js-lzl-ing, .seraph-accel-js-lzl-ing-ani) .site-banner .item-wrapper.owl-carousel {
- justify-content: center;
- }
- body.home:is(.seraph-accel-js-lzl-ing, .seraph-accel-js-lzl-ing-ani) .site-banner .item-wrapper.owl-carousel .item:nth-of-type(1n + 3) {
- display: none !important;
- }
- body.home:is(.seraph-accel-js-lzl-ing, .seraph-accel-js-lzl-ing-ani) .site-banner .item-wrapper.owl-carousel .item:last-of-type {
- order: 0;
- display: block !important;
- }
- body.home .site-banner .item-wrapper.owl-carousel {
- --item-width: calc(100vw - 30px - 60px - 40px);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement