index.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. /**
  2. @Name: layuiNetCompany - 大气风格的网络公司企业模版
  3. @Author: xuxingyu
  4. @Copyright: layui.com
  5. */
  6. body{background: #fff;}
  7. /** 首页 */
  8. /*导航部分*/
  9. .nav{width: 100%; height: 80px; box-shadow: 0 3px 3px 0 #CCC; background: #FFF; position: fixed; left: 0; top: 0; z-index: 999; overflow: hidden; transition: 0.3s}
  10. .nav.index{background: rgba(255, 255, 255 ,0.8); box-shadow: 0 0 0 0 rgba(0,0,0,0.05);}
  11. .nav.scroll{ background: #FFF; box-shadow: 0 3px 3px 0 rgba(0,0,0,0.05); transition: 0.3s}
  12. .nav .layui-container{position: relative; transition: all 400ms ease-out;}
  13. .nav .nav-logo{height: 100%; position: absolute; top: 0; left: 15px; line-height: 80px;}
  14. .nav .nav-list{display: inline-block; height: 80px;}
  15. .nav .nav-list button{width: 25px; height: 30px; position: absolute; top: 30px; right: 15px; background-color: transparent; border: none; outline: none; cursor: pointer;}
  16. .nav .nav-list button span{display: block; width: 25px; height: 2px; background: #2db5a3; margin-bottom: 6px; transition: 0.5s;}
  17. .nav .nav-list button span.spa1{transform: rotate(45deg);}
  18. .nav .nav-list button span.spa3{transform: rotate(-45deg) translate(5px,-5px);}
  19. .nav .layui-nav{width: 100%; position: absolute; top: 80px; right: 0; color: #000; background: transparent;}
  20. .nav .layui-nav .layui-nav-item{display: block; line-height: 60px;}
  21. .nav .layui-nav *{font-size: 18px;}
  22. .nav .layui-nav .layui-nav-item a{padding: 0 0; color: #000;}
  23. .nav .layui-nav-bar,
  24. .nav .layui-nav .layui-this:after{height: 2px; background-color: #2db5a3;}
  25. .nav .layui-nav .layui-this a
  26. ,.nav .layui-nav .layui-nav-item a:hover{color: #2db5a3;}
  27. /*轮播*/
  28. #banner {margin-top: 80px;}
  29. #banner img{min-width: 100%; }
  30. #banner .panel{width: 400px; position: absolute; top: 16%; left: 50%; margin-left: -200px; text-align: center;}
  31. #banner .panel p{color: #8c8c8c; font-size: 44px; line-height: 80px; letter-spacing: 15px;}
  32. #banner .panel p.title{color: #4a4a4a; font-size: 54px; letter-spacing: 10px;}
  33. /*主体—产品*/
  34. .main-product{padding-tops: 90px; padding-bottoms: 130px;}
  35. .main-product p{font-size: 16px; color: #ababab; line-height: 28px;}
  36. .main-product p.title
  37. ,.main-service p.title,.main-news p.title{color: #484848; font-size: 24px; text-align: center; line-height: 134px;}
  38. .main-product p.title span
  39. ,.main-service p.title span,.main-news p.title span{color: #2db5a3;}
  40. .main-product .content{border: 1px solid #DEDEDE; padding: 30px 36px 0 36px; text-align: center; transition: 0.3s;}
  41. .main-product .content p.label{font-size: 18px; color: #939393; line-height: 46px; padding-top: 6px;}
  42. .main-product .content a{font-size: 18px; color: #a1d8cb; line-height: 68px;}
  43. .main-product .content:hover{box-shadow: 0 0 3px 3px #EEE; transition: 0.3s;}
  44. .main-product .content img{transition: 2s;}
  45. .main-product .content img:hover{transform: rotateY(180deg);}
  46. /*主体-服务*/
  47. .main-service{background: #f8f8f8;}
  48. .main-service .content{position: relative;}
  49. .main-service .content .content-left{width: 50%;}
  50. .main-service .content .content-left img{width: 100%;}
  51. .main-service .content .content-right{box-sizing: border-box; background: #FFF; padding: 58px 40px 0 48px; width: 50%; height: 100%; position: absolute; top: 0; right: 0; transition: 0.3s; overflow: hidden;}
  52. .main-service .content .content-right p{color: #adadad; line-height: 32px; overflow: hidden; text-overflow: ellipsis;}
  53. .main-service .content .content-right p.label{font-size: 16px; color: #4a4a4a;}
  54. .main-service .content .content-right span{display: block; width: 50px; height: 2px; background: #2cb6a1; margin-bottom: 23px;}
  55. .main-service .content .content-right:hover{box-shadow: 2px 2px 2px #EEE; transition: 0.3s;}
  56. .main-service .service-more{padding-top: 80px; padding-bottom: 80px; text-align: center;}
  57. .main-service .service-more a{padding: 10px 62px; font-size: 23px; line-height: 46px;color: #FFF; background: #7fd3c6; border-radius: 3px;}
  58. /*底部*/
  59. .footer{padding-bottom: 70px; background: #5e6664;}
  60. .footer .footer-web{padding-top: 50px; padding-bottom: 63px;}
  61. .footer .footer-web a{color: #a5aaa9; line-height: 22px; margin-right: 20px; transition: 0.3s;}
  62. .footer .footer-web a:hover{color: #dce1e0; transition: 0.3s;}
  63. .footer .footer-contact{color: #fff;}
  64. .footer .footer-contact a{color: #a5aaa9;}
  65. .footer .footer-contact .contact-top{padding-top: 20px; line-height: 30px;}
  66. .footer .footer-contact .contact-bottom{line-height: 35px;}
  67. /** 产品 */
  68. .banner{height: 320px; margin-top: 80px;}
  69. .banner.product{background: url(../img/nav_img1.jpg) no-repeat center top; background-size: cover;}
  70. .main.product{padding: 30px 0 75px 0;}
  71. .main.product .content{padding: 50px 0; border-bottom: 1px solid #e8e8e8;}
  72. .main.product .content .content-img{text-align: center;}
  73. .main.product .content .content-img img{max-width: 100%;}
  74. .main.product .content .label{color: #565656; font-size: 30px; line-height: 78px; margin-top: 32px;}
  75. .main.product .content .detail{font-size: 16px; line-height: 28px; color: #d7d7d7; padding-bottom: 30px;}
  76. .main.product .content a{color: #a0d2cc; font-size: 16px; line-height: 38px; padding:10px 11px 10px 23px; border: 1px solid #a0d2cc; border-radius: 3px;}
  77. /** 动态 */
  78. .banner.news{background: url(../img/nav_img3.jpg) no-repeat center top; background-size: cover;}
  79. .banner .title{padding-top: 170px;}
  80. .banner .title.active{padding-top: 120px; transition: 1.5s;}
  81. .banner .title p{color: #606060; font-size: 36px; text-align: center; line-height: 50px; letter-spacing: 5px;}
  82. .banner .title p.en{font-size: 20px; letter-spacing: 3px;}
  83. .main-news{paddings: 70px 0 80px 0;}
  84. .main-news .content > div{padding-bottom: 40px; border-bottom: 1px dashed #eaeaea; position: relative;}
  85. .main-news .content .news-img{display: inline-block; width: 30%; vertical-align: top;}
  86. .main-news .content .news-img img{max-width: 90%;}
  87. .main-news .content .news-panel{display: inline-block; width: 70%; vertical-align: top; padding-left: 5px; box-sizing: border-box;}
  88. .main-news .content .news-panel strong a{display: block; color: #555; font-size: 18px; line-height: 26px; overflow: hidden; text-overflow:ellipsis; white-space: nowrap;}
  89. .main-news .content .news-panel p.detail{color: #777; line-height: 24px;}
  90. .main-news .content .news-panel p.read-push{color: #AAA; padding-top: 5px;}
  91. #newsPage .layui-laypage{display: block; text-align: center; margin-top: 70px;}
  92. #newsPage .layui-laypage a,#newsPage .layui-laypage span{font-size: 18px; line-height: 40px; height: 40px; margin-right: 20px; border-radius: 3px; color: #e3e3e3;}
  93. /*动态详情页*/
  94. .main-newsdate{margin-top: 80px; text-align: center;}
  95. .main-newsdate .news{text-align: left; line-height: 104px;}
  96. .main-newsdate h1{padding-top: 6px;}
  97. .main-newsdate .pushtime{color: #686868; font-size: 18px; line-height: 82px;}
  98. .main-newsdate .introTop{padding-bottom: 28px; font-size: 18px; line-height: 20px; text-align: left;}
  99. .main-newsdate .introBott{font-size: 18px; line-height: 42px; text-align: justify; padding: 40px 0 102px 0;}
  100. .main-newsdate img{max-width: 100%;}
  101. /** 案例 */
  102. .banner.case{background: url(../img/nav_img2.jpg) no-repeat center top; background-size: cover;}
  103. .main-case{padding: 30px 0 75px;}
  104. .main-case .content{width: 48%; text-align: center; padding-top: 120px; padding-bottom: 20px; border-bottom: 2px solid #c9c9c9;}
  105. .main-case .content.even{margin-left: 2%;}
  106. .main-case .content .case-img{border: 1px solid #e2e2e2; overflow: hidden;}
  107. .main-case .content .case-img img{width: 100%; transition: 2s;}
  108. .main-case .content .case-img img:hover{transform: scale(1.2,1.2); transition: 2s;}
  109. .main-case .content p.lable{padding-top: 13px; font-size: 30px; line-height: 76px;}
  110. .main-case .content p{font-size: 18px; line-height: 32px; color: #505050;}
  111. .main-case #casePage .layui-laypage{display: block; text-align: center; margin-top: 100px;}
  112. .main-case #casePage .layui-laypage a,.main-case #casePage .layui-laypage span{font-size: 18px; line-height: 40px; height: 40px; margin-right: 20px; border-radius: 3px; color: #e3e3e3;}
  113. /** 关于 */
  114. .banner.about{background: url(../img/nav_img4.jpg) no-repeat center top; background-size: cover;}
  115. .main-about{padding-bottom: 130px;}
  116. .main-about ul.aboutab{padding: 100px 0; text-align: center;}
  117. .main-about ul.aboutab li{display: inline-block; padding: 0 22px; margin-left: 15px; font-size: 20px; line-height: 46px; color: #b5b5b5; border: 1px solid #e2e2e2; border-radius: 3px; cursor: pointer;}
  118. .main-about ul.aboutab li:first-child{margin-left: 0;}
  119. .main-about ul.aboutab li.layui-this
  120. ,.main-about ul.aboutab li:hover{color: #2ab5a3; border-color: #afddd7; transition: 0.3s;}
  121. .main-about .tabJob, .main-about .tabCour{display: none;}
  122. /*公司简介*/
  123. .main-about .tabIntro{padding-bottom: 15px;}
  124. .main-about .tabIntro .content{vertical-align: middle;}
  125. .main-about .tabIntro .content .img{width: 50%;}
  126. .main-about .tabIntro .content .img img{width: 100%;}
  127. .main-about .tabIntro .content .panel{width: 50%;}
  128. .main-about .tabIntro .content p{padding: 0 20px; line-height: 24px; text-align: justify;}
  129. .main-about .tabIntro .p_hidden{padding: 0 20px; display: none;}
  130. /*招贤纳士*/
  131. .main-about .tabJob .content{padding: 0 0 40px 20px; border: 1px solid #e2e2e2; border-top: 4px solid #65d0c5; margin-top: 90px;}
  132. .main-about .tabJob .content:first-child{margin-top: 10px;}
  133. .main-about .tabJob .content p{font-size: 18px; line-height: 40px;}
  134. .main-about .tabJob .content p.title{font-size: 24px; color: #545454; line-height: 60px;}
  135. .main-about .tabJob .content ol{padding-left: 20px; list-style-type: none; counter-reset: sectioncounter;}
  136. .main-about .tabJob .content ol li{color: #8d8d8d; font-size: 16px; line-height: 30px;}
  137. .main-about .tabJob .content ol li:before {content: counter(sectioncounter) "、"; counter-increment: sectioncounter;}
  138. /*发展历程*/
  139. .main-about .tabCour p.title{font-size: 28px; line-height: 28px; text-align: center;}
  140. .main-about .tabCour .timeline{position: relative; margin-top: 75px;}
  141. .main-about .tabCour .timeline:before{position: absolute; top: 0; bottom: 0; content: ""; width: 2px; background-color: #e2e2e2; left: 50px;}
  142. .main-about .tabCour .timeline li{position: relative; padding-top: 70px;}
  143. .main-about .tabCour .timeline li:first-child{padding-top: 0;}
  144. .main-about .tabCour .timeline li .cour-img{position: absolute; left: 0; width: 100px; border-radius: 50%;}
  145. .main-about .tabCour .timeline li .cour-img img{width: 100%;}
  146. .main-about .tabCour .timeline li .cour-panel{padding-top: 20px; padding-left: 120px; text-align: left;}
  147. .main-about .tabCour .timeline li .cour-panel p.label{font-size: 18px; color: #000;}
  148. .main-about .tabCour .timeline li .cour-panel p{color: #949494; line-height: 30px;}
  149. @media screen and (max-width: 480px){
  150. .main-service .content .content-right{padding: 10px 10px 0 10px;}
  151. .main-service .content .content-right p{line-height: 24px;}
  152. .main-news .content .news-panel p.read-push{font-size: 12px;}
  153. .main-case .content{padding-top: 60px;}
  154. .main-case .content p.lable{padding-top: 10px; font-size: 18px; line-height: 48px;}
  155. .main-case .content p{font-size: 12px; line-height: 20px; color: #505050;}
  156. .main-about ul.aboutab{padding: 70px 0;}
  157. .main-about ul.aboutab li{padding: 0 15px; font-size: 16px; box-sizing: border-box;}
  158. .main-about .tabIntro .content .img{width: 100%;}
  159. .main-about .tabIntro .content .panel{width: 100%;}
  160. .main-about .tabIntro .content .panel.p_block{display: none;}
  161. .main-about .tabIntro .p_hidden{display: block;}
  162. #newsPage .layui-laypage a,#newsPage .layui-laypage span
  163. ,#casePage .layui-laypage a,#casePage .layui-laypage span{padding: 0 12px; font-size: 14px; line-height: 30px; height: 30px; margin-right: 4px;}
  164. }
  165. /*小屏幕*/
  166. @media screen and (min-width: 768px){
  167. .nav{max-height: 80px;}
  168. .nav.index{background: rgba(255, 255, 255 ,0.3);}
  169. .nav .nav-list button{display: none;}
  170. .nav .layui-nav{width: auto; position: absolute; top: 0; padding: 0 5px; border-radius: 0; margin: 0;}
  171. .nav .layui-nav .layui-nav-item{display: inline-block; margin:0 53px; line-height: 80px;}
  172. .main-product p.title
  173. ,.main-service p.title,.main-news p.title{font-size: 36px; line-height: 134px;}
  174. .main.product .content .content-img{text-align: left;}
  175. .main-news .content .news-panel strong a{font-size: 20px; line-height: 30px;}
  176. .main-news .content .news-panel p.read-push{padding-top: 0; position: absolute; bottom: 40px;}
  177. .main-newsdate .pushtime{line-height: 142px;}
  178. .main-case .content{width: 45%;}
  179. .main-case .content.even{margin-left: 9%;}
  180. .main-about ul.aboutab li{padding: 0 32px; font-size: 24px; margin-left: 30px; line-height: 50px;}
  181. .main-about .tabIntro .content p{padding: 0 30px; font-size: 18px; line-height: 30px;}
  182. .main-about .tabJob .content p{font-size: 24px; line-height: 50px;}
  183. .main-about .tabJob .content p.title{font-size: 30px; line-height: 90px;}
  184. .main-about .tabJob .content ol li{font-size: 20px; line-height: 60px;}
  185. .main-about .tabCour .timeline:before{left: 50%;}
  186. .main-about .tabCour .timeline li{min-height: 195px; padding-top: 95px;}
  187. .main-about .tabCour .timeline li .cour-img{left: 50%; margin-left: -97.5px; width: 195px;}
  188. .main-about .tabCour .timeline li .cour-panel{padding-top: 55px; padding-left: 0;}
  189. .main-about .tabCour .timeline li.odd .cour-panel{text-align: right;}
  190. }
  191. @media screen and (min-width: 768px) and (max-width: 992px){
  192. .main.product .content div.right{padding-left: 20px;}
  193. .nav .layui-nav .layui-nav-item{margin:0 33px;}
  194. .main-service .content .content-right{padding: 10px 10px 0 15px;}
  195. .main-service .content .content-right span{margin-bottom: 20px;}
  196. .main-service .content .content-right p{line-height: 28px;}
  197. .main.product .content .label{line-height: 40px; margin-top: 0;}
  198. .main.product .content .detail{padding-bottom: 10px;}
  199. }
  200. /*大屏幕*/
  201. @media screen and (min-width: 992px){
  202. .main.product .content{padding: 100px 0;}
  203. .main.product .content div.right{padding-left: 0;}
  204. .main-news .content .news-img{width: 20%;}
  205. .main-news .content .news-panel{width: 80%;}
  206. .main-case .content{width: 31%;}
  207. .main-case .content.even{margin-left: 0;}
  208. .main-case .content.center{margin-right: 3%; margin-left: 3%;}
  209. .main-about .tabIntro .content p{padding: 0 50px; font-size: 20px; line-height: 40px;}
  210. }
  211. /*超大屏幕*/
  212. @media screen and (min-width: 1200px) {
  213. .main-news .content .news-img{width: 35%;}
  214. .main-news .content .news-panel{width: 65%;}
  215. .main-news .content:nth-child(odd){padding-right: 20px;}
  216. .main-news .content:nth-child(even){padding-left: 20px;}
  217. .main-about .tabCour .timeline li .cour-panel{padding-left: 50px;}
  218. .main-about .tabCour .timeline li.odd .cour-panel{padding-left: 0; padding-right: 50px;}
  219. }
  220. @media screen and (min-width: 1300px) {
  221. .layui-container{width: 1200px; padding: 0;}
  222. .main-about .tabJob .content:last-child{margin-bottom: 180px;}
  223. .nav .nav-logo{position: absolute; top: 0; left: 0;}
  224. .layui-col-space80{margin: -40px;}
  225. .layui-col-space80>*{padding: 40px;}
  226. }
  227. .layui-col-space25,.layui-col-space80
  228. {
  229. margin:0px;
  230. }
  231. .layui-laypage li
  232. {
  233. display: inline;
  234. }
  235. .layui-laypage .item
  236. {
  237. background-color: #ffffff;
  238. }
  239. .layui-laypage .active
  240. {
  241. background-color: #009688;
  242. }