base.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. @charset "utf-8";
  2. body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td {
  3. margin:0; padding:0;
  4. }
  5. ol, ul, li {
  6. list-style: none;
  7. }
  8. blockquote, q {
  9. quotes: none;
  10. }
  11. blockquote:before, blockquote:after,
  12. q:before, q:after {
  13. content: '';
  14. content: none;
  15. }
  16. table {
  17. border-collapse: collapse;
  18. border-spacing: 0;
  19. }
  20. address, caption, cite, code, dfn, em, strong, th, var, optgroup {
  21. font-style: normal;
  22. font-weight: normal;
  23. }
  24. fieldset, img {
  25. border:0;
  26. }
  27. textarea {
  28. resize: none;
  29. }
  30. [v-cloak] {
  31. display: none
  32. }
  33. body::-webkit-scrollbar {
  34. display: none
  35. }
  36. /* custom */
  37. a {
  38. color: #7e8c8d;
  39. text-decoration: none;
  40. -webkit-backface-visibility: hidden;
  41. }
  42. ::-webkit-scrollbar {
  43. width: 5px;
  44. height: 5px;
  45. }
  46. ::-webkit-scrollbar-track-piece {
  47. background-color: rgba(0, 0, 0, 0.2);
  48. -webkit-border-radius: 6px;
  49. }
  50. ::-webkit-scrollbar-thumb:vertical {
  51. height: 5px;
  52. background-color: rgba(125, 125, 125, 0.7);
  53. -webkit-border-radius: 6px;
  54. }
  55. ::-webkit-scrollbar-thumb:horizontal {
  56. width: 5px;
  57. background-color: rgba(125, 125, 125, 0.7);
  58. -webkit-border-radius: 6px;
  59. }
  60. html, body {
  61. font-family: "Arial", "Microsoft YaHei", "黑体", "宋体", "微软雅黑", sans-serif;
  62. }
  63. body {
  64. height: 100%;
  65. width: 100%;
  66. line-height: 1;
  67. font-size: 12px;
  68. overflow: hidden;
  69. -webkit-text-size-adjust: none;
  70. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  71. }
  72. html {
  73. overflow-y: scroll;
  74. }
  75. /*清除浮动*/
  76. .clearfix:before,
  77. .clearfix:after {
  78. content: " ";
  79. display: inline-block;
  80. height: 0;
  81. clear: both;
  82. visibility: hidden;
  83. }
  84. .clearfix {
  85. *zoom: 1;
  86. }
  87. /*隐藏*/
  88. .dn{
  89. display: none;
  90. }
  91. /*@media (min-width:1024px) {
  92. body { font-size: 18px; }
  93. }
  94. @media (min-width:1100px) {
  95. body { font-size: 20px; }
  96. }
  97. @media (min-width:1280px) {
  98. body { font-size: 22px; }
  99. }
  100. @media (min-width:1366px) {
  101. body { font-size: 24px; }
  102. }
  103. @media (min-width:1440px) {
  104. body { font-size: 25px; }
  105. }
  106. @media (min-width:1680px) {
  107. body { font-size: 28px; }
  108. }
  109. @media (min-width:1920px){
  110. body { font-size: 33px; }
  111. }*/