From 58a1f8c0fe7c46f21382f6359be02a8e375ece04 Mon Sep 17 00:00:00 2001 From: unknown <qq1940665526@163.com> Date: 星期三, 05 六月 2024 17:59:48 +0800 Subject: [PATCH] 体育与健康样章 --- src/books/sportsAndHealth/css/default.less | 246 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 236 insertions(+), 10 deletions(-) diff --git a/src/books/sportsAndHealth/css/default.less b/src/books/sportsAndHealth/css/default.less index ea4b664..ecfdf66 100644 --- a/src/books/sportsAndHealth/css/default.less +++ b/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; @@ -66,6 +72,7 @@ position: relative; .bj-chapter001-bj-icon { + width: 100%; padding-top: 15px; } @@ -84,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 { + /* 杩欓噷鍙互娣诲姞鑷畾涔夌殑鏍峰紡浠g爜 */ + 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 { @@ -151,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 { @@ -161,6 +279,7 @@ padding: 3px 10px; font-size: 14px; line-height: 25px; + font-family: 'FZLTXIHJW'; input { cursor: pointer; @@ -311,8 +430,10 @@ display: flex; justify-content: space-between; align-items: center; + margin-bottom: 20px; p { + margin: 0; margin-right: 10px; } @@ -322,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; @@ -339,9 +461,9 @@ } span { - min-width: 150px; font-size: 14px; text-align: center; + font-family: 'FZLTXIHJW'; } span:hover { @@ -359,6 +481,10 @@ } } } + + .pdf-con-15 { + margin-top: -20px; + } } .public-tips { @@ -370,10 +496,11 @@ .xyx-title { - font-family: "STKaiti"; + font-family: "FZLTXIHJW"; text-align: center; color: #cd141c; padding: 5px 0; + font-weight: 700; } .xyx-text { @@ -381,6 +508,7 @@ font-size: 16px; font-family: 'FZLTXIHJW'; padding: 0 10px; + margin: 0; } .finishiText { @@ -409,11 +537,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 { @@ -435,16 +571,33 @@ .xyx-ul { font-size: 16px; - font-family: "DK-HEITI", "鏂规鍏颁涵榛戠畝浣�", "榛戜綋"; + 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 { @@ -1396,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; } @@ -1413,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 { -- Gitblit v1.9.1