common.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. html {
  2. font-family: "Helvetica", "PingFang-SC-Regular", "ArialMT", "微软雅黑", "Microsoft YaHei", Arial, "Helvetica Neue", Helvetica, sans-serif;
  3. font-size: 16px;
  4. -ms-text-size-adjust: 100%;
  5. -webkit-text-size-adjust: 100%;
  6. -moz-osx-font-smoothing: grayscale;
  7. -webkit-font-smoothing: antialiased;
  8. box-sizing: border-box;
  9. }
  10. body, h1, h2, h3, h4, h6, ul, p, input {
  11. margin: 0;
  12. padding: 0;
  13. }
  14. li {
  15. list-style: none;
  16. }
  17. a {
  18. color: #000;
  19. text-decoration: none;
  20. outline: none;
  21. cursor: pointer;
  22. -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  23. }
  24. *:before,
  25. *:after {
  26. box-sizing: border-box;
  27. margin: 0;
  28. }
  29. * {
  30. box-sizing: border-box;
  31. }
  32. img{
  33. vertical-align: middle;
  34. }
  35. button {
  36. display: inline-block;
  37. padding: 0;
  38. text-align: center;
  39. vertical-align: middle;
  40. touch-action: manipulation;
  41. cursor: pointer;
  42. background-image: none;
  43. border: 1px solid transparent;
  44. font-size: 14px;
  45. border-radius: 4px;
  46. -webkit-user-select: none;
  47. -moz-user-select: none;
  48. -ms-user-select: none;
  49. user-select: none;
  50. background-color: #fff;
  51. }
  52. input {
  53. -webkit-appearance: none;
  54. appearance: none;
  55. -moz-appearance: none;
  56. outline: none;
  57. border: none;
  58. }
  59. .container {
  60. width: 100%;
  61. margin-right: auto;
  62. margin-left: auto;
  63. padding-left: 20px;
  64. padding-right: 20px;
  65. }
  66. @media (max-width: 360px) {
  67. .container {
  68. padding-left: 10px;
  69. padding-right: 10px;
  70. }
  71. }
  72. @media screen and (max-width: 575px) {
  73. .container {
  74. max-width: none;
  75. }
  76. }
  77. @media (min-width: 360px) and (max-width: 575px) {
  78. .container {
  79. padding-left: 16px;
  80. padding-right: 16px;
  81. }
  82. }
  83. @media (min-width: 576px) {
  84. .container {
  85. max-width: 540px;
  86. padding-left: 10px;
  87. padding-right: 10px;
  88. }
  89. }
  90. @media (min-width: 768px) {
  91. .container {
  92. max-width: 720px;
  93. }
  94. }
  95. @media (min-width: 930px) {
  96. .container {
  97. max-width: 930px;
  98. min-width: 900px;
  99. }
  100. }
  101. @media (min-width: 1280px) {
  102. .container {
  103. max-width: 1200px;
  104. }
  105. }
  106. .link-white {
  107. color: #fff;
  108. }
  109. .link-white:hover {
  110. color: #0097ff;
  111. }
  112. .link-blue {
  113. color: #0097ff;
  114. }
  115. .link-blue:hover {
  116. color: #006aff;
  117. text-decoration: underline;
  118. }