From 00cc9290df65a9ccbc381b6b1c1e63f7aa66ac11 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期二, 23 七月 2024 14:21:47 +0800 Subject: [PATCH] 1 --- src/books/sportsAndHealth/css/default.less | 334 +++++++++++++++++++++++++++++++++++++++++++------------ 1 files changed, 261 insertions(+), 73 deletions(-) diff --git a/src/books/sportsAndHealth/css/default.less b/src/books/sportsAndHealth/css/default.less index f777519..000358d 100644 --- a/src/books/sportsAndHealth/css/default.less +++ b/src/books/sportsAndHealth/css/default.less @@ -18,10 +18,9 @@ font-size: 18px; .chapter { - textarea { width: 100%; - font-family: 'FZLTXIHJW'; + font-family: "FZLTXIHJW"; padding: 2px 5px; box-sizing: border-box; } @@ -45,25 +44,29 @@ box-sizing: border-box; } - .bodystyle-chapter001 { + .gif-Con { + max-width: 200px; + } + + .bodystyle-chapter { display: flex; justify-content: space-between; align-items: center; width: 100%; position: relative; - .bj-chapter001-bj-icon { + .bj-chapter-bj-icon { width: 100%; padding-top: 15px; } - .bj-chapter001-con { + .bj-chapter-con { width: 60%; position: absolute; left: 0; top: 5%; - .bj-chapter001-con-icon { + .bj-chapter-con-icon { width: 100%; img { @@ -71,6 +74,74 @@ width: 100%; } } + } + } + + .header-odd { + width: 100%; + height: 100px; + display: flex; + justify-content: flex-end; + align-items: flex-end; + + span { + margin-right: 28px; + font-family: "FZLTXIHJW"; + font-size: 18px; + } + span:nth-child(3) { + margin-right: 0; + } + + .mk { + color: #f39938; + font-weight: 700; + } + + .sub { + color: #808285; + font-weight: 600; + } + + .sub-title { + color: #a8a9ad; + } + + .sub-page { + color: #a8a9ad; + } + } + + .line-page { + width: 1px; + height: 100%; + border-left: 2px dotted #eee; + margin: 0 14px; + } + + .header-even { + width: 100%; + height: 100px; + display: flex; + justify-content: flex-start; + align-items: flex-end; + span { + margin-left: 28px; + font-family: "FZLTXIHJW"; + font-size: 18px; + } + + .sub-page { + color: #a8a9ad; + } + + .book-title { + color: #f39938; + font-weight: 700; + } + + span:nth-child(3) { + margin-left: 0; } } @@ -101,7 +172,7 @@ span { font-size: 14px; text-align: center; - font-family: 'FZLTXIHJW'; + font-family: "FZLTXIHJW"; display: flex; align-items: center; justify-content: flex-start; @@ -169,7 +240,7 @@ justify-content: center; font-size: 14px; text-align: center; - font-family: 'FZLTXIHJW'; + font-family: "FZLTXIHJW"; } } } @@ -193,7 +264,7 @@ justify-content: center; align-items: center; padding-top: 20px; - font-family: 'FZLTXIHJW'; + font-family: "FZLTXIHJW"; .table-bottom { width: 100%; @@ -212,12 +283,13 @@ span { display: block; - height: 25px; - line-height: 15px; + height: 30px; + line-height: 19px; border: 1px solid #89a0d0; padding: 5px 15px; box-sizing: border-box; border-radius: 5px; + font-size: 14px; cursor: pointer; -webkit-user-select: none; /* Safari 3.1+ */ @@ -231,7 +303,7 @@ span:hover { background-color: #89a0d0; - color: #FFF; + color: #fff; } span:nth-child(1) { @@ -254,9 +326,9 @@ text-align: center; padding: 5px 10px; font-size: 14px; - font-family: 'FZLTXIHJW'; + font-family: "FZLTXIHJW"; font-weight: 900; - min-width: 35px + min-width: 35px; } tr td { @@ -265,7 +337,7 @@ padding: 3px 10px; font-size: 14px; line-height: 25px; - font-family: 'FZLTXIHJW'; + font-family: "FZLTXIHJW"; input { cursor: pointer; @@ -274,30 +346,36 @@ } } + .textHeader { + min-height: 1150px; + } + .bj-img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; - background: url('../image/dy1.jpg'); + background: url("../image/dy1.jpg"); background-position: top; background-size: 100% 50%; background-repeat: no-repeat; display: flex; justify-content: flex-start; + } - .bj-empyt-chapter01 { - width: 40%; - height: 100%; - } + .bj-empyt-chapter { + width: 40%; + height: 100%; + margin-right: 5%; + } - .bj-text01 { - width: 60%; - height: 50%; - padding-top: 60%; - padding-right: 10%; - } + .bj-text { + padding-top: 60%; + padding-right: 10%; + float: right; + height: auto; + width: 100%; } .bj-img02 { @@ -306,24 +384,12 @@ top: 0; width: 100%; height: 100%; - background: url('../image/dy2.jpg'); + background: url("../image/dy2.jpg"); background-position: top; background-size: 100% 50%; background-repeat: no-repeat; display: flex; justify-content: flex-start; - - .bj-empyt-chapter02 { - width: 40%; - height: 100%; - } - - .bj-text02 { - width: 60%; - height: 50%; - padding-top: 60%; - padding-right: 10%; - } } .bj-img03 { @@ -332,24 +398,12 @@ top: 0; width: 100%; height: 98%; - background: url('../image/dy3.jpg'); + background: url("../image/dy3.jpg"); background-position: top; background-size: 100% 45%; background-repeat: no-repeat; display: flex; justify-content: flex-start; - - .bj-empyt-chapter03 { - width: 40%; - height: 100%; - } - - .bj-text03 { - width: 60%; - height: 50%; - padding-top: 50%; - padding-right: 10%; - } } .bj-byb { @@ -365,9 +419,8 @@ p { font-size: 16px; - font-family: 'FZLTXIHJW'; + font-family: "FZLTXIHJW"; } - } .bk-xyx { @@ -514,7 +567,7 @@ span { font-size: 14px; text-align: center; - font-family: 'FZLTXIHJW'; + font-family: "FZLTXIHJW"; display: flex; align-items: center; justify-content: flex-start; @@ -555,8 +608,8 @@ margin: 0; // font-weight: 900; margin-bottom: 10px; + text-indent: 2em; } - .xyx-title { font-family: "FZLTXIHJW"; @@ -569,7 +622,7 @@ .xyx-text { p { font-size: 16px; - font-family: 'FZLTXIHJW'; + font-family: "FZLTXIHJW"; padding: 0 10px; margin: 0; } @@ -660,7 +713,7 @@ background-color: transparent; border-bottom: 1px solid #000; font-size: 18px; - font-family: '瀹嬩綋'; + font-family: "瀹嬩綋"; } .assess:focus { @@ -745,7 +798,7 @@ font-family: "瀹嬩綋"; font-size: 18px; text-align: justify; - padding: 10% 10%; + padding: 6% 10% 10% 10%; box-sizing: border-box; line-height: 30px; } @@ -1496,7 +1549,7 @@ border: 1px solid #89a0d0; border-radius: 5px; font-size: 14px; - font-family: 'FZLTXIHJW'; + font-family: "FZLTXIHJW"; text-indent: 2em; line-height: 22px; padding: 2px 5px; @@ -1635,7 +1688,7 @@ } .bj1-mk { - background-image: url('../image/mk.png'); + background-image: url("../image/mk.png"); background-position: center; background-repeat: no-repeat; background-size: 100% 100%; @@ -1659,6 +1712,15 @@ @media screen and (max-width: 800px) { .chapter { + .coverImg { + height: 100%; + overflow: hidden; + } + + .page-box { + min-height: 1000px !important; + } + .pdf-tips-con { width: 100%; min-width: 200px; @@ -1671,22 +1733,19 @@ .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; + top: 0 !important; .pdf-item { display: flex; flex-direction: column; - justify-content: flex-start; + justify-content: center; align-items: center; img { @@ -1694,10 +1753,9 @@ } span { - min-width: 150px; font-size: 14px; text-align: center; - font-family: 'FZLTXIHJW'; + font-family: "FZLTXIHJW"; line-height: 20px; } @@ -1724,6 +1782,139 @@ justify-content: center; flex-wrap: wrap; } + + .bj-img { + display: flex; + flex-direction: column; + justify-content: flex-start; + background-size: 100% 50%; + } + + .bj-img02 { + display: flex; + flex-direction: column; + justify-content: flex-start; + background-size: 100% 50%; + } + + .bj-img02 { + display: flex; + flex-direction: column; + justify-content: flex-start; + background-size: 100% 50%; + } + + .bj-empyt-chapter { + height: 50%; + } + + .bj-text { + width: 100%; + padding-top: 0%; + padding: 0 10%; + box-sizing: border-box; + } + + .tablePublic table tr th { + padding: 0; + width: auto !important; + } + + div.bk-xyx { + padding: 2.5em 1.2em; + } + } + } + + @media screen and (max-width: 700px) { + .chapter { + .coverImg { + margin: 0; + } + + .page-box { + min-height: 800px !important; + } + + .img-float { + width: 130px; + } + + .bodystyle-chapter { + flex-direction: column; + + .bj-chapter-con { + width: auto; + position: relative; + } + } + } + } + + @media screen and (max-width: 600px) { + .chapter { + .coverImg { + margin: 0; + height: 100%; + } + + .page-box { + min-height: 500px !important; + margin-bottom: 20px; + } + + .bj-img { + display: flex; + flex-direction: column; + justify-content: flex-start; + background-size: 100% 30%; + } + + .bj-img02 { + display: flex; + flex-direction: column; + justify-content: flex-start; + background-size: 100% 30%; + } + + .bj-img03 { + display: flex; + flex-direction: column; + justify-content: flex-start; + background-size: 100% 20%; + + .bj-text { + width: 100%; + padding-top: 0%; + padding: 35% 10% 0 10% !important; + box-sizing: border-box; + + p { + line-height: 28px; + } + } + } + + .pdf-text { + .pdf-con { + flex-direction: column; + + .pdf-view { + margin-bottom: 10px; + } + } + } + + .bj-empyt-chapter { + height: 30%; + } + + .bj-text { + width: 100%; + padding-top: 0%; + padding: 0 10%; + box-sizing: border-box; + } } } } @@ -1731,8 +1922,7 @@ } - -.tablePublic input[type="checkbox"]:checked+.checkmark { +.tablePublic input[type="checkbox"]:checked + .checkmark { background: #000 !important; /* 閫変腑鏃剁殑鑳屾櫙鑹� */ } @@ -1762,8 +1952,6 @@ user-select: none; } - - body { background-color: #e6e6e6; -} \ No newline at end of file +} -- Gitblit v1.9.1