_reset.scss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. * {
  2. -webkit-box-sizing: border-box;
  3. -moz-box-sizing: border-box;
  4. box-sizing: border-box;
  5. }
  6. body {
  7. margin: 0;
  8. padding: 0;
  9. color: $text;
  10. font-family: $font-family;
  11. font-size: $font-size;
  12. line-height: $line-height;
  13. -webkit-font-smoothing: antialiased;
  14. }
  15. article,aside,dialog,footer,header,section,footer,nav,figure,menu {
  16. display: block
  17. }
  18. .container{
  19. padding: 0 !important;
  20. width: 1190px;
  21. margin:0 auto;
  22. }
  23. h1,
  24. h2,
  25. h3,
  26. h4,
  27. h5,
  28. h6 {
  29. color: inherit;
  30. font-family: inherit;
  31. line-height: inherit;
  32. }
  33. a:focus,a:hover{
  34. text-decoration: none !important;
  35. }
  36. h1 {
  37. font-size: $font-size-h1;
  38. font-weight: 500;
  39. margin: $lg-pad 0;
  40. }
  41. h2 {
  42. font-size: $font-size-h2;
  43. font-weight: 500;
  44. margin: $lg-pad 0;
  45. }
  46. h3 {
  47. font-size: $font-size-h3;
  48. font-weight: 500;
  49. margin: $md-pad 0;
  50. }
  51. h4 {
  52. font-size: $font-size-h4;
  53. font-weight: 600;
  54. margin: $md-pad 0;
  55. }
  56. h5 {
  57. font-size: $font-size-h5;
  58. font-weight: 600;
  59. margin: $md-pad 0;
  60. }
  61. h6 {
  62. color: $secondary;
  63. font-size: $font-size-h6;
  64. font-weight: 600;
  65. margin: $md-pad 0;
  66. }
  67. dl {
  68. margin-bottom: $md-pad;
  69. }
  70. dd {
  71. margin-left: $xlg-pad;
  72. }
  73. ul,
  74. ol {
  75. margin: 0;
  76. padding: 0;
  77. vertical-align: baseline;
  78. list-style: none;
  79. -webkit-padding-start: 0;
  80. -webkit-margin-before: 0;
  81. -webkit-margin-after: 0;
  82. }
  83. main,
  84. header,
  85. footer,
  86. article,
  87. section,
  88. aside,
  89. details,
  90. summary {
  91. margin: 0 auto;
  92. width: 100%;
  93. }
  94. a {
  95. cursor: pointer;
  96. text-decoration: none;
  97. color: $text;
  98. &:hover,&:active {
  99. text-decoration: none;
  100. outline: 0;
  101. color: $red;
  102. }
  103. }
  104. img {
  105. outline: 0;
  106. border: none;
  107. }
  108. p {
  109. font-size: 16px;
  110. margin: 0 0 10px;
  111. }
  112. .f12{
  113. font-size: 12px;
  114. }
  115. .f14{
  116. font-size: 14px;
  117. }
  118. .f16{
  119. font-size: 16px;
  120. }
  121. .text-right{
  122. text-align: right;
  123. }