index.css 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. /* 禁用iPhone中Safari的字号自动调整 */
  2. html {
  3. -webkit-text-size-adjust: 100%;
  4. -ms-text-size-adjust: 100%;
  5. /* 解决IOS默认滑动很卡的情况 */
  6. -webkit-overflow-scrolling: touch;
  7. }
  8. /* 禁止缩放表单 */
  9. input[type="submit"],
  10. input[type="reset"],
  11. input[type="button"],
  12. input {
  13. resize: none;
  14. border: none;
  15. }
  16. /* 取消链接高亮 */
  17. body,
  18. div,
  19. ul,
  20. li,
  21. ol,
  22. h1,
  23. h2,
  24. h3,
  25. h4,
  26. h5,
  27. h6,
  28. input,
  29. p,
  30. a,
  31. img,
  32. button,
  33. form,
  34. table,
  35. th,
  36. tr,
  37. td,
  38. section {
  39. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  40. }
  41. /* 设置HTML5元素为块 */
  42. article,
  43. aside,
  44. details,
  45. figcaption,
  46. figure,
  47. footer,
  48. header,
  49. hgroup,
  50. menu,
  51. nav,
  52. section {
  53. display: block;
  54. }
  55. /* 图片自适应 */
  56. img {
  57. width: 100%;
  58. height: auto;
  59. width: auto\9;
  60. /* ie8 */
  61. display: block;
  62. -ms-interpolation-mode: bicubic;
  63. /*为了照顾ie图片缩放失真*/
  64. }
  65. /* 初始化 */
  66. body,
  67. div,
  68. ul,
  69. li,
  70. ol,
  71. h1,
  72. h2,
  73. h3,
  74. h4,
  75. h5,
  76. h6,
  77. input,
  78. textarea,
  79. select,
  80. p,
  81. dl,
  82. dt,
  83. dd,
  84. a,
  85. img,
  86. button,
  87. form,
  88. table,
  89. th,
  90. tr,
  91. td,
  92. tbody,
  93. article,
  94. aside,
  95. details,
  96. figcaption,
  97. figure,
  98. footer,
  99. header,
  100. hgroup,
  101. menu,
  102. nav,
  103. section {
  104. margin: 0;
  105. padding: 0;
  106. }
  107. body {
  108. font: 12px/1.5 'Microsoft YaHei', '宋体', Tahoma, Arial, sans-serif;
  109. color: #555;
  110. background-color: #F7F7F7;
  111. }
  112. em,
  113. i {
  114. font-style: normal;
  115. }
  116. ul,
  117. li {
  118. list-style-type: none;
  119. }
  120. strong {
  121. font-weight: normal;
  122. }
  123. .clearfix:after {
  124. content: "";
  125. display: block;
  126. visibility: hidden;
  127. height: 0;
  128. clear: both;
  129. }
  130. .clearfix {
  131. zoom: 1;
  132. }
  133. a {
  134. text-decoration: none;
  135. color: #969696;
  136. font-family: 'Microsoft YaHei', Tahoma, Arial, sans-serif;
  137. }
  138. a:hover {
  139. text-decoration: none;
  140. }
  141. ul,
  142. ol {
  143. list-style: none;
  144. }
  145. h1,
  146. h2,
  147. h3,
  148. h4,
  149. h5,
  150. h6 {
  151. font-size: 100%;
  152. font-family: 'Microsoft YaHei';
  153. }
  154. img {
  155. border: none;
  156. }
  157. input {
  158. font-family: 'Microsoft YaHei';
  159. }
  160. /* 移动端点击a链接出现蓝色背景问题解决 */
  161. a:link,
  162. a:active,
  163. a:visited,
  164. a:hover {
  165. background: none;
  166. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  167. -webkit-tap-highlight-color: transparent;
  168. }
  169. .fl {
  170. float: left;
  171. }
  172. .fr {
  173. float: right;
  174. }
  175. .mt10 {
  176. margin-top: 10px;
  177. }
  178. #app {
  179. width: 100%;
  180. }
  181. .top-head {
  182. font-size: 18px;
  183. padding: 10px;
  184. text-align: center;
  185. }
  186. .top-head img {
  187. width: 160px;
  188. height: 60px;
  189. margin: 0 auto;
  190. }
  191. .section .section-title {
  192. font-size: 16px;
  193. padding: 10px 15px;
  194. color: rgba(69, 90, 100, 0.6);
  195. }
  196. @media (min-width: 1366px) {
  197. .section {
  198. width: 50%;
  199. margin: 0 auto;
  200. }
  201. }
  202. @media (min-width: 1440px) {
  203. .section {
  204. width: 50%;
  205. margin: 0 auto;
  206. }
  207. }
  208. @media (min-width: 1680px) {
  209. .task-tips {
  210. width: 50%;
  211. margin: 0 auto;
  212. }
  213. }
  214. @media (min-width: 1920px) {
  215. .task-tips {
  216. width: 50%;
  217. margin: 0 auto;
  218. }
  219. }
  220. #success {
  221. width: 100%;
  222. margin: 100px auto;
  223. text-align: center;
  224. font-size: 24px;
  225. color: #333;
  226. }
  227. #success p {
  228. margin-top: 20px;
  229. }