闫增涛
2024-06-07 dee91930a69ba69502d9506cae3d58d72e7a152b
src/books/sportsAndHealth/css/default.less
@@ -19,6 +19,21 @@
  overflow: auto;
}
.tablePublic input[type="checkbox"]:checked+.checkmark {
  background: #000 !important;
  /* 选中时的背景色 */
}
br {
  -webkit-user-select: none;
  /* Safari */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* IE10+/Edge */
  user-select: none;
}
.public-sportsAndHealth {
  font-family: "宋体";
  max-width: 816px;
@@ -29,9 +44,22 @@
  font-size: 18px;
  .chapter {
    textarea {
      width: 100%;
      font-family: 'FZLTXIHJW';
      padding: 2px 5px;
      box-sizing: border-box;
    }
    .swiper-button-prev,
    .swiper-button-next {
      color: #5877ba;
    }
    .page-box {
      box-sizing: border-box;
      min-height: 1150px !important;
      min-height: 1150px;
      margin-bottom: 20px;
      box-shadow: 0 3px 6px 1px #00000029;
      background-color: #fff;
@@ -49,7 +77,9 @@
      align-items: center;
      width: 100%;
      position: relative;
      .bj-chapter001-bj-icon {
        width: 100%;
        padding-top: 15px;
      }
@@ -58,14 +88,129 @@
        position: absolute;
        left: 0;
        top: 5%;
        .bj-chapter001-con-icon {
          width: 100%;
          img {
            padding-top: 20px;
            width: 100%;
          }
        }
      }
    }
    .pdf-tips-con {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      // b898c7
      .pdf-wall {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        margin-left: 30px;
        .pdf-item {
          display: flex;
          justify-content: flex-start;
          align-items: center;
          border: 2px dashed #b898c7;
          margin: 10px;
          padding: 2px 10px;
          border-radius: 5px;
          box-sizing: border-box;
          span {
            font-size: 14px;
            text-align: center;
            font-family: 'FZLTXIHJW';
            display: flex;
            align-items: center;
            justify-content: flex-start;
            svg {
              fill: #b898c7;
            }
          }
          span:nth-child(2) {
            padding-top: 5px;
            box-sizing: border-box;
          }
          span:hover {
            color: #b898c7;
            cursor: pointer;
            text-decoration: underline;
            -webkit-user-select: none;
            /* Safari 3.1+ */
            -moz-user-select: none;
            /* Firefox 2+ */
            -ms-user-select: none;
            /* IE 10+ */
            user-select: none;
            /* 标准语法 */
          }
        }
      }
    }
    .leftTable {
      table {
        tr td {
          text-align: left !important;
        }
      }
    }
    .parentVideo {
      width: 100%;
      display: flex;
      justify-content: flex-start;
      flex-wrap: wrap;
      .videoItem {
        width: 200px;
        margin: 3px 4px;
        border: 1px dotted #30aad1;
        video {
          width: 100%;
        }
        video::-webkit-media-text-track-display {
          /* 这里可以添加自定义的样式代码 */
          color: red;
          /* 文字颜色 */
          background-color: yellow;
          /* 背景颜色 */
        }
        span {
          display: flex;
          justify-content: center;
          font-size: 14px;
          text-align: center;
          font-family: 'FZLTXIHJW';
        }
      }
    }
    .gif-Con {
      display: flex;
      justify-content: center;
      align-items: center;
      border: 0 !important;
      padding: 1px !important;
    }
    .imgBox-003 {
      width: 100%;
      height: 220px;
    }
    .tablePublic {
@@ -133,8 +278,10 @@
          background-color: #d6dbee;
          color: #f49a4c;
          text-align: center;
          padding: 5px 20px;
          font-size: 16px;
          padding: 5px 10px;
          font-size: 14px;
          font-family: 'FZLTXIHJW';
          font-weight: 900;
        }
        tr td {
@@ -143,6 +290,7 @@
          padding: 3px 10px;
          font-size: 14px;
          line-height: 25px;
          font-family: 'FZLTXIHJW';
          input {
            cursor: pointer;
@@ -205,7 +353,6 @@
      textarea:focus {
        outline: none;
        text-indent: 2em;
      }
    }
@@ -213,11 +360,13 @@
      min-width: 100px;
      display: flex;
      justify-content: center;
      align-items: center;
      position: absolute;
      top: -20px;
      left: 10px;
      background-color: #d6dbee;
      padding: 5px;
      border: 0.15em dotted #d6dbee;
      padding: 2px 8px 3px 2px;
      box-sizing: border-box;
      color: #5877ba;
      font-family: "FZLTXIHJW";
@@ -229,8 +378,8 @@
        width: 25px;
        height: 25px;
        border-radius: 5px;
        background-color: #007aff;
        border: 1px solid #007aff;
        background-color: #b898c7;
        border: 1px solid #b898c7;
        display: flex;
        justify-content: center;
        align-items: center;
@@ -244,14 +393,61 @@
      .icon:hover {
        background-color: #fff;
        border: 1px solid #007aff;
        border: 1px solid #b898c7;
        svg {
          fill: #007aff;
          fill: #b898c7;
        }
      }
    }
    .img-float {
      width: 250px;
      float: left;
      height: auto;
      margin: auto;
      margin-right: 20px;
      img{
        width: 100%;
      }
      p{
        margin: 0;
      }
    }
    .qjdrIocn {
      display: flex !important;
      justify-content: center;
      align-items: center;
      -webkit-user-select: none;
      /* Safari */
      -moz-user-select: none;
      /* Firefox */
      -ms-user-select: none;
      /* IE10+/Edge */
      user-select: none;
      /* Standard syntax */
      svg {
        margin-left: 8px;
        fill: #fff;
      }
    }
    .qjdrIocn:hover {
      border: 1px solid #f49a4c;
      background-color: #fff;
      color: #f49a4c;
      svg {
        margin-left: 8px;
        fill: #f39938;
        cursor: pointer;
      }
    }
    .coverImg {
      position: absolute;
      top: 0;
@@ -260,43 +456,54 @@
    .pdf-text {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
      align-items: flex-start;
      margin-bottom: 20px;
      p {
        margin: 0;
        margin-right: 10px;
      }
      .pdf-con {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        border: 2px dotted #5d78bb;
        align-items: center;
        padding: 10px 0;
        box-sizing: border-box;
        border-radius: 10px;
        margin-left: 10px;
        margin-top: -50px;
        .pdf-view {
          min-width: 160px;
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          img {
            width: 80px;
          }
          border: 0.15em dashed #b898c7;
          margin-right: 15px;
          padding: 0 15px;
          border-radius: 5px;
          span {
            min-width: 150px;
            font-size: 14px;
            text-align: center;
            font-family: 'FZLTXIHJW';
            display: flex;
            align-items: center;
            justify-content: flex-start;
            svg {
              fill: #b898c7;
            }
          }
          span:nth-child(2) {
            padding-top: 5px;
            box-sizing: border-box;
          }
          span:hover {
            color: #5877ba;
            color: #b898c7;
            cursor: pointer;
            text-decoration: underline;
            -webkit-user-select: none;
@@ -310,14 +517,26 @@
          }
        }
      }
      .pdf-con-15 {
        margin-top: -20px;
      }
    }
    .public-tips {
      padding: 0;
      margin: 0;
      // font-weight: 900;
      margin-bottom: 10px;
    }
    .xyx-title {
      font-family: "STKaiti";
      font-family: "FZLTXIHJW";
      text-align: center;
      color: #cd141c;
      padding: 20px 0;
      padding: 5px 0;
      font-weight: 700;
    }
    .xyx-text {
@@ -325,6 +544,7 @@
        font-size: 16px;
        font-family: 'FZLTXIHJW';
        padding: 0 10px;
        margin: 0;
      }
      .finishiText {
@@ -353,11 +573,19 @@
        color: #0087af;
        font-size: 18px;
        font-weight: bold;
        margin: 10px 0;
      }
      .xyx-fu-ss {
        color: #f49a4c;
        font-weight: 600;
        font-weight: 700;
        margin: 10px 0;
      }
      .xyx-fu-yy {
        color: #c7685d;
        font-weight: 700;
        margin: 10px 0;
      }
      .xyx-fu-title {
@@ -374,19 +602,38 @@
    }
    .xyx-con {
      padding: 0 15px;
      padding: 0 0;
    }
    .xyx-ul {
      font-size: 16px;
      font-family: "FZLTXIHJW";
      color: #555;
      li {
        position: relative;
        margin: 10px 0;
        img {
          width: 20px;
          position: absolute;
          top: 5px;
        }
        span {
          margin-left: 25px;
        }
      }
    }
    .assess {
      width: 200px;
      width: 210px;
      height: 25px;
      border: 0;
      background-color: transparent;
      border-bottom: 1px solid #000;
      font-size: 18px;
      font-family: '宋体';
    }
    .assess:focus {
@@ -535,8 +782,8 @@
    }
    .note {
      font-size: 0.85em;
      font-family: "Arail";
      font-size: 0.8em;
      font-family: "FZLTXIHJW";
    }
    .img-right {
@@ -1101,7 +1348,8 @@
    p.block-hs {
      font-family: "STKaiti";
      font-size: "1.2em";
      // font-size: "1.2em";
      font-size: 16px;
      color: #cd141c;
      line-height: 20px;
    }
@@ -1178,8 +1426,8 @@
    div.bk-xyx {
      background-color: #f9f7fc;
      border: 0.15em dotted #95b2dc;
      padding: 0.5em;
      border: 0.15em dotted #b898c7;
      padding: 0.5em 1.2em;
      margin-bottom: 2em;
      margin-top: 0.5em;
      border-radius: 1em;
@@ -1209,6 +1457,29 @@
      margin-top: 0.5em;
      border-radius: 1em;
      position: relative;
      .xspj-text {
        width: 100%;
        display: flex;
        justify-content: center;
        textarea {
          width: 100%;
          max-width: 560px;
          border: 1px solid #89a0d0;
          border-radius: 5px;
          font-size: 14px;
          font-family: 'FZLTXIHJW';
          text-indent: 2em;
          line-height: 22px;
          padding: 2px 5px;
          box-sizing: border-box;
        }
        textarea:focus {
          outline: none;
        }
      }
    }
    p.bj-xspj {
@@ -1337,9 +1608,13 @@
    }
    .bj1-mk {
      background-color: #99b4df;
      background-image: url('../image/mk.png');
      background-position: center;
      background-repeat: no-repeat;
      background-size: 100% 100%;
      color: #ffffff;
      padding: 0.3em 0.7em 0.3em 0.7em;
      padding: 5px 28px 15px 25px;
      // padding: 0.3em 0.7em 0.3em 0.7em;
      font-weight: bold;
      font-size: 1em;
    }
@@ -1354,6 +1629,76 @@
      font-weight: bold;
    }
  }
  @media screen and (max-width: 800px) {
    .chapter {
      .pdf-tips-con {
        width: 100%;
        min-width: 200px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 20px 0;
        .pdf-wall {
          max-width: 180px;
          position: relative;
          left: 30px;
          top: 25px;
          border: 2px dotted #5d78bb;
          display: flex;
          flex-direction: column;
          justify-content: flex-start;
          align-items: flex-start;
          border: 2px dotted #5d78bb;
          padding: 10px;
          box-sizing: border-box;
          border-radius: 10px;
          .pdf-item {
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            img {
              width: 80px;
            }
            span {
              min-width: 150px;
              font-size: 14px;
              text-align: center;
              font-family: 'FZLTXIHJW';
              line-height: 20px;
            }
            span:hover {
              color: #5877ba;
              cursor: pointer;
              text-decoration: underline;
              -webkit-user-select: none;
              /* Safari 3.1+ */
              -moz-user-select: none;
              /* Firefox 2+ */
              -ms-user-select: none;
              /* IE 10+ */
              user-select: none;
              /* 标准语法 */
            }
          }
        }
      }
      .parentVideo {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
      }
    }
  }
}
body {