@charset "UTF-8"; /*主色调*/ /*文字文本*/ /*单行省略号*/ /*多行省略号*/ /*箭头*/ /**a标签hoverboder效果**/ /**使用vw适配**/ .banner { position: relative; } .banner a { display: block; position: absolute; left: 0; right: 0; margin: 0 auto; bottom: 15%; width: 150px; height: 38px; line-height: 38px; font-size: 14px; text-align: center; color: #fff; border: 1px solid #fff; z-index: 1; overflow: hidden; } @media (min-width: 768px) { .banner a { width: 180px; height: 48px; line-height: 48px; font-size: 18px; } } .banner a:after { content: ''; position: absolute; z-index: -1; -webkit-transition: width 0.3s, opacity 0.3s; transition: width 0.3s, opacity 0.3s; width: 0; height: 530px; top: 50%; left: 50%; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; opacity: 0; background: #000000; background: rgba(0, 0, 0, 0.2); -webkit-transform: translate3d(-50%, -50%, 0) rotate(45deg); transform: translate3d(-50%, -50%, 0) rotate(45deg); -webkit-backface-visibility: hidden; backface-visibility: hidden; } .banner a:hover:after, .banner a:active:after { width: 100%; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; opacity: 1; } .banner img { width: 100%; } .entrance { margin: 40px auto; } @media (min-width: 768px) { .entrance { margin: 60px auto; } } @media (min-width: 1200px) { .entrance { margin: 100px auto; } } .entrance .item { margin-bottom: 20px; } .entrance .item .img img { height: calc(100vw * (200 / 375)); width: 100%; } @media (min-width: 768px) { .entrance .item .img img { height: auto; } } .entrance .item .txt { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: #000000; background: rgba(0, 0, 0, 0.2); padding: 20px; } @media (min-width: 768px) { .entrance .item .txt { padding: 20px; } } @media (min-width: 1200px) { .entrance .item .txt { padding: 40px; } } .entrance .item .txt span { color: #ed4747; font-weight: bold; font-size: 16px; display: inline-block; margin-top: 10px; } @media (min-width: 768px) { .entrance .item .txt span { font-size: 20px; margin-top: 30px; } } .entrance .item .txt h2 { color: #fff; margin: 12px 0; font-size: 22px; } .entrance .item .txt h2 em { color: #ed4747; } @media (min-width: 768px) { .entrance .item .txt h2 { margin: 25px 0; font-size: 28px; } } @media (min-width: 1200px) { .entrance .item .txt h2 { font-size: 44px; } } .entrance .item .txt p { color: #fff; font-size: 14px; } @media (min-width: 768px) { .entrance .item .txt p { font-size: 20px; } } @media (min-width: 1200px) { .entrance .item .txt p { font-size: 24px; } } .entrance .item .txt i { font-weight: bold; padding-right: 30px; color: #ed4747; position: absolute; bottom: 25px; font-size: 16px; } @media (min-width: 768px) { .entrance .item .txt i { font-size: 20px; } } .entrance .item .txt i:after { content: ""; display: inline-block; width: 30px; height: 10px; -webkit-transition: all .5s ease; transition: all .5s ease; background: url("/assets/image/arrow-color.png") no-repeat center; } .entrance .item a { display: block; position: relative; -webkit-transition: all .5s ease; transition: all .5s ease; } .entrance .item a:hover, .entrance .item a:active { -webkit-transform: translateY(-10px); transform: translateY(-10px); -webkit-box-shadow: 0px 8px 40px 0px rgba(0, 0, 0, 0.2); box-shadow: 0px 8px 40px 0px rgba(0, 0, 0, 0.2); } .product .headline { text-align: center; margin-bottom: 10px; } @media (min-width: 768px) { .product .headline { margin-bottom: 30px; } } @media (min-width: 1200px) { .product .headline { margin-bottom: 50px; } } .product .headline h2 { color: #111; margin-bottom: 10px; font-size: 24px; } @media (min-width: 768px) { .product .headline h2 { margin-bottom: 22px; font-size: 32px; } } @media (min-width: 1200px) { .product .headline h2 { font-size: 46px; } } .product .headline span { color: #ed4747; font-size: 16px; } @media (min-width: 768px) { .product .headline span { font-size: 20px; } } @media (min-width: 1200px) { .product .headline span { font-size: 24px; } } .product ul li { position: relative; margin-top: 20px; } .product ul li:after { content: ''; display: block; clear: both; } @media (min-width: 768px) { .product ul li { margin-top: 30px; } } .product ul li .type { background: #f86363; color: #fff; width: 44%; height: 200px; padding: 25px; padding-bottom: 0; text-align: center; float: left; } @media (min-width: 768px) { .product ul li .type { float: none; position: absolute; top: 0; left: 0; width: 200px; height: 250px; padding: 25px; } } @media (min-width: 1200px) { .product ul li .type { width: 268px; height: 300px; padding: 40px; } } .product ul li .type a { display: block; color: #fff; } .product ul li .type a:hover img { -webkit-transform: scale(0.9); transform: scale(0.9); } .product ul li .type a:hover .p-icon { margin-top: 10px; } .product ul li .type .p-icon { position: relative; margin: 20px auto 20px; width: 40px; height: 40px; line-height: 40px; -webkit-transition: all .5s ease; transition: all .5s ease; } @media (min-width: 768px) { .product ul li .type .p-icon { width: 60px; height: 60px; line-height: 60px; } } @media (min-width: 1200px) { .product ul li .type .p-icon { width: 80px; height: 80px; line-height: 80px; } } .product ul li .type .p-icon img { width: 30px; height: 30px; z-index: 3; position: relative; -webkit-transition: all .5s ease; transition: all .5s ease; } @media (min-width: 768px) { .product ul li .type .p-icon img { width: 40px; height: 40px; } } @media (min-width: 1200px) { .product ul li .type .p-icon img { width: 60px; height: 60px; } } .product ul li .type .p-icon:before { content: ""; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; opacity: 1; -webkit-transform: scale(1); transform: scale(1); display: block; position: absolute; z-index: 2; zoom: 1; -webkit-transform: translateZ(1px); transform: translateZ(1px); width: 38px; height: 38px; top: 1px; left: 1px; border-radius: 50%; -webkit-box-shadow: 0 0 10px 10px #f86363; box-shadow: 0 0 10px 10px #f86363; } @media (min-width: 768px) { .product ul li .type .p-icon:before { width: 58px; height: 58px; } } @media (min-width: 1200px) { .product ul li .type .p-icon:before { width: 78px; height: 78px; } } .product ul li .type .p-icon:after { content: ''; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; opacity: 1; -webkit-transform: scale(1); transform: scale(1); display: block; position: absolute; z-index: 1; zoom: 1; width: 100%; height: 100%; top: 0; left: 0; border-radius: 50%; -webkit-box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.5); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.5); -webkit-transition: all .3s ease-in-out; transition: all .3s ease-in-out; } .product ul li .type h2 { padding: 14px 0; border-bottom: 1px solid #fff; font-size: 18px; width: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; word-wrap: normal; } @media (min-width: 768px) { .product ul li .type h2 { padding: 20px 0; font-size: 26px; } } @media (min-width: 1200px) { .product ul li .type h2 { font-size: 36px; } } .product ul li .type span { display: inline-block; margin-top: 10px; font-size: 13px; } @media (min-width: 768px) { .product ul li .type span { margin-top: 10px; font-size: 15px; } } @media (min-width: 1200px) { .product ul li .type span { margin-top: 20px; font-size: 18px; } } .product ul li .items { width: 56%; float: left; } .product ul li .items:after { content: ''; display: block; clear: both; } @media (min-width: 768px) { .product ul li .items { float: none; width: auto; margin-left: 200px; height:250px; } } @media (min-width: 1200px) { .product ul li .items { margin-left: 268px; height:300px; } } .product ul li .items .item { width: 100%; } @media (min-width: 768px) { .product ul li .items .item { width: 48.5%; } } .product ul li .items .item.fr { display: none; } @media (min-width: 768px) { .product ul li .items .item.fr { display: block; } } .product ul li .items a { position: relative; display: block; padding: 15px; height: 200px; -webkit-box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.1); box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.1); border-top: 6px solid #fff; -webkit-transition: all .5s ease; transition: all .5s ease; } @media (min-width: 768px) { .product ul li .items a { padding: 20px; height: 250px; } } @media (min-width: 1200px) { .product ul li .items a { padding: 30px; height: 300px; } } .product ul li .items a:hover { border-top: 6px solid #ed4747; -webkit-transform: translateY(-10px); transform: translateY(-10px); } .product ul li .items h2 { color: #111; line-height: 1.4; margin-bottom: 20px; font-size: 16px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } @media (min-width: 768px) { .product ul li .items h2 { font-size: 24px; } } @media (min-width: 1200px) { .product ul li .items h2 { font-size: 30px; } } .product ul li .items p { color: #333; line-height: 1.4; font-size: 12px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } @media (min-width: 768px) { .product ul li .items p { font-size: 16px; } } .product ul li .items span { position: absolute; bottom: 20px; right: 20px; color: #ed4747; } .product ul li .items span i { display: inline-block; vertical-align: middle; width: 13px; height: 13px; background: url("/assets/image/arrow-color.png") no-repeat center; } .product .more { margin: 30px auto 0; width: 180px; height: 40px; line-height: 40px; cursor: pointer; border: 1px solid #e0e0e0; color: #333; text-align: center; font-size: 14px; overflow: hidden; position: relative; z-index: 2; } @media (min-width: 768px) { .product .more { margin: 50px auto 0; width: 180px; height: 50px; line-height: 50px; font-size: 18px; } } .product .more:after { content: ''; position: absolute; z-index: 1; -webkit-transition: width 0.3s, opacity 0.3s; transition: width 0.3s, opacity 0.3s; width: 0; height: 530px; top: 50%; left: 50%; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; opacity: 0; background: #000000; background: rgba(0, 0, 0, 0.1); -webkit-transform: translate3d(-50%, -50%, 0) rotate(45deg); transform: translate3d(-50%, -50%, 0) rotate(45deg); -webkit-backface-visibility: hidden; backface-visibility: hidden; } .product .more:hover:after, .product .more:active:after { width: 100%; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; opacity: 1; } .ad { margin: 40px auto; } @media (min-width: 768px) { .ad { margin: 60px auto; } } @media (min-width: 1200px) { .ad { margin: 100px auto; } } .ad a { width: 100%; } .ad img { width: 100%; } .product.other { padding-bottom: 20px; margin-bottom: 40px; } @media (min-width: 768px) { .product.other { padding-bottom: 50px; margin-bottom: 50px; } } @media (min-width: 1200px) { .product.other { margin-bottom: 100px; } } .product.other ul li .type { background: #47a5ed; } .product.other ul li .type .p-icon:before { -webkit-box-shadow: 0 0 10px 10px #47a5ed; box-shadow: 0 0 10px 10px #47a5ed; } .product.other ul li .items a:hover { border-color: #47a5ed; } @media (min-width: 768px) { .repository { background: -webkit-gradient(linear, left top, right top, color-stop(50%, #ffffff), color-stop(50%, #eeeeee), to(#eeeeee)); background: linear-gradient(to right, #ffffff 50%, #eeeeee 50%, #eeeeee); } } .repository .list { background: #fff; padding-top: 20px; } @media (min-width: 768px) { .repository .list { padding-top: 50px; } } .repository .list-title { font-size: 24px; color: #111; border-bottom: 1px solid #eee; padding: 40px 0 20px; margin-bottom: 20px; } @media (min-width: 768px) { .repository .list-title { margin-bottom: 20px; font-size: 36px; padding: 50px 0; margin-right: -15px; } } @media (min-width: 1200px) { .repository .list-title { font-size: 44px; margin-bottom: 30px; } } .repository .back-nav { color: #ed4747; font-size: 14px; cursor: pointer; display: inline-block; } @media (max-width: 767px) { .repository .back-nav { margin-bottom: 30px; } } .repository .back-nav i { display: inline-block; width: 30px; height: 10px; -webkit-transition: all .5s ease; transition: all .5s ease; background: url("/assets/image/arrow-color-left.png") no-repeat center; } .repository .back-nav:hover i, .repository .back-nav:active i { background-position: center left; } .repository .category { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #f8f8f8; z-index: 1010; padding: 30px; overflow: auto; background: #eee; -webkit-transform: translateX(100%); transform: translateX(100%); -webkit-transition: all .5s ease; transition: all .5s ease; -webkit-overflow-scrolling: touch; } .repository .category.showIn { -webkit-transform: translateX(0); transform: translateX(0); } @media (min-width: 768px) { .repository .category { position: relative; top: auto; left: auto; right: auto; bottom: auto; -webkit-transform: translateX(0); transform: translateX(0); z-index: 1; } } .repository .category .total { padding: 50px 0 0 0; } @media (min-width: 768px) { .repository .category .total { padding: 130px 0 0 0; } } .repository .category .total p { color: #111; font-family: "Publico-Headline-Medium"; font-weight: lighter; margin-top: 5px; font-size: 24px; } .repository .category ul { margin: 0 -15px; margin-top: 30px; } @media (min-width: 768px) { .repository .category ul { margin-top: 65px; } } .repository .category ul li { margin: 15px 0; } .repository .category ul li a { display: inline-block; color: #666; padding: 10px 30px; font-size: 16px; border-left: 2px solid #eee; -webkit-transition: all .5s ease; transition: all .5s ease; } @media (min-width: 768px) { .repository .category ul li a { font-size: 14px; } } .repository .category ul li a:hover, .repository .category ul li a.active, .repository .category ul li a.cur { color: #ed4747; border-color: #ed4747; } .product-list { margin: 0 auto 60px; } @media (min-width: 768px) { .product-list { margin: 0 auto 100px; } } @media (min-width: 1200px) { .product-list { margin: 0 auto 120px; } } .product-list ul { margin-right: 0; } @media (min-width: 768px) { .product-list ul { margin-right: 30px; } } .product-list ul li { margin-top: 20px; } @media (min-width: 768px) { .product-list ul li { margin-top: 30px; } } .product-list ul li a { display: block; padding: 10px 10px 15px; -webkit-box-shadow: 0 4px 30px -4px rgba(0, 0, 0, 0.2); box-shadow: 0 4px 30px -4px rgba(0, 0, 0, 0.2); -webkit-transition: all .5s ease; transition: all .5s ease; border-top: 4px solid #fff; border-bottom: 4px solid #fff; } .product-list ul li a:after { content: ''; display: block; clear: both; } @media (min-width: 768px) { .product-list ul li a { padding: 10px; } } .product-list ul li a:hover, .product-list ul li a:active { border-top: 4px solid #ed4747; } .product-list ul li a:hover .img img, .product-list ul li a:active .img img { -webkit-transform: scale(1.05); transform: scale(1.05); } .product-list ul li .img { width: 100%; height: calc(100vw * (200 / 375)); margin-right: 20px; border: 1px solid #ebecee; overflow: hidden; } @media (min-width: 768px) { .product-list ul li .img { float: left; width: 200px; height: 150px; } } @media (min-width: 1200px) { .product-list ul li .img { width: 280px; height: 200px; } } .product-list ul li .img img { width: 100%; height: 100%; -webkit-transition: all .5s ease; transition: all .5s ease; } .product-list ul li .txt { padding-right: 20px; } .product-list ul li .txt h2 { color: #111; font-size: 18px; margin: 20px 0 10px; width: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; word-wrap: normal; } @media (min-width: 768px) { .product-list ul li .txt h2 { margin: 25px 0 20px; font-size: 24px; } } @media (min-width: 1200px) { .product-list ul li .txt h2 { font-size: 28px; } } .product-list ul li .txt p { color: #333; line-height: 1.8; font-size: 14px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } @media (min-width: 768px) { .product-list ul li .txt p { font-size: 16px; } }