/* 网站（honkit serve / build 生成的 HTML）样式 */

.book-body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei",
    "PingFang SC", "Hiragino Sans GB", sans-serif;
}

.markdown-section {
  font-size: 15px;
  line-height: 1.75;
}

.markdown-section table {
  display: table;
  width: 100%;
}

.markdown-section table td,
.markdown-section table th {
  padding: 6px 12px;
}

/* include-codeblock 生成的源码链接 */
.markdown-section blockquote a[id] {
  font-size: 0.85em;
  color: #8492a6;
}

/* 主题里 code 是 display:inline，padding-left 只会作用在第一行，
   导致代码块首行比其他行缩进；改为 block 后整体对齐 */
.markdown-section pre {
  padding: 1.2em 1.4em;
  border-radius: 4px;
}

.markdown-section pre > code {
  display: block;
  padding: 0;
}

/* 页面底部分享栏 */
.page-share {
  position: relative;
  margin-top: 2.5em;
  padding-top: 1em;
  border-top: 1px solid #e6e6e6;
  font-size: 13px;
  color: #8492a6;
}

.page-share .share-btn {
  display: inline-block;
  margin-right: 8px;
  padding: 3px 12px;
  border: 1px solid #dcdfe6;
  border-radius: 14px;
  color: #5c6b7a;
  text-decoration: none;
  line-height: 1.6;
}

.page-share .share-btn:hover {
  border-color: #346ddb;
  color: #346ddb;
}

.page-share .share-qrcode {
  margin-top: 12px;
  padding: 10px;
  display: inline-block;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  line-height: 0;
}

.page-share .share-qrcode[hidden] {
  display: none;
}
