/* 基础样式：从 wdbook.com design/styles/common/css/base.css（wdv2bookweb 2268f953f）复制。normalize.css 由页面单独引入。 */

* {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  margin: 0;
  font-family: Chinese Quote, -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-variant: tabular-nums;
  font-weight: 400;
  line-height: 1.5;
  color: var(--wd-app-text-primary);
  background-color: var(--wd-app-canvas-bg);
}

::selection {
  background: var(--wd-app-selection-bg);
  color: var(--wd-app-selection-text);
}

a {
  color: var(--wd-color-success-default);
  text-decoration: none;
}

.clearfix::after {
  content: '';
  clear: both;
  display: table;
}

.container {
  margin: 0 auto;
  padding: 0 80px;
}

.pure-link {
  color: inherit;
  text-decoration: none;
  cursor: default;
}

.text-muted {
  color: var(--wd-color-gray-8);
}

/* pad */
@media (min-width: 960px) and (max-width: 1440px) {
  .container {
    padding: 0 48px;
  }
}

/* phone */
@media (max-width: 959px) {
  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 16px;
  }
}
