From d07c2414b1d7be4a0d601c10987589bd2db83598 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期三, 22 五月 2024 10:16:48 +0800 Subject: [PATCH] 嵌入式 --- src/books/embedded/assets/main.less | 208 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 199 insertions(+), 9 deletions(-) diff --git a/src/books/embedded/assets/main.less b/src/books/embedded/assets/main.less index 470afc7..815a2cf 100644 --- a/src/books/embedded/assets/main.less +++ b/src/books/embedded/assets/main.less @@ -1,6 +1,7 @@ .embedded-book { /* 2.0.0鐗堟湰*/ - + width: 100%; + height: 100%; /*灏侀潰*/ .frontCover { qrfullpage: 1; @@ -606,14 +607,183 @@ } .wr-md { - writing-mode: vertical-rl + writing-mode: vertical-rl; } .fl { - display: flex; + display: flex !important; + } + .fl-cl { + flex-direction: column; + } + .ju-cn { + justify-content: center; + } + .ju-ed { + justify-content: flex-end; + } + .ju-bt { + justify-content: space-between; + } + .al-cn { + align-items: center; + } + .al-end { + align-items: flex-end; } .t0 { text-indent: 0; } + .primary-color { + color: #501438; + } + .fz-18 { + font-size: 18px; + } + .fw-bl { + font-weight: bold; + } + .mr-5 { + margin-right: 5px; + } + .mt-20 { + margin-top: 20px; + } + .mt-100 { + margin-top: 100px; + } + .mb-20 { + margin-bottom: 20px; + } + .mb-40 { + margin-bottom: 40px; + } + .m0-auto { + margin: 0 auto; + } + .pd-104 { + padding-bottom: 104px; + } + .p0 { + padding: 0; + } + ul { + list-style: none; + } + .footer-box { + width: 40px; + height: 4px; + background-color: #501438; + } + .footer-num { + width: min-content; + } + .w-mi { + width: min-content; + } + .w-35 { + width: 35px; + } + .w-45 { + width: 45px; + } + .tl-ju { + text-align: justify; + } + .w100 { + width: 100%; + } + .page-heder-img { + width: 100%; + img { + width: 100%; + } + } + .cl-66 { + color: #666; + } + .wh-no { + white-space: nowrap; + } + .table-cn { + text-align: center; + vertical-align: middle; + } + .input-border { + border: 0; + border-bottom: 1px solid #000; + } + .input-border:focus { + outline: none; + } + .textarea-table-td { + font-size: 16px; + width: 60px; + height: 70px; + border: 0; + font-family: "Microsoft YaHei", "寰蒋闆呴粦", sans-serif; + } + .textarea-table-td:focus { + outline: none; + } + .table-bc { + background-color: #d6c6c7 + // #d6c1c6; + } + .tl-rg { + text-align: right; + } + .rar-icon { + width: 40px; + } + .downlod-icon { + margin-left: 5px; + width: 20px; + } + .rar-text { + font-size: 10px; + color: #666; + } + .pr { + position: relative; + } + .padding-96 { + padding: 0 96px 0px 96px; + } + .p-10 { + padding: 10px 0; + } + .cu-pr { + cursor: pointer; + } + .anzhuang-icon { + width: 30px; + margin-right: 4px; + } + .border-so { + border-bottom: 1px solid #501438; + } + .btn { + cursor: pointer; + border: 2px solid #501438; + border-radius: 4px; + margin-left: 5px; + } + .document-icon { + width: 30px; + } + .word-icon { + width: 50px; + } + .textarea-text:focus { + outline: none; + border-color: #501438; + } + .tl-cn { + text-align: center; + } +} +body { + background-color: #e6e6e6; } /* 濯掍綋鏌ヨ鍋氬熀纭�鍝嶅簲寮忓竷灞� */ @media (max-width: 660px) { @@ -622,9 +792,9 @@ .page-padding { padding: 104px 20px; } - .padding-96 { - padding: 0 20px 104px 20px; - } + // .padding-96 { + // padding: 0 20px 0px 20px; + // } /* video澶у皬 */ .video-box { max-width: 260px; @@ -636,11 +806,31 @@ .page-padding { padding: 104px 96px; } - .padding-96 { - padding: 0 96px 104px 96px; - } + .video-box { max-width: 370px; } } } + +::-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; +} -- Gitblit v1.9.1