*,
:before, :after {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none;
}

body {
  margin: 0;
  padding: 0 18px 20px;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}

/* 标题 */
h1 {
  margin: 0.556em 0 1em;
  font-size: 1.75em;
}

h2 {
  margin: 0.667em 0;
  font-size: 1.45em;
}

h3 {
  margin: 0.8em 0;
  font-size: 1.2em;
}

h4,
p {
  margin: 1em 0;
  font-size: 1em;
}

h5 {
  margin: 1.176em 0;
  font-size: 0.85em;
}

h6 {
  margin: 1.333em 0;
  font-size: 0.75em;
}

/* 正文内容 */
p {
  min-height: 1px;
}

u {
  text-decoration: none;
  border-bottom-style: solid;
  border-bottom-width: 1px;
}

a {
  color: #1b88ee;
  text-decoration: none;
}
a:active {
  opacity: 0.7;
}

/* 列表 */
ul,
ol {
  padding-left: 1.25em;
}

ul,
ol,
li {
  margin: 0.62em 0;
}

ol ol {
  list-style-type: lower-alpha;
}

ol ol ol {
  list-style-type: lower-roman;
}

/* 表格 */
table {
  margin: 1em 0;
  width: 100%;
  font-size: 0.9em;
  line-height: 1.3;
  text-align: center;
  border: 1px solid #eee;
  border-spacing: 0;
  border-collapse: collapse;
}

td,
th {
  height: auto;
  width: auto;
  padding: 0.8em 1.4%;
  border: 1px solid #eee;
}

table p {
  margin: 0;
}

/* 图片 */
img {
  display: block;
  margin: 1em 0;
  width: 100%;
}

/* 其它效果 */
.ta-center {
  text-align: center;
}

.ta-right {
  text-align: right;
}

/* 深色 */
.theme-dark body {
  color: #ddd;
  background-color: #1d1d1e;
}

.theme-dark a {
  color: #1673ca;
}

.theme-dark table,
.theme-dark td,
.theme-dark th {
  border-color: #232326;
}

  /* 夜间 */
.theme-night body {
  color: #777;
  background-color: #1d1d1e;
}

.theme-night a {
  color: #144e84;
}

.theme-night table,
.theme-night td,
.theme-night th {
  border-color: #282828;
}

.theme-night img {
  opacity: 0.5;
}
