common.css 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. article,
  2. aside,
  3. footer,
  4. header,
  5. hgroup,
  6. main,
  7. nav,
  8. section {
  9. display: block;
  10. }
  11. /*去除margin和padding*/
  12. body,
  13. h1,
  14. h2,
  15. h3,
  16. h4,
  17. h5,
  18. h6,
  19. ul,
  20. ol,
  21. p,
  22. dl,
  23. dd,
  24. hr,
  25. input,
  26. textarea {
  27. margin: 0;
  28. }
  29. ul,
  30. ol {
  31. padding: 0;
  32. list-style: none;
  33. }
  34. /*去除下划线*/
  35. a,
  36. u,
  37. ins {
  38. color: inherit;
  39. text-decoration: none;
  40. }
  41. /* 将斜体扶正 */
  42. i,
  43. cite,
  44. em,
  45. var,
  46. address,
  47. dfn {
  48. font-style: normal;
  49. }
  50. /* 统一等宽字体 */
  51. tt,
  52. code,
  53. kbd,
  54. samp {
  55. font-family: inherit;
  56. /*font-family: 'Courier New', Courier, monospace;*/
  57. }
  58. /* 统一字体粗细 */
  59. b,
  60. strong,
  61. h1,
  62. h2,
  63. h3,
  64. h4,
  65. h5,
  66. h6 {
  67. font-weight: normal;
  68. }
  69. sup,
  70. sub {
  71. vertical-align: baseline;
  72. }
  73. textarea {
  74. resize: none;
  75. }
  76. samp,
  77. small {
  78. font-size: inherit;
  79. }
  80. img {
  81. border: none;
  82. }
  83. .clear {
  84. zoom: 1;
  85. }
  86. .clear:after {
  87. content: '';
  88. display: block;
  89. clear: both;
  90. }
  91. .fl {
  92. float: left;
  93. }
  94. .fr {
  95. float: right;
  96. }
  97. body {
  98. font-size: 12px;
  99. font-family: 'Microsoft YaHei';
  100. }
  101. .color_blue {
  102. color: #0998da;
  103. font-size: 14px !important;
  104. }
  105. .fa {
  106. font-family: FontAwesome;
  107. font-size: 16px;
  108. display: inline-block;
  109. /* vertical-align: middle;
  110. padding-top: 1px;*/
  111. }
  112. .ml-10 {
  113. margin-left: 10px !important;
  114. }
  115. .mb-10 {
  116. margin-bottom: 10px !important;
  117. }