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.

227 regels
3.9 KiB

3 jaren geleden
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. -webkit-appearance: none; /*去掉浏览器默认样式*/
  5. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  6. -webkit-touch-callout: none;
  7. box-sizing: border-box;
  8. }
  9. body,.body {
  10. -webkit-text-size-adjust: 100%; /*关闭自动调整字体*/
  11. -webkit-overflow-scrolling: touch;
  12. overflow-scrolling: touch;
  13. }
  14. /*pad*/
  15. img{
  16. max-width:100%;
  17. }
  18. input[type="submit"], input[type="reset"], input[type="button"], button { -webkit-appearance: none; /*去掉苹果的默认UI来渲染按钮*/}
  19. @media only screen and (max-width:1480px) {
  20. .wrapper{
  21. width: 1240px;
  22. }
  23. .hbanner .wrapper{
  24. background-size: 650px auto;
  25. }
  26. .hrow .txt h2{
  27. font-size: 36px;
  28. }
  29. .hrow .txt p{
  30. font-size: 18px;
  31. }
  32. }
  33. /* 电脑小屏--md */
  34. @media screen and (max-width:1200px){
  35. .wrapper{
  36. width: 1170px;
  37. }
  38. /*价格*/
  39. .mprice-main .wrapper{
  40. padding-left: 150px;
  41. position: relative;
  42. margin-right: 20px;
  43. }
  44. .mprice-main{
  45. background-size: cover;
  46. padding-bottom: 40px;
  47. padding-top: 100px;
  48. }
  49. .mprice-main .itemwrap{
  50. white-space: nowrap;
  51. overflow-x: scroll;
  52. padding-top: 80px;
  53. }
  54. .mprice-main .item{
  55. float: none; display: inline-block;
  56. vertical-align: top;
  57. width: 200px;
  58. }
  59. .mprice-main .item ul.tit{
  60. padding-left: 20px;
  61. }
  62. .mprice-main .itemtit{
  63. position: absolute; left: 0; top: 0;
  64. }
  65. .mprice-main .item .btn a{
  66. width: 120px; height: 45px; line-height: 45px; font-size: 14px;
  67. }
  68. .mprice-explain{
  69. padding: 60px 0;
  70. }
  71. .mprice-explain .wrapper{
  72. padding: 0 20px;
  73. }
  74. }
  75. /* 平板--sm */
  76. @media screen and (max-width:992px) {
  77. .gh{
  78. display: block;
  79. }
  80. .gh+ .nav{
  81. height: auto;
  82. background: #fff;
  83. overflow: hidden;
  84. transition: 0.4s;
  85. padding: 0; max-height: 0;
  86. margin-right: 0;
  87. float: none;
  88. width: 100%;
  89. text-align: center;
  90. }
  91. .header .nav ul{
  92. padding: 20px 0;
  93. }
  94. .header .nav li{
  95. display: block;
  96. margin-left: 0;
  97. }
  98. .nav a{
  99. color: #000; display: block; padding: 10px 0;
  100. }
  101. .header{
  102. /*margin-top: 20px;*/
  103. padding-top: 20px;
  104. }
  105. .header .logo{
  106. margin-left: 20px;
  107. }
  108. .wrapper{
  109. width: auto;
  110. }
  111. .hbanner .wrapper{
  112. background-size: 300px auto;
  113. background-position: center 100px;
  114. padding-top: 400px;
  115. height: auto;
  116. padding-bottom: 100px;
  117. }
  118. .hbanner-txt .btns a{
  119. width:auto; min-width: 120px; height: 45px; line-height: 45px;
  120. }
  121. .hbanner-txt{
  122. padding-left: 40px;
  123. /*text-align: center;*/
  124. }
  125. .hbanner-txt h2{
  126. font-size: 24px;
  127. }
  128. .hbanner-txt .list li{
  129. margin-bottom: 15px;
  130. }
  131. .hrow .img{
  132. width: auto; float: none; text-align: center;
  133. padding-top: 0;
  134. }
  135. .hrow{
  136. height: auto !important;
  137. padding-bottom: 100px;
  138. padding-top: 100px;
  139. }
  140. .hrow .txt{
  141. width: auto; float: none; padding-top: 40px;
  142. }
  143. .hrow .img>img{
  144. max-width: 220px;
  145. }
  146. .hrow .txt h2{
  147. font-size: 24px; margin-bottom: 20px;
  148. }
  149. .hrow .txt p{
  150. font-size: 14px; padding-bottom: 10px;
  151. }
  152. .hfoot{
  153. padding-top: 100px;
  154. height: auto;
  155. padding-bottom: 120px;
  156. background-size: cover;
  157. }
  158. .hfoot h2{
  159. font-size: 24px;
  160. }
  161. .hfoot h2 br{
  162. display: block;
  163. }
  164. .hfoot .btn{
  165. width:auto; min-width: 120px; height: 45px; line-height: 45px;
  166. }
  167. /*下载*/
  168. .downpage{
  169. width: auto; margin-left: 20px; margin-right: 20px;
  170. margin-top: 100px;
  171. margin-bottom: 100px;
  172. }
  173. .downlist{
  174. padding: 40px 0;
  175. }
  176. .downlist .body{
  177. margin-top: 40px;
  178. }
  179. .downlist .body li{
  180. display: block; margin-bottom: 40px;
  181. }
  182. .downlist .body .btn a{
  183. width: auto; min-width: 120px; height: 45px; line-height: 45px; font-size: 14px;
  184. }
  185. /*注册*/
  186. .form-box{
  187. width: auto; margin-left: 20px; margin-right: 20px;
  188. margin-top: 150px;
  189. margin-bottom: 100px;
  190. }
  191. .form{
  192. padding: 20px;
  193. padding-top: 70px;
  194. }
  195. .form-btns button{
  196. height: 45px; line-height: 45px; font-size: 14px;
  197. }
  198. .form-list .text{
  199. height: 45px;
  200. }
  201. .form-list .textcode + img{
  202. height: 45px; width: 100px;
  203. }
  204. /*价格*/
  205. }
  206. @media screen and (max-width:768px){
  207. /*.wrapper{
  208. width: 750px;
  209. }*/
  210. }