utils.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. @charset "utf-8";
  2. * {
  3. word-wrap: break-word
  4. }
  5. html,
  6. body,
  7. h1,
  8. h2,
  9. h3,
  10. h4,
  11. h5,
  12. h6,
  13. hr,
  14. p,
  15. iframe,
  16. dl,
  17. dt,
  18. dd,
  19. ul,
  20. ol,
  21. li,
  22. pre,
  23. form,
  24. button,
  25. input,
  26. textarea,
  27. th,
  28. td,
  29. fieldset,
  30. option {
  31. margin: 0;
  32. padding: 0;
  33. border: 0;
  34. }
  35. ul,
  36. ol,
  37. dl {
  38. list-style-type: none
  39. }
  40. html,
  41. body {
  42. *position: static
  43. }
  44. html {
  45. font-family: sans-serif;
  46. -webkit-text-size-adjust: 100%;
  47. -ms-text-size-adjust: 100%
  48. }
  49. address,
  50. caption,
  51. cite,
  52. code,
  53. dfn,
  54. em,
  55. th,
  56. var {
  57. font-style: normal;
  58. font-weight: normal
  59. }
  60. input,
  61. button,
  62. textarea,
  63. select,
  64. optgroup,
  65. option {
  66. font-family: inherit;
  67. font-size: inherit;
  68. font-style: inherit;
  69. font-weight: inherit
  70. }
  71. input,
  72. button {
  73. overflow: visible;
  74. vertical-align: middle;
  75. outline: none
  76. }
  77. body,
  78. th,
  79. td,
  80. button,
  81. input,
  82. select,
  83. textarea {
  84. font-family: "Microsoft Yahei", "Hiragino Sans GB", "Helvetica Neue", Helvetica, tahoma, arial, Verdana, sans-serif, "WenQuanYi Micro Hei", "\5B8B\4F53";
  85. font-size: 14px;
  86. color: #333;
  87. -webkit-font-smoothing: antialiased;
  88. -moz-font-smoothing: antialiased
  89. }
  90. h1,
  91. h2,
  92. h3,
  93. h4,
  94. h5,
  95. h6 {
  96. font-size: 100%
  97. }
  98. a,
  99. area {
  100. outline: none;
  101. blr: expression(this.onFocus=this.blur())
  102. }
  103. a {
  104. text-decoration: none;
  105. cursor: pointer;
  106. color: #333;
  107. }
  108. a:hover {
  109. text-decoration: none;
  110. outline: none
  111. }
  112. a.ie6:hover {
  113. zoom: 1
  114. }
  115. a:focus {
  116. outline: none
  117. }
  118. a:hover,
  119. a:active {
  120. outline: none
  121. }
  122. :focus {
  123. outline: none
  124. }
  125. /*img*/
  126. img {
  127. border: 0;
  128. vertical-align: middle
  129. }
  130. a img,
  131. img {
  132. -ms-interpolation-mode: bicubic
  133. }
  134. .img-responsive {
  135. max-width: 100%;
  136. height: auto
  137. }
  138. .fl{
  139. float:left;
  140. }
  141. .fr{
  142. float:right;
  143. }
  144. /*input*/
  145. input[type="number"]::-webkit-inner-spin-button,
  146. input[type="number"]::-webkit-outer-spin-button {
  147. height: auto
  148. }
  149. input[type="search"] {
  150. -webkit-appearance: textfield;
  151. /* 1 */
  152. -moz-box-sizing: content-box;
  153. -webkit-box-sizing: content-box;
  154. /* 2 */
  155. box-sizing: content-box
  156. }
  157. input[type="search"]::-webkit-search-cancel-button,
  158. input[type="search"]::-webkit-search-decoration {
  159. -webkit-appearance: none
  160. }
  161. ::-webkit-input-placeholder { /* WebKit browsers */
  162. color: #999;
  163. }
  164. :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  165. color: #999;
  166. }
  167. ::-moz-placeholder { /* Mozilla Firefox 19+ */
  168. color: #999;
  169. }
  170. :-ms-input-placeholder { /* Internet Explorer 10+ */
  171. color: #999;
  172. }
  173. /*clearfix*/
  174. .cl:after,
  175. .clearfix:after {
  176. content: ".";
  177. display: block;
  178. height: 0;
  179. clear: both;
  180. visibility: hidden
  181. }
  182. .cl,
  183. .clearfix {
  184. zoom: 1
  185. }