// 文本
.#{$namespace} {
  &-text {
    line-height: $lh-base;
    font-size: $ft-sm;
    color: $g-666;
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      color: $g-333;
    }

    h1 {
      font-size: $ft-max;
    }

    h2 {
      font-size: $ft-bg;
    }

    h3 {
      font-size: $ft-lg;
    }
    h4 {
      font-size: $ft-bs;
    }
    h5 {
      font-size: $ft-sm;
    }
    h6 {
      font-size: 12px;
    }

    ol,
    ul {
      padding-left: $pd-lg;
    }

    // 列表
    ul {
      padding: $pd-sm 0 $pd-sm $pd-lg;

      li {
        margin-top: $mg-sm;
        list-style-type: disc;
      }
    }
    ol {
      li {
        margin-top: $mg-sm;
        list-style-type: disc;
      }
    }

    // 标注性文字
    &-em,
    .#{$namespace}-word-aux {
      color: $g-999 !important;
      padding: 0 $pd-sm !important;
    }

    p {
      margin: $mg-lg 0;

      &:first-child {
        margin-top: 0;
      }
      &:last-child {
        margin-bottom: 0;
      }
    }
    // a样式不作用在btn上
    a {
      &:not(.#{$namespace}-btn) {
        color: $primary;
        &:hover {
          text-decoration: underline;
        }
      }
    }
  }
  &-txtover {
    width: 100%;
    display: inline-block;
    white-space: nowrap;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
  }
}
