/*!
 * 国风博客 — 基础重置（自写，仅覆盖本主题需要的部分）
 */

html,
body {
  height: auto;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
  font-weight: normal;
}

strong,
b {
  font-weight: bold;
}

em,
i {
  font-style: italic;
}

fieldset,
img {
  border: 0;
}

a:focus {
  outline: none;
}

button,
input,
select,
textarea {
  margin: 0;
  font-size: 100%;
  font-family: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

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

::selection {
  background: rgb(54 80 140 / 22%);
}

/* 滚动条（与参考站的蓝灰调一致） */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background-color: rgb(154 167 197 / 80%);
}

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

/* 打印时隐藏装饰 */
@media print {
  .lantern-wrap,
  .side-top,
  .hero-arrow,
  .hero-dots {
    display: none !important;
  }
}
