body,
ol,
ul,
h1,
h2,
h3,
h4,
h5,
h6,
p,
th,
td,
dl,
dd,
form,
fieldset,
legend,
input,
textarea,
select {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Microsoft YaHei", "宋体", "Arial Narrow", HELVETICA;
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

a {
  color: #172c45;
  text-decoration: none;
}

a:hover {
  color: #cd0200;
  text-decoration: underline;
}

em {
  /* font-style: normal; */
}

li {
  list-style: none;
}

img {
  border: 0;
  vertical-align: middle;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

p {
  word-wrap: break-word;
}

div {
  box-sizing: border-box;
}

iframe {
  display: block;
}

/* 通用页面样式 */
.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

/* 自定义滚动条 */
.custom-scroll {
  overflow-y: auto;
}

.custom-scroll::-webkit-scrollbar {
  width: 6px;
}

.custom-scroll::-webkit-scrollbar-thumb {
  background: #d8d8d8;
  border-radius: 4px;
}

.list-scroll {
  overflow: hidden;
  overflow-y: auto;
}

.list-scroll::-webkit-scrollbar {
  width: 4px;
}

.list-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 16px;
}

@font-face {
  font-family: Oswald;
  src: url(./fonts/Oswald-Bold.ttf);
}

/* 处理 MathJax */
mjx-container {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  /* overflow-x: auto; */
}
