/* 使用更直观的盒模型（box-sizing） */
*, *::before, *::after {
  font-family: inherit;
  box-sizing: border-box;
}

/* 取消默认的内外边距 margin padding */
html, body, h1, h2, h3, h4, h5, h6, dl, dt, dd, ol, ul, li, p, fieldset, legend, header, footer, hgroup, menu, nav, section, figcaption, figure, mark, form, time, td, th, label, hr {
  margin: 0;
  padding: 0;
}

/* 新布局元素兼容旧版本浏览器 */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

/* 允许通过百分比设置应用的高度 */
html, body, #app {
  width: 100%;
  height: 100%;
  line-height: 1;
  -webkit-font-smoothing: antialiased; /* 优化 text 的渲染平滑度 */
}

/* 解决在移动端时，点击元素会出现阴影的问题 */
body {
  -webkit-tap-highlight-color: transparent;
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
}

a {
  color: var(--el-text-color-primary, #303133);
  text-decoration: none;
}

/* 去除所有项目符号标识 */
li {
  list-style: none;
}
