闫增涛
2024-05-27 26952b2ec91133aadb3abc3cf66242650e1348c7
src/books/English/assets/main.less
@@ -667,6 +667,9 @@
    padding: 0;
    list-style: none;
  }
  .fm-son {
    font-family: "宋体", SimSun, sans-serif;
  }
  .tl {
    text-align: left !important;
  }
@@ -679,11 +682,20 @@
  .ju-cn {
    justify-content: center;
  }
  .ju-ev {
    justify-content: space-evenly;
  }
  .al-cn {
    align-items: center;
  }
  .al-end {
    align-items: flex-end;
  }
  .fz-14 {
    font-size: 14px;
  }
  .fz-16 {
    font-size: 16px;
  }
  .fz-18 {
    font-size: 18px;
@@ -703,9 +715,7 @@
  .wh-nr {
    white-space: nowrap;
  }
  .padding-93 {
    padding: 0 93px 0px 93px;
  }
  .pb-104 {
    padding-bottom: 104px;
  }
@@ -788,14 +798,53 @@
      outline: none;
    }
  }
  .preface-odd-header {
    height: 104px;
    display: flex;
    align-items: center;
    li:first-child {
      width: 15px;
      height: 100%;
    }
    li:last-child {
      display: flex;
      align-items: center;
      span:first-child {
        box-sizing: border-box;
        height: 30px;
        display: inline-block;
        padding: 5px 10px;
        border-radius: 8px 0 0 8px;
        color: #fff;
        font-weight: bold;
      }
      span:last-child {
        min-width: 40px;
        min-height: 30px;
        line-height: 30px;
        padding: 0 5px;
        display: inline-block;
      }
    }
    .chapter-left-bc {
      background-color: #639bc2;
    }
    .chapter-right-bc {
      background-color: #bbd4ec;
    }
    .chapter-right-cl {
      color: #639bc2;
    }
  }
  .parimary-btn {
    cursor: pointer;
    min-width: 80px;
    font-size: 14px;
    margin-left: 5px;
    background-color: #0bab87;
    border-color: #0bab87;
    border-width: 1px;
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
    &:hover {
      background-color: #a1afc8;
      border-color: #a1afc8;
@@ -807,4 +856,102 @@
  .error-icon {
    color: red;
  }
  .icon-box {
    display: inline-block;
    width: 18px;
    height: 18px;
  }
  .word-bc {
    // background-color: #a1afc8;
    background-color: #e1ebf6;
    cursor: pointer;
  }
  .textarea-text {
    &:focus {
      border-color: #659ac6;
      outline: none;
    }
  }
  .table-th-bc {
    background-color: #f7ab57;
  }
  .table-tr-bc {
    background-color: #f2e2be;
  }
  .table-textarea {
    font-size: 14px;
    font-family: "Times New Roman", "宋体";
    resize: none;
    &:focus {
      outline: none;
    }
  }
  .wh-no {
    white-space: nowrap;
  }
  .tl-cn {
    text-align: center;
  }
  .b0 {
    border: 0;
  }
  button {
    cursor: pointer;
    border-radius: 6px;
  }
  button:focus {
    outline: none;
  }
  .pd-5 {
    padding: 0 5px;
  }
  .resource-primary-border {
    border: 3px dotted #f49a4c;
    border-radius: 1em;
  }
  .btn-border {
    border-color: #0bab87;
  }
  svg {
    fill:#fff ;
  }
  .btn-box {
    margin-left: 5px;
    cursor: pointer;
    text-indent: 0;
    display: inline-block;
    border:1px solid #0bab87;
    height: 22px;
    padding: 5px;
    background-color:#0bab87 ;
    border-radius: 5px;
    &:hover {
      background-color: #fff;
      svg {
        fill:#0bab87 ;
      }
    }
  }
}
/* 媒体查询做基础响应式布局 */
@media (max-width: 660px) {
  .english-book {
    /* 分页padding */
    .padding-93 {
      padding: 0 20px;
    }
    .padding-102 {
      padding: 0 20px;
    }
  }
}
@media (min-width: 660px) {
  .english-book {
    .padding-93 {
      padding: 0 93px 0px 93px;
    }
    .padding-102 {
      padding: 0 102px 0 102px;
    }
  }
}