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.

223 lines
5.0 KiB

2 years ago
  1. @charset "utf-8";
  2. /* CSS Document */
  3. /*-----------------------for PC and Mobile both-----------------------*/
  4. #indexService ul li:first-of-type {
  5. background-image: url(../images/serviceImport.svg);
  6. }
  7. #indexService ul li:nth-child(2) {
  8. background-image: url(../images/serviceExport.svg);
  9. }
  10. #indexService ul li:nth-child(3) {
  11. background-image: url(../images/serviceArt.svg);
  12. }
  13. #indexService ul li:nth-child(4) {
  14. background-image: url(../images/serviceExpo.svg);
  15. }
  16. #indexService ul li:nth-child(5) {
  17. background-image: url(../images/serviceEarth.svg);
  18. }
  19. /*----gallery-----*/
  20. .indexGallery li a {
  21. display: block;
  22. position: relative;
  23. }
  24. .indexGallery li a p {
  25. width: 100%;
  26. padding: 5px 10px;
  27. position: absolute;
  28. left: 0;
  29. bottom: 0;
  30. background: rgba(0,0,0,0.6);
  31. color: #FFF;
  32. text-align: center;
  33. }
  34. .rectThumb {
  35. width: 100%;
  36. height: 0;
  37. padding-bottom: 66%;
  38. }
  39. /*-----------------------for PC-----------------------*/
  40. @media screen and (min-width:801px) {
  41. /*-------------banner--------------------*/
  42. #bannerWrapper {
  43. width: 80%;
  44. margin: 0 auto;
  45. }
  46. /*-----------------indexService--------------------*/
  47. #indexService h1, #indexExpo h1, #indexVideo h1 {
  48. font-size: 27px;
  49. background: #f26529;
  50. padding: 7px 0;
  51. color: #fff;
  52. text-align: center;
  53. font-weight: normal;
  54. border-radius: 5px;
  55. }
  56. #indexService {
  57. width: 80%;
  58. margin: 15px auto;
  59. min-width: 1024px;
  60. max-width: 1440px;
  61. background: #FFF;
  62. padding: 25px;
  63. }
  64. #indexService h3 {
  65. margin-bottom: 15px;
  66. color: #333;
  67. text-align: center;
  68. }
  69. #indexService ul li {
  70. float: left;
  71. display: block;
  72. width: 18.4%;
  73. margin-right: 2%;
  74. padding-top: 130px;
  75. background-repeat: no-repeat;
  76. background-position: top center;
  77. background-size: auto 110px;
  78. }
  79. #indexService ul li:hover {
  80. cursor: pointer;
  81. }
  82. #indexService ul li a h3 {
  83. width: 100%;
  84. display: block;
  85. text-decoration: none;
  86. }
  87. #indexService ul li:nth-child(5) {
  88. margin-right: 0;
  89. }
  90. /*-----------------indexVideo--------------------*/
  91. #indexVideo {
  92. width: 80%;
  93. margin: 15px auto;
  94. min-width: 1024px;
  95. max-width: 1440px;
  96. background: #FFF;
  97. padding: 25px;
  98. }
  99. .indexVideoLeft {
  100. width: 49%;
  101. float: left;
  102. }
  103. .indexVideoRight {
  104. width: 47%;
  105. float: right;
  106. }
  107. .video {
  108. height: 300px;
  109. }
  110. /*-----------------indexexpo--------------------*/
  111. #indexExpo {
  112. width: 80%;
  113. margin: 0 auto 15px auto;
  114. min-width: 1024px;
  115. max-width: 1440px;
  116. background: #FFF;
  117. padding: 25px;
  118. }
  119. .indexbanner {
  120. position: relative;
  121. }
  122. }
  123. /*------------------for mobile------------------------*/
  124. @media screen and (max-width:800px) {
  125. /*-----------------banner-----------------*/
  126. #bannerWrapper {
  127. width: 100%;
  128. margin-top: 65px;
  129. }
  130. #banner {
  131. z-index: 0;
  132. position: relative;
  133. }
  134. /*---------------search---------------------*/
  135. #search {
  136. background-color: rgba(0,0,0,0.5);
  137. padding: 20px;
  138. color: #fff;
  139. }
  140. /*-----------------general-----------------*/
  141. article {
  142. width: 100%;
  143. }
  144. /*-----------------indexService--------------------*/
  145. #indexService h1, #indexExpo h1, #indexVideo h1 {
  146. background: #f26529;
  147. padding: 6px 0;
  148. color: #fff;
  149. text-align: center;
  150. font-weight: normal;
  151. border-radius: 5px;
  152. }
  153. #indexService {
  154. padding: 20px 10px 0 10px;
  155. }
  156. #indexService ul li {
  157. display: block;
  158. background-repeat: no-repeat;
  159. background-position: left center;
  160. background-size: 50px 50px;
  161. height: 50px;
  162. padding-left: 60px;
  163. margin-bottom: 10px;
  164. width: 50%;
  165. float: left;
  166. }
  167. #indexService ul li h3 {
  168. color: #333;
  169. font-size: 15px;
  170. font-weight: normal;
  171. /*垂直誌中*/
  172. height: 50px;
  173. display: flex;
  174. justify-content: center;
  175. flex-direction: column;
  176. }
  177. #indexService ul li:last-child {
  178. margin-bottom: 0;
  179. }
  180. /*-----------------indexexpo--------------------*/
  181. #indexVideo {
  182. padding: 20px 10px;
  183. }
  184. .indexVideoLeft {
  185. margin-top: 20px;
  186. }
  187. .video {
  188. height: 240px;
  189. }
  190. /*-----------------indexexpo--------------------*/
  191. #indexExpo {
  192. padding: 0 10px 20px 10px;
  193. }
  194. .indexbanner {
  195. position: relative;
  196. }
  197. }