闫增涛
2024-06-05 23ebc0d9ee7d4b06916478f84b411d0406f11a3a
src/books/sportsAndHealth/css/default.less
@@ -44,6 +44,12 @@
  font-size: 18px;
  .chapter {
    .swiper-button-prev,
    .swiper-button-next {
      color: #5877ba;
    }
    .page-box {
      box-sizing: border-box;
      min-height: 1150px !important;
@@ -85,6 +91,116 @@
          }
        }
      }
    }
    .pdf-tips-con {
      position: relative;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      .pdf-wall {
        max-width: 180px;
        position: absolute;
        right: 0;
        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;
            /* 标准语法 */
          }
        }
      }
    }
    .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 {
@@ -152,8 +268,9 @@
          background-color: #d6dbee;
          color: #f49a4c;
          text-align: center;
          padding: 5px 20px;
          padding: 5px 10px;
          font-size: 16px;
          font-family: 'FZLTXIHJW';
        }
        tr td {
@@ -162,6 +279,7 @@
          padding: 3px 10px;
          font-size: 14px;
          line-height: 25px;
          font-family: 'FZLTXIHJW';
          input {
            cursor: pointer;
@@ -312,8 +430,10 @@
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
      p {
        margin: 0;
        margin-right: 10px;
      }
@@ -323,13 +443,14 @@
        justify-content: flex-start;
        align-items: flex-start;
        border: 2px dotted #5d78bb;
        padding: 10px 0;
        padding: 10px;
        box-sizing: border-box;
        border-radius: 10px;
        margin-left: 10px;
        margin-top: -50px;
        margin-top: -140px;
        .pdf-view {
          min-width: 160px;
          display: flex;
          flex-direction: column;
          justify-content: center;
@@ -340,9 +461,9 @@
          }
          span {
            min-width: 150px;
            font-size: 14px;
            text-align: center;
            font-family: 'FZLTXIHJW';
          }
          span:hover {
@@ -359,6 +480,10 @@
            /* 标准语法 */
          }
        }
      }
      .pdf-con-15 {
        margin-top: -20px;
      }
    }
@@ -1424,9 +1549,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;
    }
@@ -1441,6 +1570,75 @@
      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 {