闫增涛
2024-06-07 dee91930a69ba69502d9506cae3d58d72e7a152b
src/books/English/assets/main.less
@@ -0,0 +1,1001 @@
.english-book {
  width: 100%;
  height: 100%;
  font-family: "宋体", SimSun, sans-serif;
  .ls1 {
    font-family: "Times New Roman";
    color: #30aad1;
    font-weight: bold;
  }
  .hs {
    font-family: "Times New Roman";
    color: #ea6b00;
    font-weight: bold;
  }
  .zs1 {
    font-family: "Times New Roman";
    color: #857eb4;
    font-weight: bold;
  }
  span.under1 {
    border-bottom: 2px solid #f0bd4a;
    border-width: 2px;
  }
  div.bodystyle {
    font-family: "Times New Roman", "宋体";
    font-size: 18px;
    text-align: justify;
    margin: 5%;
    line-height: 30px;
  }
  span.zt-0 {
    color: #0087af;
  }
  p.pzt-0 {
    color: #0087af;
    font-size: 18px;
  }
  p.pzt-0-right {
    font-size: 18px;
    color: #0087af;
    text-align: right;
  }
  p.pzt-1 {
    font-weight: bold;
    color: #0087af;
    font-size: 18px;
  }
  .note {
    font-size: 0.85em;
  }
  .img-right {
    font-family: "Times New Roman", "宋体";
    text-align: right;
    font-size: 0.85em;
    color: #5d78bb;
    margin-left: 0%;
    margin-right: 5%;
    text-indent: 0em;
  }
  .img {
    font-family: "Times New Roman", "宋体";
    text-align: center;
    font-size: 0.8em;
    color: #5d78bb;
    margin-left: 0%;
    margin-right: 0%;
    text-indent: 0em;
  }
  .img1 {
    font-family: "Times New Roman", "宋体";
    text-align: right;
    font-size: 0.85em;
    margin-left: 0%;
    margin-right: 2em;
    text-indent: 0em;
  }
  p {
    margin-top: 1em;
    text-indent: 2em;
    line-height: 30px;
    font-size: 18px;
    text-align: justify;
  }
  .cover {
    width: 100%;
    padding: 0px;
  }
  .center {
    text-align: center;
    margin-left: 0%;
    margin-right: 0%;
    text-indent: 0em;
  }
  .center1 {
    font-family: "Times New Roman", "宋体";
    text-align: center;
    margin-left: 0%;
    margin-right: 0%;
    text-indent: 0em;
  }
  .left {
    text-indent: 0em;
    margin-left: 0%;
    margin-right: 0%;
  }
  .right {
    text-align: right;
    margin-left: 0%;
    margin-right: 0%;
  }
  .right1 {
    font-family: "Times New Roman", "宋体";
    text-align: right;
    margin-left: 0%;
    margin-right: 0%;
  }
  .quote {
    margin-top: 0%;
    margin-bottom: 0%;
    margin-left: 1em;
    margin-right: 1em;
    text-align: justify;
    font-family: "cnepub", serif;
  }
  h1 {
    font-family: "Times New Roman", "宋体";
    text-align: center;
    font-size: 2em;
    margin-bottom: 0.5cm;
    margin-top: 0.5cm;
  }
  h1.front {
    font-family: "Times New Roman", "宋体";
    color: #b898c7;
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 0.5cm;
    margin-top: 0.5cm;
  }
  h1.lefth1 {
    font-family: "Times New Roman", "宋体";
    text-align: right;
    font-size: 2em;
    margin-bottom: 0.5cm;
    margin-top: 0.5cm;
  }
  h2 {
    font-family: "Times New Roman", "宋体";
    font-weight: bold;
    font-size: 1.2em;
    margin-top: 0.2em;
    margin-bottom: 0.2em;
    text-indent: 0em;
  }
  h3 {
    font-family: "Times New Roman", "宋体";
    color: #5877ba;
    font-weight: bold;
    font-size: 1.15em;
    margin-top: 2em;
    text-align: left;
    margin-bottom: 2em;
    text-indent: 0em;
  }
  h3.lefth3 {
    font-family: "Times New Roman", "宋体";
    color: #5877ba;
    font-weight: bold;
    font-size: 1.15em;
    margin-top: 2em;
    text-align: center;
    margin-bottom: 2em;
    text-indent: 0em;
    text-align: left;
  }
  h4 {
    font-family: "Times New Roman", "宋体";
    font-weight: bold;
    color: #5877ba;
    font-size: 1.1em;
    margin-top: 0.2em;
    margin-bottom: 1em;
    text-indent: 0em;
  }
  h4.h4-zt {
    font-family: "Times New Roman", "宋体";
    font-weight: bold;
    color: #7bb4e3;
    font-size: 1.1em;
    margin-top: 0.2em;
    margin-bottom: 1em;
    text-indent: 0em;
  }
  h5 {
    font-family: "Times New Roman", "宋体";
    font-weight: bold;
    color: #c96653;
    font-size: 1em;
    margin-top: 0.2em;
    margin-bottom: 1em;
    text-indent: 2em;
  }
  h6 {
    font-family: "cnepub", serif;
    font-family: "Times New Roman", "宋体";
    color: #36c3f4;
    font-size: 1.1em;
    margin-top: 10px;
    text-indent: 2em;
    margin-bottom: 10px;
  }
  .u {
    text-decoration: underline;
  }
  .img-0 {
    width: 100%;
  }
  .imz {
    width: 96%;
    text-align: center;
  }
  .img-a {
    width: 95%;
  }
  .img-b {
    width: 80%;
  }
  .img-c {
    width: 70%;
  }
  .img-d {
    width: 60%;
  }
  .img-e {
    width: 50%;
  }
  .img-f {
    width: 40%;
  }
  .img-g {
    width: 30%;
  }
  .img-gh1 {
    width: 30%;
    text-align: right;
  }
  .img-gh2 {
    width: 45%;
    text-align: right;
  }
  .img-h {
    width: 20%;
  }
  .img-i {
    width: 10%;
  }
  .img-j {
    width: 5%;
  }
  .inline {
    height: 1em;
    margin-bottom: -0.3em;
  }
  .inline1 {
    height: 1.9em;
    margin-bottom: -0.4em;
  }
  .em_dot {
    -webkit-text-emphasis-style: dot;
    -moz-text-emphasis-style: dot;
    -ms-text-emphasis-style: dot;
    text-emphasis-style: dot;
    -webkit-text-emphasis-position: under left;
    -moz-text-emphasis-position: under left;
    -ms-text-emphasis-position: under left;
    text-emphasis-position: under left;
  }
  .fieldset {
    border: 2px solid #5f5f5d;
    font-size: 0.9em;
    margin-left: 1.5em;
    margin-right: 1.5em;
    margin-top: 1em;
    margin-bottom: 1em;
    padding: 0.3em 0.5em 0.3em 0.5em;
    font-family: "Times New Roman", "宋体";
  }
  .fieldset-2 {
    border: 2px solid #e9a10e;
    font-size: 0.9em;
    margin-left: 3em;
    margin-right: 3em;
    margin-top: 1em;
    margin-bottom: 1em;
    padding: 0.3em 0.5em 0.3em 0.5em;
    font-family: "Times New Roman", "宋体";
  }
  .fieldset-1 {
    border: 3px dotted #3fb084;
    font-size: 0.9em;
    margin-left: 1em;
    margin-right: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
    padding: 0.3em 0.5em 0.3em 0.5em;
    font-family: "Times New Roman", "宋体";
  }
  .fieldset-3 {
    border: 5px double #0da687;
    background: #ebf5ec;
    font-size: 0.9em;
    margin-left: 1em;
    margin-right: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
    padding: 0.3em 0.5em 0.3em 0.5em;
    font-family: "Times New Roman", "宋体";
  }
  .fieldset-4 {
    border: 5px double #e6a20f;
    font-size: 0.9em;
    margin-left: 1em;
    margin-right: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
    padding: 0.3em 0.5em 0.3em 0.5em;
    font-family: "Times New Roman", "宋体";
  }
  .fieldset-5 {
    border: 5px double #e6a20f;
    background: #f6ead0;
    font-size: 0.9em;
    margin-left: 2em;
    margin-right: 2em;
    margin-top: 1em;
    margin-bottom: 1em;
    padding: 0.3em 0.5em 0.3em 0.5em;
    font-family: "Times New Roman", "宋体";
  }
  .fieldset-6 {
    border: 5px double #02a381;
    font-size: 0.9em;
    margin-left: 1em;
    margin-right: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
    padding: 0.3em 0.5em 0.3em 0.5em;
    font-family: "Times New Roman", "宋体";
  }
  .fieldset-61 {
    border: 5px dotted #d2dbc6;
    background: #eaf4eb;
    font-size: 0.9em;
    margin-left: 2em;
    margin-right: 2em;
    margin-top: 1em;
    margin-bottom: 1em;
    padding: 0.3em 0.5em 0.3em 0.5em;
    font-family: "Times New Roman", "宋体";
  }
  .fieldset-7 {
    border: 5px solid #e8a20c;
    background: #f6ead0;
    font-size: 0.9em;
    margin-left: 1em;
    margin-right: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
    padding: 0.3em 0.5em 0.3em 0.5em;
    font-family: "Times New Roman", "宋体";
  }
  .fieldset-8 {
    border: 3px solid #e8a20c;
    font-size: 0.9em;
    margin-left: 1em;
    margin-right: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
    padding: 0.3em 0.5em 0.3em 0.5em;
    font-family: "Times New Roman", "宋体";
  }
  .fieldset-9 {
    border: 5px dotted #01a4e9;
    font-size: 0.9em;
    margin-left: 1em;
    margin-right: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
    padding: 0.3em 0.5em 0.3em 0.5em;
    font-family: "Times New Roman", "宋体";
  }
  span.linethrough {
    text-decoration: line-through;
  }
  .border {
    /*˹���-�߿���*/
    border-width: 1px;
    border-style: solid;
  }
  /* 新增样式 */
  .custom_title1 {
    font-family: "Times New Roman", "宋体";
    background-color: rgb(125, 164, 64);
    width: 70vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    padding: 10px 0;
    border-radius: 20px;
    display: flex;
    align-items: center;
    font-size: 21px;
    margin-bottom: 0.5cm;
    margin-top: 0.5cm;
  }
  .title_icon {
    width: 50px;
    margin: 0 20px 0 15px;
  }
  .custom_chapter {
    font-family: "Times New Roman", "宋体";
    color: rgb(108, 152, 65);
    padding: 15px 10px;
    background-color: rgb(202, 217, 180);
    position: relative;
    display: inline-block;
    padding: 10px;
    font-size: 19px;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0.2cm;
    margin-top: 0.2cm;
  }
  .custom_chapter::before {
    font-family: "Times New Roman", "宋体";
    content: "";
    width: 12px;
    height: 60%;
    background-color: rgb(125, 164, 64);
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
  }
  .custom_chapter::after {
    font-family: "Times New Roman", "宋体";
    content: "";
    width: 12px;
    height: 60%;
    background-color: rgb(125, 164, 64);
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
  }
  .custom_title2 {
    color: rgb(154, 106, 17);
    // background: url(image/xt.png) no-repeat;
    background-size: 100% 100%;
    display: inline-block;
    padding: 18px;
    font-size: 21px;
    margin-bottom: 0.2cm;
    margin-top: 0.2cm;
    font-family: "Times New Roman", "宋体";
  }
  .img-gn {
    height: 1.6em;
    margin-bottom: -0.4em;
  }
  .img-gn1 {
    height: 2.5em;
    margin-bottom: -0.4em;
  }
  .img-gn2 {
    height: 2em;
    margin-bottom: -0.5em;
  }
  .img-gn-zt {
    height: 2.5em;
    margin-bottom: -0.4em;
  }
  .div-img-h3 {
    display: flex;
    align-items: center;
  }
  .div-img-h3 h3 {
    flex: 1;
  }
  .bold1 {
    font-weight: bold;
    font-size: 1.1em;
  }
  .lvz {
    font-family: "Times New Roman", "宋体";
    color: #6eb92c;
    font-weight: bold;
  }
  ul {
    list-style-type: none;
  }
  li {
    list-style-type: none;
  }
  p.hr {
    padding: 0.3em;
    line-height: 1.5em;
    border-bottom: 1px solid #f49a4c;
  }
  .zt-ls {
    color: #99b4df;
    font-weight: bold;
  }
  .zt-cs {
    color: #f5ae08;
    font-weight: bold;
  }
  div.bk {
    border: 3px dotted #f49a4c;
    padding: 15px;
    margin-bottom: 2em;
    margin-top: 0.5em;
  }
  div.bk-11 {
    border: 3px double #f49a4c;
    border-radius: 2em;
    padding: 15px;
    margin-bottom: 2em;
    margin-top: 0.5em;
  }
  div.bk-12 {
    background: #1bada0;
    color: #ffffff;
    border-radius: 2em;
    padding: 15px;
    margin-bottom: 2em;
    margin-top: 0.5em;
  }
  div.bk-13 {
    border: 3px dashed #dddddd;
    border-radius: 2em;
    padding: 15px;
    margin-bottom: 2em;
    margin-top: 0.5em;
  }
  div.bk-14 {
    border: 3px solid #e7a310;
    padding: 15px;
    margin-bottom: 2em;
    margin-top: 0.5em;
  }
  .bjh3 {
    border: 5px dotted #faeec6;
    background: #0da785;
    padding: 0.2em 0.4em 0.2em 0.4em;
    color: #ffffff;
    border-radius: 1em;
    margin-top: -1em;
    margin-left: 0.5em;
    margin-right: 0.5em;
    margin-bottom: -0.8em;
    font-size: 1.1em;
    font-weight: bold;
  }
  div.bkbj {
    border: 1px dotted #e9f6fe;
    background: #e9f6fe;
    padding: -0.01em;
  }
  div.bj-note {
    background: #fde2d1;
    padding: 0.3em 0.5em 0.3em 0.5em;
  }
  div.bk-wh {
    border: 3px dotted #f49a4c;
    padding: 0.3em 0.5em 0.3em 0.5em;
    margin-bottom: 2em;
    margin-left: 2em;
    margin-right: 2em;
    border-radius: 1em;
    margin-top: 0.5em;
  }
  div.dy1-bj4 {
    background: #f8be6c;
    padding: 0.01em 1em 0.01em 1em;
    color: #000000;
    margin-left: 0.2em;
    margin-right: 0.2em;
    margin-bottom: 0.2em;
    margin-top: 0.5em;
    font-size: 1.3em;
    font-weight: bold;
  }
  div.dy1-bj5 {
    background: #f6ead0;
    padding: 0.01em 1em 0.01em 1em;
    color: #000000;
    margin-top: -1em;
    font-size: 1.3em;
    font-weight: bold;
    margin-left: 0.2em;
    margin-right: 0.2em;
  }
  div.un-h2 {
    display: flex;
    border-bottom: 10px double #0183bf;
    align-items: center;
  }
  // 自定义内容
  .page-box {
    box-sizing: border-box;
    min-height: 1128px;
    margin-bottom: 20px;
    box-shadow: 0 3px 6px 1px #00000029;
    background-color: #fff;
  }
  .block2 {
    font-family: "STKaiti";
    text-indent: 0em;
    text-align: center;
    margin-left: 0%;
    margin-right: 0%;
  }
  ul {
    padding: 0;
    list-style: none;
  }
  .fm-son {
    font-family: "宋体", SimSun, sans-serif;
  }
  .tl {
    text-align: left !important;
  }
  .fl {
    display: flex;
  }
  .fw-wr {
    flex-wrap: wrap;
  }
  .ju-bt {
    justify-content: space-between;
  }
  .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;
  }
  .fw-bl {
    font-weight: bold;
  }
  .m0 {
    margin: 0 !important;
  }
  .mb-0 {
    margin-bottom: 0;
  }
  .mb-20 {
    margin-bottom: 20px;
  }
  .mt-20 {
    margin-top: 20px;
  }
  .mt-40 {
    margin-top: 40px;
  }
  .wh-nr {
    white-space: nowrap;
  }
  .tl-le {
    text-align: left;
  }
  .pb-104 {
    padding-bottom: 104px;
  }
  .t0 {
    text-indent: 0;
  }
  .w100 {
    width: 100%;
  }
  .pd-20 {
    padding: 0 20px;
  }
  .primary-title-color {
    color: #8fc58c;
  }
  .primary-bc {
    background-color: #8fc58c;
  }
  .event-header-bc {
    background: linear-gradient(to right, #639bc2, #fff);
  }
  .event-header-text-bc {
    background-color: #bbd4ec;
  }
  .event-text-color {
    color: #639bc2;
  }
  .y-bc {
    background-color: #f3e3c7;
  }
  .preface-header-box {
    height: 2em;
    line-height: 2em;
    border-radius: 10px 10px 0 0;
    padding: 0 10px;
    .l-text {
      color: #666;
    }
    .g-color {
      color: #8fc58c;
    }
    .g-text {
      margin-left: 10px;
      // color: #8fc58c;
      font-weight: bold;
    }
  }
  // 页码
  .preface-bottom {
    height: 104px;
    display: flex;
    justify-content: center;
    align-items: center;
    .num-box {
      display: inline-block;
      width: 30px;
      height: 30px;
      line-height: 30px;
      color: #11ad8a;
      font-weight: bold;
      text-align: center;
      border: 1px solid #11ad8a;
      border-radius: 20px;
    }
    .contet-num-box {
      width: 56px;
      height: 36px;
      line-height: 36px;
      text-align: center;
      background-color: #e6e7e9;
      border-radius: 50%;
      font-weight: bold;
    }
  }
  .input-bottom-border {
    border: 0;
    border-bottom: 1px solid #000000;
    width: 86%;
    &:focus {
      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 {
    min-width: 80px;
    height: 30px;
    font-size: 14px;
    margin-left: 5px;
    background-color: #0bab87;
    border-color: #0bab87;
    border-width: 1px;
    color: #fff;
    border-radius: 6px;
    &:hover {
      background-color: #a1afc8;
      border-color: #a1afc8;
    }
  }
  .correct-icon {
    color: green;
  }
  .error-icon {
    color: red;
  }
  .icon-box {
    margin-left: 8px;
    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 ;
      }
    }
  }
  .textarea-box {
    border: none;
    text-align: center;
    width: 84px;
    height: 36px;
    overflow: auto;
    word-break: break-all;
    resize: none;
  }
}
/* 媒体查询做基础响应式布局 */
@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;
    }
  }
}
::-webkit-scrollbar {
  width: 8px;
  height: 10px;
}
::-webkit-scrollbar-track-piece {
  background-color: rgba(0, 0, 0, 0.1);
  -webkit-border-radius: 6px;
}
::-webkit-scrollbar-thumb:vertical {
  height: 5px;
  background-color: rgba(125, 125, 125, 0.3);
  -webkit-border-radius: 6px;
}
::-webkit-scrollbar-thumb:horizontal {
  width: 5px;
  background-color: rgba(125, 125, 125, 0.3);
  -webkit-border-radius: 6px;
}