update
This commit is contained in:
48
src/styles/template_2/banner.css
Normal file
48
src/styles/template_2/banner.css
Normal file
@ -0,0 +1,48 @@
|
||||
.v4.h06-in-page-banner .banner-item{position:relative;margin-bottom:80px}
|
||||
.v4.h06-in-page-banner .banner-block{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:736px;background-color:#ddd;padding:3vw 5.3vw 80px;margin-bottom:16px}
|
||||
.v4.h06-in-page-banner .banner-block__in{width:58%;display:flex;display:-webkit-flex;flex-direction:column;justify-content:center}
|
||||
.v4.h06-in-page-banner .banner-block__heading{letter-spacing:1px;line-height:1.09;margin-bottom:20px;font-size:64px;max-height:146px;overflow:hidden}
|
||||
.v4.h06-in-page-banner .banner-block__text{margin-bottom:40px;font-weight:700;font-size:18px;max-height:50px;overflow:hidden}
|
||||
@media only screen and (min-width:1920px){.v4.h06-in-page-banner .banner-block__text{font-size:24px;line-height:1.2;max-height:58px}
|
||||
}
|
||||
@media only screen and (min-width:1200px) and (max-width:1600px){.v4.h06-in-page-banner .banner-block__text{margin-bottom:20px}
|
||||
}
|
||||
.v4.h06-in-page-banner .banner-block--centered{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}
|
||||
.v4.h06-in-page-banner .banner-block--centered .banner-block__in{text-align:center}
|
||||
.v4.h06-in-page-banner .banner-block--right{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}
|
||||
.v4.h06-in-page-banner .banner-block--dark-theme{color:#fff}
|
||||
.v4.h06-in-page-banner .banner-block--dark-theme .banner-block__heading,.v4.h06-in-page-banner .banner-block--dark-theme .banner-block__text{color:#fff}
|
||||
.v4.h06-in-page-banner .banner-block--dark-theme .banner-block__btn{background-color:#fff;color:#000;border-color:#fff}
|
||||
.v4.h06-in-page-banner .banner-item__text{font-size:12px;font-weight:400;line-height:1.6;color:#000;max-width:880px;display:none}
|
||||
.v4.h06-in-page-banner .banner-block--image{background-position:center center;background-repeat:no-repeat;background-size:cover}
|
||||
@media only screen and (max-width:1199.98px){.huawei-v4 .v4.h06-in-page-banner:last-of-type{margin-bottom:0}
|
||||
.huawei-v4 .v4.h06-in-page-banner:last-of-type .banner-item{margin-bottom:0}
|
||||
.v4.h06-in-page-banner{margin-bottom:40px}
|
||||
.v4.h06-in-page-banner .banner-block--right{-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}
|
||||
.v4.h06-in-page-banner .container{padding:0}
|
||||
.v4.h06-in-page-banner .banner-item__text{padding:0 20px}
|
||||
.v4.h06-in-page-banner .banner-item{margin-bottom:64px}
|
||||
.v4.h06-in-page-banner .banner-block{padding:40px 20px;height:640px}
|
||||
.v4.h06-in-page-banner .banner-block__in{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}
|
||||
.v4.h06-in-page-banner .banner-block__heading{font-size:48px;margin-bottom:20px;max-height:110px}
|
||||
.v4.h06-in-page-banner .banner-block__text{margin-bottom:28px}
|
||||
.v4.h06-in-page-banner .banner-block__btns{margin-bottom:10px}
|
||||
.v4.h06-in-page-banner .banner-block__in{justify-content:flex-start;max-width:860px;width:auto}
|
||||
}
|
||||
@media only screen and (width:1600px){.v4.h06-in-page-banner .banner-block{height:690px}
|
||||
}
|
||||
@media only screen and (min-width:1200px) and (max-width:1599.98px){.v4.h06-in-page-banner .banner-block__heading{font-size:48px;max-height:110px}
|
||||
.v4.h06-in-page-banner .banner-block{height:45vw}
|
||||
}
|
||||
@media only screen and (min-width:922px) and (max-width:1199.98px){.v4.h06-in-page-banner .banner-block{height:840px}
|
||||
}
|
||||
@media only screen and (min-width:768px) and (max-width:921px){.v4.h06-in-page-banner .banner-block{height:740px}
|
||||
.v4.h06-in-page-banner .banner-block__heading{font-size:30px;max-height:66px}
|
||||
.v4.h06-in-page-banner .banner-block__text{font-size:16px;max-height:50px}
|
||||
}
|
||||
@media only screen and (max-width:767px){.v4.h06-in-page-banner .banner-block{height:640px}
|
||||
}
|
||||
@media only screen and (max-width:767.98px){.v4.h06-in-page-banner .banner-block__heading{font-size:30px;max-height:66px;margin-bottom:10px}
|
||||
.v4.h06-in-page-banner .banner-block__text{font-size:14px;max-height:72px;margin-bottom:12px}
|
||||
.v4.h06-in-page-banner .banner-block__in{max-width:100%}
|
||||
}
|
Reference in New Issue
Block a user