@charset "utf-8"; /* CSS Document */ /*-----------------------for PC and Mobile both-----------------------*/ #indexService ul li.serviceImport { background-image: url(../images/serviceImport.svg); } #indexService ul li.serviceExport { background-image: url(../images/serviceExport.svg); } #indexService ul li.serviceArt { background-image: url(../images/serviceArt.svg); } #indexService ul li.serviceExpo { background-image: url(../images/serviceExpo.svg); } #indexService ul li.serviceEarth { background-image: url(../images/serviceEarth.svg); } #indexService ul li.serviceBox { background-image: url(../images/serviceBox.svg); } #indexService ul li.serviceMoney { background-image: url(../images/serviceMoney.svg); } #indexService ul li.serviceList { background-image: url(../images/serviceList.svg); } #tab1 { background-image: url(../images/case/17-1.jpg); } #tab2 { background-image: url(../images/case/17-6.jpg); } #tab3 { background-image: url(../images/case/17-9.jpg); } #tab4 { background-image: url(../images/case/17-10.jpg); } /*-----------------------ANI-----------------------*/ @keyframes leftFlyIn { 0% { left: -70%; } 40% { left: -70%; } 100% { left: 0; } } @keyframes rightFlyIn { 0% { right: -50%; } 40% { right: -50%; } 100% { right: 0; } } @keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } /*-----------------------for PC-----------------------*/ @media screen and (min-width:801px) { /*-------------banner--------------------*/ #banner { position: relative; opacity: 0; animation: fadeIn 1.5s ease; animation-fill-mode: forwards; margin-top: 130px; } .bannerslide li { width: 100%; } /*-----------------indexService--------------------*/ #indexServiceWrapper { width: 100%; background-color: #f5f5f5; background-repeat: no-repeat; background-position: center center; background-size: cover; background-image: url(../images/map.png); } #indexService, #indexCase { width: 80%; margin: 0 auto; min-width: 1024px; max-width: 1440px; padding: 50px 0; } .indexServiceLeft { width: 60%; float: left; opacity: 0; } .indexServiceRight { width: 40%; float: right; opacity: 0; } #indexService h3 { margin-bottom: 15px; text-align: center; font-size: 19px; } #indexService ul { text-align: center; } #indexService ul li { display: inline-block; padding-top: 110px; background-repeat: no-repeat; background-position: top center; background-size: auto 100px; -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } #indexService ul li:hover { background-size: auto 105px; -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } #indexService ul li:hover { cursor: pointer; } .indexServiceLeft ul li { width: 32%; } .indexServiceRight ul li { width: 49%; } /*------------indexCase--------------*/ .indexCaseLeft { width: 30%; float: left; opacity: 0; } .indexCaseRight { width: 70%; float: right; opacity: 0; } /*--------------tab-----------------*/ #tabsNav { -webkit-overflow-scrolling: touch; border-top: 1px solid #e0e0e0; } #tabsNav li a { display: block; color: #333; height: 80px; line-height: 80px; font-size: 21px; text-decoration: none; border-bottom: 1px solid #e0e0e0; padding-left: 50px; background-repeat: no-repeat; background-position: center left 10px; background-size: 25px 25px; } #tabsNav li.active a, #tabsNav li.active a:hover { background-color: #EC681E; color: #fff; border-color: #EC681E; } #tabsNav li a:hover { color: #EC681E; } #tabsNav li:nth-child(1) a { background-image: url(../images/tabTaiwan.svg); } #tabsNav li:nth-child(2) a { background-image: url(../images/tabOversea.svg); } #tabsNav li:nth-child(3) a { background-image: url(../images/tabArt.svg); } #tabsNav li:nth-child(4) a { background-image: url(../images/tabCust.svg); } #tabsNav li.active:nth-child(1) a { background-image: url(../images/tabTaiwanW.svg); } #tabsNav li.active:nth-child(2) a { background-image: url(../images/tabOverseaW.svg); } #tabsNav li.active:nth-child(3) a { background-image: url(../images/tabArtW.svg); } #tabsNav li.active:nth-child(4) a { background-image: url(../images/tabCustW.svg); } .tab_content { background-repeat: no-repeat; background-position: center center; background-size: cover; width: 100%; height: 395px; position: relative; } .tab_content div { position: absolute; bottom: 0; left: 0; width: 45%; height: 320px; padding: 25px; background: linear-gradient(to right, rgba(236,104,30,1), rgba(236,104,30,0.6)); color: #fff; } .tab_content a { color: #fff; } /*-----------serviceLink------------*/ .serviceLink { opacity: 0; } .serviceLink li { width: 32%; float: left; margin-right: 2%; background-repeat: no-repeat; background-position: center center; background-size: cover; height: 350px; position: relative; overflow: hidden; } .serviceLink li:nth-child(2) { background-image: url(../images/inner/news1.jpg); } .serviceLink li:nth-child(3) { margin-right: 0; background-image: url(../images/inner/news2.jpg); } .serviceLink li a { width: 100%; height: 350px; display: block; position: absolute; left: 0; top: 0; } .serviceLink li a b { position: absolute; left: 0; bottom: 0; background: #ffa300; width: 100%; padding: 20px; -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } .serviceLink li a:hover b { padding: 40px 20px; -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; } /*ani*/ .leftFlyIn { position: relative; animation: leftFlyIn 0.8s ease; opacity: 1; } .rightFlyIn { position: relative; animation: rightFlyIn 0.8s ease; opacity: 1; } .fadeIn { animation: fadeIn 1.2s ease; opacity: 1; } } /*------------------for mobile------------------------*/ @media screen and (max-width:800px) { /*-----------------banner-----------------*/ #banner { margin-top: 70px; } /*-----------------indexService--------------------*/ #indexServiceWrapper { background-color: #eee; padding: 20px 15px; background-repeat: no-repeat; background-position: center center; background-size: cover; background-image: url(../images/map.png); } #indexService h3 { margin-bottom: 15px; text-align: center; font-size: 13px; font-weight: normal; } #indexService ul { text-align: center; } #indexService ul li { display: inline-block; padding-top: 100px; background-repeat: no-repeat; background-position: top center; background-size: 70% 70%; width: 32%; } #indexService ul li:hover { cursor: pointer; } /*date nav*/ #tabsNav { overflow: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; margin: 0 -15px 20px -15px; } #tabsNav li { display: inline-block; } #tabsNav li a { display: block; border-top: 4px solid #ccc; text-decoration: none; color: #888; text-align: center; padding: 10px 15px; background: #f5f5f5; font-size: 13px; } #tabsNav li.active a { border-top: 4px solid #f60; color: #F60; background: #FFF; font-size: 15px; } #tabsNav li a:hover { color: #333; border-top: 4px solid #F60; } .tab_content { background-repeat: no-repeat; background-position: center center; background-size: cover; } .tab_content div { padding: 25px; background: linear-gradient(to right, rgba(236,104,30,1), rgba(236,104,30,0.6)); color: #fff; } .tab_content a { color: #fff; } /*------------indexCase--------------*/ #indexCase { padding: 20px 15px; } /*-----------serviceLink------------*/ .serviceLink li { margin-bottom: 20px; background-repeat: no-repeat; background-position: center center; background-size: cover; position: relative; overflow: hidden; width: 100%; height: 240px; } .serviceLink li:nth-child(2) { background-image: url(../images/inner/news1.jpg); } .serviceLink li:nth-child(3) { margin-bottom: 0; background-image: url(../images/inner/news2.jpg); } .serviceLink li a { display: block; width: 100%; height: 240px; position: absolute; left: 0; top: 0; } .serviceLink li a b { position: absolute; left: 0; bottom: 0; background: #ffa300; width: 100%; padding: 20px; } .serviceLink li a h1.indexTitle { color: #fff; } .serviceLink li a h1.indexTitle em { border-bottom: 1px solid #fff; } }