@import url(vars.css);
@import url(term.css);
@import url(../_media/font.css);

body {
  font-family: 'HYWenHei', 'Noto Sans SC', sans-serif;
  /* font-family: 'Noto Serif SC', serif; */
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* -webkit-font-smoothing: none; */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
}

.cover-main h1 span {
  font-weight: 900;
}

.app-name a {
  font-size: 2rem;
  font-weight: 900;
}

.sidebar .sidebar-nav>ul>li a {
  font-family: 'Noto Serif SC', serif;
  font-size: 16px;
  font-weight: 600;
  margin: 0
}

/* 加粗 */
.bold,
.bold .katex {
  font-weight: 700;
}

.katex-display>.katex>.katex-html  {
  text-align: left;
  margin-left: 2rem;
}

.katex .cjk_fallback {
  font-family: 'Noto Serif SC', serif;
  font-size: 1rem;
  font-weight: 500;
}

.katex .cjk_fallback.mtight {
  font-size: .7rem;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background: #42b983;
  border-radius: 4px;
}

::-webkit-scrollbar-track {
  background: #ecf8f2;
}

/* Logo 动画 */
@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 15s linear;
  }
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}
