You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

208 lines
3.8 KiB

2 years ago
  1. @charset "utf-8";
  2. /* CSS Document */
  3. /*-----------------------for PC and Mobile both-----------------------*/
  4. #tabsNav {
  5. overflow: auto;
  6. -webkit-overflow-scrolling: touch;
  7. white-space: nowrap;
  8. }
  9. #tabsNav li:first-child {
  10. margin: 0;
  11. z-index: 4;
  12. }
  13. #tabsNav li:nth-child(2) {
  14. z-index: 3;
  15. }
  16. #tabsNav li:nth-child(3) {
  17. z-index: 2;
  18. }
  19. #tabsNav li:last-child(3) {
  20. z-index: 1;
  21. }
  22. /*------------------case detail------------------------*/
  23. .detailImg {
  24. position: relative;
  25. }
  26. .detailImg h5 {
  27. width: 100%;
  28. height: 0;
  29. padding-bottom:25%;
  30. background-image: url(../images/caseBG.png);
  31. background-repeat: no-repeat;
  32. background-position: left top;
  33. background-size: cover;
  34. position: absolute;
  35. bottom: 0;
  36. }
  37. .caseThumb{
  38. width: 100%;
  39. height: 0;
  40. padding-bottom:45%;
  41. }
  42. /*-----------------------for PC-----------------------*/
  43. @media screen and (min-width:801px) {
  44. .imgLeft {
  45. float: left;
  46. margin-right: 20px;
  47. width: 300px;
  48. }
  49. .imgRight {
  50. float: right;
  51. margin-left: 20px;
  52. width: 300px;
  53. }
  54. /*------------------case detail------------------------*/
  55. .detailImg {
  56. margin-bottom:-70px;
  57. }
  58. .detailImg h1 {
  59. left:80px;
  60. bottom:25%;
  61. position: absolute;
  62. }
  63. .detailText {
  64. position: relative;
  65. z-index:10000;
  66. padding:0 150px 30px 150px;
  67. font-size:16px;
  68. }
  69. /*--------------tab-----------------*/
  70. #tabsNav li {
  71. float: left;
  72. width: 25%;
  73. margin-left: -15px;
  74. position: relative;
  75. }
  76. #tabsNav li a {
  77. display: block;
  78. text-decoration: none;
  79. color: #888;
  80. text-align: center;
  81. font-size: 17px;
  82. padding: 10px 30px;
  83. background-image: url(../images/tab.png);
  84. background-repeat: no-repeat;
  85. background-position: left top;
  86. background-size: 100% auto;
  87. background-color: transparent;
  88. }
  89. #tabsNav li.active a, #tabsNav li a:hover {
  90. color: #EC681E;
  91. background-image: url(../images/tabSele.png);
  92. }
  93. /*--------------caseList-------------*/
  94. .caseList li {
  95. position: relative;
  96. margin-bottom: 40px;
  97. }
  98. .caseList li:last-child {
  99. margin-bottom: 0;
  100. }
  101. .caseList li div.caseLeft {
  102. width: 30%;
  103. float: left;
  104. }
  105. .caseList li div.caseRight {
  106. width: 67%;
  107. position: absolute;
  108. right: 0;
  109. bottom: 0;
  110. }
  111. .orangeLine {
  112. height: 1px;
  113. line-height: 1px;
  114. border-bottom: 1px solid #EC681E;
  115. margin: 20px 0 20px -4%;
  116. }
  117. .caseList li:nth-child(even) div.caseLeft {
  118. float: right;
  119. }
  120. .caseList li:nth-child(even) div.caseRight {
  121. left: 0;
  122. }
  123. .caseList li:nth-child(even) .orangeLine {
  124. margin: 20px -4% 20px 0;
  125. }
  126. /*---------------video-----------------*/
  127. .video {
  128. width: 100%;
  129. height: 320px;
  130. }
  131. .forVideo li div.caseLeft {
  132. width: 45%;
  133. }
  134. .forVideo li div.caseRight {
  135. width: 52%;
  136. }
  137. }
  138. /*------------------for mobile------------------------*/
  139. @media screen and (max-width:800px) {
  140. .imgLeft, .imgRight {
  141. margin-bottom: 20px;
  142. width: 100%;
  143. }
  144. /*--------------tab-----------------*/
  145. #tabsNav li {
  146. float: left;
  147. width: 26%;
  148. margin-left: -8px;
  149. position: relative;
  150. }
  151. #tabsNav li a {
  152. display: block;
  153. text-decoration: none;
  154. color: #888;
  155. text-align: center;
  156. padding: 10px 0;
  157. background-image: url(../images/tab_m.png);
  158. background-repeat: no-repeat;
  159. background-position: left top;
  160. background-size: 100% 100%;
  161. background-color: transparent;
  162. }
  163. #tabsNav li a span {
  164. display: none;
  165. }
  166. #tabsNav li.active a, #tabsNav li a:hover {
  167. color: #EC681E;
  168. background-image: url(../images/tabSele_m.png);
  169. }
  170. /*--------------caseList-------------*/
  171. .caseList li {
  172. margin: 0 -15px 20px -15px;
  173. padding: 0 15px 20px 15px;
  174. border-bottom: 1px solid #e0e0e0;
  175. box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.1);
  176. }
  177. .caseList li:last-child {
  178. margin-bottom: 0;
  179. padding-bottom: 0;
  180. border-bottom: 0;
  181. box-shadow: none;
  182. }
  183. .caseList li div.caseLeft {
  184. margin-bottom: 15px;
  185. }
  186. .orangeLine {
  187. height: 1px;
  188. line-height: 1px;
  189. border-bottom: 1px solid #EC681E;
  190. margin: 10px 0;
  191. }
  192. /*---------------video-----------------*/
  193. .video {
  194. width: 100%;
  195. height: 260px;
  196. }
  197. .detailImg h1 {
  198. left:20px;
  199. bottom:8%;
  200. position: absolute;
  201. }
  202. .detailText {
  203. padding:20px;
  204. }
  205. }