main.scss 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. body,
  2. html {
  3. background-color: #030014;
  4. }
  5. html,
  6. body,
  7. ul,
  8. li,
  9. ol,
  10. dl,
  11. dd,
  12. dt,
  13. p,
  14. h1,
  15. h2,
  16. h3,
  17. h4,
  18. h5,
  19. h6,
  20. form,
  21. fieldset,
  22. legend,
  23. img {
  24. margin: 0;
  25. padding: 0;
  26. }
  27. fieldset,
  28. img,
  29. input,
  30. button {
  31. /*fieldset组合表单中的相关元素*/
  32. border: none;
  33. padding: 0;
  34. margin: 0;
  35. outline-style: none;
  36. }
  37. ul,
  38. ol {
  39. list-style: none; /*清除列表风格*/
  40. }
  41. input {
  42. padding-top: 0;
  43. padding-bottom: 0;
  44. }
  45. select,
  46. input {
  47. vertical-align: middle;
  48. }
  49. select,
  50. input,
  51. textarea {
  52. font-size: 12px;
  53. margin: 0;
  54. }
  55. textarea {
  56. resize: none;
  57. }
  58. /*防止多行文本框拖动*/
  59. img {
  60. border: 0;
  61. vertical-align: middle;
  62. }
  63. /* 去掉图片低测默认的3像素空白缝隙*/
  64. table {
  65. border-collapse: collapse; /*合并外边线*/
  66. }
  67. .clearfix:before,
  68. .clearfix:after {
  69. content: '';
  70. display: table;
  71. }
  72. .clearfix:after {
  73. clear: both;
  74. }
  75. .clearfix {
  76. *zoom: 1; /*IE/7/6*/
  77. }
  78. h1,
  79. h2,
  80. h3,
  81. h4,
  82. h5,
  83. h6 {
  84. text-decoration: none;
  85. font-weight: normal;
  86. font-size: 100%;
  87. }
  88. s,
  89. i,
  90. em {
  91. font-style: normal;
  92. text-decoration: none;
  93. }