You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

277 lines
3.1 KiB

  1. *,
  2. ::before,
  3. ::after {
  4. box-sizing: border-box;
  5. border-width: 0;
  6. border-style: solid;
  7. border-color: currentColor;
  8. }
  9. #app {
  10. width: 100%;
  11. height: 100%;
  12. }
  13. html {
  14. line-height: 1.5;
  15. -webkit-text-size-adjust: 100%;
  16. -moz-tab-size: 4;
  17. tab-size: 4;
  18. width: 100%;
  19. height: 100%;
  20. box-sizing: border-box;
  21. }
  22. body {
  23. margin: 0;
  24. line-height: inherit;
  25. width: 100%;
  26. height: 100%;
  27. -moz-osx-font-smoothing: grayscale;
  28. -webkit-font-smoothing: antialiased;
  29. text-rendering: optimizelegibility;
  30. font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
  31. "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  32. }
  33. hr {
  34. height: 0;
  35. color: inherit;
  36. border-top-width: 1px;
  37. }
  38. abbr:where([title]) {
  39. text-decoration: underline dotted;
  40. }
  41. h1,
  42. h2,
  43. h3,
  44. h4,
  45. h5,
  46. h6 {
  47. font-size: inherit;
  48. font-weight: inherit;
  49. }
  50. a {
  51. color: inherit;
  52. text-decoration: inherit;
  53. }
  54. b,
  55. strong {
  56. font-weight: bolder;
  57. }
  58. code,
  59. kbd,
  60. samp,
  61. pre {
  62. font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
  63. "Liberation Mono", "Courier New", monospace;
  64. font-size: 1em;
  65. }
  66. small {
  67. font-size: 80%;
  68. }
  69. sub,
  70. sup {
  71. font-size: 75%;
  72. line-height: 0;
  73. position: relative;
  74. vertical-align: baseline;
  75. }
  76. sub {
  77. bottom: -0.25em;
  78. }
  79. sup {
  80. top: -0.5em;
  81. }
  82. table {
  83. text-indent: 0;
  84. border-color: inherit;
  85. border-collapse: collapse;
  86. }
  87. button,
  88. input,
  89. optgroup,
  90. select,
  91. textarea {
  92. font-family: inherit;
  93. font-size: 100%;
  94. line-height: inherit;
  95. color: inherit;
  96. margin: 0;
  97. padding: 0;
  98. }
  99. button,
  100. select {
  101. text-transform: none;
  102. }
  103. button,
  104. [type="button"],
  105. [type="reset"],
  106. [type="submit"] {
  107. -webkit-appearance: button;
  108. background-image: none;
  109. }
  110. :-moz-focusring {
  111. outline: auto;
  112. }
  113. :-moz-ui-invalid {
  114. box-shadow: none;
  115. }
  116. progress {
  117. vertical-align: baseline;
  118. }
  119. ::-webkit-inner-spin-button,
  120. ::-webkit-outer-spin-button {
  121. height: auto;
  122. }
  123. [type="search"] {
  124. -webkit-appearance: textfield;
  125. outline-offset: -2px;
  126. }
  127. ::-webkit-search-decoration {
  128. -webkit-appearance: none;
  129. }
  130. ::-webkit-file-upload-button {
  131. -webkit-appearance: button;
  132. font: inherit;
  133. }
  134. summary {
  135. display: list-item;
  136. }
  137. blockquote,
  138. dl,
  139. dd,
  140. h1,
  141. h2,
  142. h3,
  143. h4,
  144. h5,
  145. h6,
  146. hr,
  147. figure,
  148. p,
  149. pre {
  150. margin: 0;
  151. }
  152. fieldset {
  153. margin: 0;
  154. padding: 0;
  155. }
  156. legend {
  157. padding: 0;
  158. }
  159. ol,
  160. ul,
  161. menu {
  162. list-style: none;
  163. margin: 0;
  164. padding: 0;
  165. }
  166. textarea {
  167. resize: vertical;
  168. }
  169. input::placeholder,
  170. textarea::placeholder {
  171. opacity: 1;
  172. color: #9ca3af;
  173. }
  174. button,
  175. [role="button"] {
  176. cursor: pointer;
  177. }
  178. :disabled {
  179. cursor: default;
  180. }
  181. img,
  182. svg,
  183. video,
  184. canvas,
  185. audio,
  186. iframe,
  187. embed,
  188. object {
  189. display: block;
  190. vertical-align: middle;
  191. }
  192. img,
  193. video {
  194. max-width: 100%;
  195. height: auto;
  196. }
  197. [hidden] {
  198. display: none;
  199. }
  200. .dark {
  201. color-scheme: dark;
  202. }
  203. label {
  204. font-weight: 700;
  205. }
  206. *,
  207. *::before,
  208. *::after {
  209. box-sizing: inherit;
  210. }
  211. a:focus,
  212. a:active {
  213. outline: none;
  214. }
  215. a,
  216. a:focus,
  217. a:hover {
  218. cursor: pointer;
  219. color: inherit;
  220. text-decoration: none;
  221. }
  222. div:focus {
  223. outline: none;
  224. }
  225. .clearfix {
  226. &::after {
  227. visibility: hidden;
  228. display: block;
  229. font-size: 0;
  230. content: " ";
  231. clear: both;
  232. height: 0;
  233. }
  234. }