From fe0a79a887d42f357829408c6e04d478b108f3d4 Mon Sep 17 00:00:00 2001 From: Tron Date: Wed, 20 Nov 2024 16:54:11 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20v2.4.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 6 ++++ README_zh_CN.md | 3 ++ style/block_attr/list2board.css | 41 ++++++++++++---------- style/block_attr/list2map.css | 61 +++++++++++++++++---------------- style/block_attr/list2table.css | 24 +++++++------ theme.json | 2 +- 6 files changed, 77 insertions(+), 60 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index df30567..2ed4d29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,10 @@ +## v2.4.5 / 2024.11.20 + +- ๐Ÿ’„ ไฟฎๅคๆ€ๆบv3.1.13้€ ๆˆๅˆ—่กจ่ฝฌ่„‘ๅ›พใ€่กจๆ ผใ€็œ‹ๆฟ็š„ๆ ทๅผ้”™ไนฑ้—ฎ้ข˜ + + + ## v2.4.4 / 2024.11.19 - ๐Ÿ’„ ้”™่ฏฏๆถˆๆฏๅผน็ช—็š„ๅ…ณ้—ญๆŒ‰้’ฎไผ˜ๅŒ– diff --git a/README_zh_CN.md b/README_zh_CN.md index f0bf9a6..d11918c 100644 --- a/README_zh_CN.md +++ b/README_zh_CN.md @@ -32,6 +32,9 @@ ## ๐Ÿš€ๆœ€่ฟ‘ๆ›ดๆ–ฐ +v2.4.5 / 2024.11.20 +- ๐Ÿ’„ ไฟฎๅคๆ€ๆบv3.1.13้€ ๆˆๅˆ—่กจ่ฝฌ่„‘ๅ›พใ€่กจๆ ผใ€็œ‹ๆฟ็š„ๆ ทๅผ้”™ไนฑ้—ฎ้ข˜ + v2.3.6 / 2024.11.04 - ๐Ÿ’„ๆŠŠ้ป˜่ฎค็š„ๅผ•่ฟฐๅ—ๆ ทๅผๆ”นไธบ่“่‰ฒไบ† diff --git a/style/block_attr/list2board.css b/style/block_attr/list2board.css index 33a7370..cdeb611 100644 --- a/style/block_attr/list2board.css +++ b/style/block_attr/list2board.css @@ -8,13 +8,16 @@ { display: flex; } -.protyle-wysiwyg *[custom-f~=kb].list[data-node-index]{ +.protyle-wysiwyg [data-type="NodeList"][custom-f~=kb].list[data-node-index]{ width:100%!important; overflow-x:auto;/*ๆบขๅ‡บๆปšๅŠจ*/ padding-bottom:50px; } /* โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”ๆ‰€ๆœ‰ๅญ้กน็›ฎ็š„่กจๆ ผ๏ผˆ้™คๅŽป็ฌฌไธ€ๅˆ—ๅ…ถไฝ™็š„ๅˆ—๏ผ‰๏ผŒๅŒ…ๅซๆบขๅ‡บ็š„็ฉบ็™ฝ้ƒจๅˆ†๏ผŒๆ‰€ไปฅๆ‰ไผšๆœ‰่พนๆก†โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€” */ -.protyle-wysiwyg *[custom-f~=kb] .li .list{ +.protyle-wysiwyg [data-type="NodeList"][custom-f~=kb] .li{ + display: block; +} +.protyle-wysiwyg [data-type="NodeList"][custom-f~=kb] .li .list{ min-width: var(--kbline-boarditem-minwidth); border-radius: 3px; transform: translate(-30px, 0); @@ -26,7 +29,7 @@ /* โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”ๅฏนๆ‰€ๆœ‰ๅญๅˆ—่กจ้กน่ฎพ็ฝฎๆ ผๅผโ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€” */ -.protyle-wysiwyg *[custom-f~=kb] .li .li{ +.protyle-wysiwyg [data-type="NodeList"][custom-f~=kb] .li .li{ border-radius: 3px; padding: 0.4em 0 0.1em 0 ; margin-bottom: 6px; @@ -35,8 +38,8 @@ } /*ๅชๅค„็†ๆฏไธชๅˆ—่กจ็š„็ฌฌไธ€่กŒ*/ -.protyle-wysiwyg *[custom-f~=kb][data-node-index] > div > div:nth-child(2), -.protyle-wysiwyg .sb>*[custom-f~=kb] > div > div:nth-child(2) +.protyle-wysiwyg [data-type="NodeList"][custom-f~=kb][data-node-index] > div > div:nth-child(2), +.protyle-wysiwyg .sb>[data-type="NodeList"][custom-f~=kb] > div > div:nth-child(2) { min-width: var(--kbline-boarditem-minwidth); border-radius: 3px; @@ -44,37 +47,37 @@ left:-30px; margin-bottom: 10px; } -.protyle-wysiwyg *[custom-f~=kb][data-node-index] > div > div:nth-child(2)[data-type="NodeHeading"], -.protyle-wysiwyg .sb>*[custom-f~=kb] > div > div:nth-child(2)[data-type="NodeHeading"] +.protyle-wysiwyg [data-type="NodeList"][custom-f~=kb][data-node-index] > div > div:nth-child(2)[data-type="NodeHeading"], +.protyle-wysiwyg .sb>[data-type="NodeList"][custom-f~=kb] > div > div:nth-child(2)[data-type="NodeHeading"] { padding:5px 0px 7px 30px; } -.protyle-wysiwyg *[custom-f~=kb] .li [data-type="NodeHeading"]>[spellcheck="false"]:after{ +.protyle-wysiwyg [data-type="NodeList"][custom-f~=kb] .li [data-type="NodeHeading"]>[spellcheck="false"]:after{ display:none; }/*ๅ–ๆถˆๆ ‡้ข˜ๅฑ‚็บงๆ็คบ*/ /*ๆ ‡้ข˜่กŒๅพช็Žฏ้ขœ่‰ฒ*/ -.protyle-wysiwyg *[custom-f~=kb][data-node-index] > div:nth-child(4n-3) > div:nth-child(2), -.protyle-wysiwyg .sb>*[custom-f~=kb] > div:nth-child(4n-3) > div:nth-child(2){ +.protyle-wysiwyg [data-type="NodeList"][custom-f~=kb][data-node-index] > div:nth-child(4n-3) > div:nth-child(2), +.protyle-wysiwyg .sb>[data-type="NodeList"][custom-f~=kb] > div:nth-child(4n-3) > div:nth-child(2){ background-color:var(--b3-card-error-background); } -.protyle-wysiwyg *[custom-f~=kb][data-node-index] > div:nth-child(4n-2) > div:nth-child(2), -.protyle-wysiwyg .sb>*[custom-f~=kb] > div:nth-child(4n-2) > div:nth-child(2){ +.protyle-wysiwyg [data-type="NodeList"][custom-f~=kb][data-node-index] > div:nth-child(4n-2) > div:nth-child(2), +.protyle-wysiwyg .sb>[data-type="NodeList"][custom-f~=kb] > div:nth-child(4n-2) > div:nth-child(2){ background-color:var(--b3-card-warning-background); } -.protyle-wysiwyg *[custom-f~=kb][data-node-index] > div:nth-child(4n-1) > div:nth-child(2), -.protyle-wysiwyg .sb>*[custom-f~=kb] > div:nth-child(4n-1) > div:nth-child(2){ +.protyle-wysiwyg [data-type="NodeList"][custom-f~=kb][data-node-index] > div:nth-child(4n-1) > div:nth-child(2), +.protyle-wysiwyg .sb>[data-type="NodeList"][custom-f~=kb] > div:nth-child(4n-1) > div:nth-child(2){ background-color:var(--b3-card-info-background); } -.protyle-wysiwyg *[custom-f~=kb][data-node-index] > div:nth-child(4n) > div:nth-child(2), -.protyle-wysiwyg .sb>*[custom-f~=kb] > div:nth-child(4n) > div:nth-child(2){ +.protyle-wysiwyg [data-type="NodeList"][custom-f~=kb][data-node-index] > div:nth-child(4n) > div:nth-child(2), +.protyle-wysiwyg .sb>[data-type="NodeList"][custom-f~=kb] > div:nth-child(4n) > div:nth-child(2){ background-color:var(--b3-card-success-background); } /*ๅชๅค„็†ๆฏไธชๅˆ—่กจ็ฌฌไธ€่กŒ็š„็‚น*/ -.protyle-wysiwyg *[custom-f~=kb][data-node-index] > div > div:nth-child(1), -.protyle-wysiwyg .sb>*[custom-f~=kb] > div > div:nth-child(1) +.protyle-wysiwyg [data-type="NodeList"][custom-f~=kb][data-node-index] > div > div:nth-child(1), +.protyle-wysiwyg .sb>[data-type="NodeList"][custom-f~=kb] > div > div:nth-child(1) { transform: translate(4px,5px); z-index:2; @@ -86,7 +89,7 @@ } /* ๅฏน้™คไบ†็ฌฌไธ€ๅฑ‚ไน‹ๅค–็š„ๅญๅˆ—่กจ .protyle-action ็งปๅŠจ */ -.protyle-wysiwyg *[custom-f~=kb] .li .list .protyle-action{ +.protyle-wysiwyg [data-type="NodeList"][custom-f~=kb] .li .list .protyle-action{ position: absolute; top: 50%; transform: translate(0, -50%); diff --git a/style/block_attr/list2map.css b/style/block_attr/list2map.css index 30c48dc..48cfb08 100644 --- a/style/block_attr/list2map.css +++ b/style/block_attr/list2map.css @@ -1,49 +1,50 @@ /*โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”ๅˆ—่กจ่ฝฌๅฏผๅ›พโ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”*/ -.protyle-wysiwyg *[custom-f="dt"]{ +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"]{ --b3-border-daotu: 2px solid #3a4c4d; --b3-block-daotu: transparent; } /*โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”ๅˆ—่กจ่ฝฌๅฏผๅ›พโ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”*/ /*ๆ•ดไธชๅฏผๅ›พๅ–ๆถˆ็ผฉ่ฟ›*/ -.protyle-wysiwyg *[custom-f="dt"] .li .list{ +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] .li .list{ padding: 0px; margin: 0px; transition: all 0.5s; } -.protyle-wysiwyg *[custom-f="dt"].list{ +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"].list{ width:100%-50!important; overflow-x:auto;/*ๆบขๅ‡บๆปšๅŠจ*/ padding-bottom:30px!important; margin:10px 4px; } /*ๅญ้กน่ฎพๅ็งป่ฐƒๆ•ด*/ -.protyle-wysiwyg *[custom-f="dt"] [data-node-id].li>[data-node-id]{ +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] [data-node-id].li>[data-node-id]{ margin-left: 20px !important; margin-right: -24px !important; } -.protyle-wysiwyg *[custom-f="dt"] [data-node-id].li>.list{ +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] [data-node-id].li>.list{ padding-left: 20px; } /*ๆ–‡ๅญ—่ฎพ็ฝฎๅฑ…ไธญ*/ -.protyle-wysiwyg *[custom-f="dt"] .li { +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] .li { display: flex; + flex-direction: row !important; } -.protyle-wysiwyg *[custom-f="dt"] .li .p,.protyle-wysiwyg *[custom-f="dt"] .li [data-type="NodeHeading"] { +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] .li .p,.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] .li [data-type="NodeHeading"] { display: flex; align-items: center; left:6px; margin: 0; flex-shrink:0;/*ไธๅŽ‹็ผฉๅฎฝๅบฆ*/ } -.protyle-wysiwyg *[custom-f="dt"] .li [data-type="NodeHeading"]>[spellcheck="false"]:after{ +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] .li [data-type="NodeHeading"]>[spellcheck="false"]:after{ display:none; }/*ๅ–ๆถˆๆ ‡้ข˜ๅฑ‚็บงๆ็คบ*/ -.protyle-wysiwyg *[custom-f="dt"] .li div{ +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] .li div{ border-right:10px solid transparent; } /*ๆ–‡ๅญ—ๆก†*/ -.protyle-wysiwyg *[custom-f="dt"] .li div>div[spellcheck="false"]{ +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] .li div>div[spellcheck="false"]{ margin-left:-8px; padding:5px 0 5px 10px; margin-top:2px; @@ -52,29 +53,29 @@ box-shadow: rgba(15, 15, 15, 0.1) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 2px 4px; max-width:15vw; } -.protyle-wysiwyg *[custom-f="dt"] .li[data-subtype="t"]>[data-node-id]>div[spellcheck="false"] +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] .li[data-subtype="t"]>[data-node-id]>div[spellcheck="false"] { padding:5px 0px 5px 35px; } -.protyle-wysiwyg *[custom-f="dt"] .li[data-subtype="o"]>[data-node-id]>div[spellcheck="false"] +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] .li[data-subtype="o"]>[data-node-id]>div[spellcheck="false"] { padding:5px 10px 5px 25px; } -.protyle-wysiwyg *[custom-f="dt"] .li[data-subtype="t"]>.code-block>.protyle-action{ +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] .li[data-subtype="t"]>.code-block>.protyle-action{ padding:5px 0px 5px 30px; } -.protyle-wysiwyg *[custom-f="dt"] .li[data-subtype="t"]>[data-node-id]>div.hljs +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] .li[data-subtype="t"]>[data-node-id]>div.hljs { padding:30px 0px 22px 30px; } -.protyle-wysiwyg *[custom-f="dt"] .li[data-subtype="o"]>.code-block>.protyle-action{ +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] .li[data-subtype="o"]>.code-block>.protyle-action{ padding:5px 0px 5px 30px; } -.protyle-wysiwyg *[custom-f="dt"] .li[data-subtype="o"]>[data-node-id]>div.hljs +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] .li[data-subtype="o"]>[data-node-id]>div.hljs { padding:30px 0px 22px 30px; } -.protyle-wysiwyg *[custom-f="dt"] .li div>div.hljs{ +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] .li div>div.hljs{ padding:30px 10px 22px; margin-left: 2px; background-color:var(--b3-menu-background); @@ -100,7 +101,7 @@ transform: translate(0, -50%); z-index: 2; } -.protyle-wysiwyg *[custom-f="dt"] [data-subtype="u"][data-node-id].li>.protyle-action:after{ +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] [data-subtype="u"][data-node-id].li>.protyle-action:after{ left:37px; } .list[custom-f="dt"][data-node-id] .protyle-action svg{ @@ -108,7 +109,7 @@ } /*ๅ‰็ปงๆ‰ฟ็บฟ*/ -.protyle-wysiwyg *[custom-f="dt"] .li::before,.protyle-wysiwyg *[custom-f="dt"] .li[fold="1"]::before{ +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] .li::before,.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] .li[fold="1"]::before{ content: ''; position: absolute; top: 50% !important; @@ -118,17 +119,17 @@ } /*ไธŠ็ซ–็บฟ*/ -.protyle-wysiwyg *[custom-f="dt"] .li::before{ +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] .li::before{ bottom: 50%; border-left:var(--b3-border-daotu) !important; left: 0px; } -.protyle-wysiwyg *[custom-f="dt"] .li:hover::before{ +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] .li:hover::before{ border-left:var(--b3-border-daotu); } /*ไธ‹็ซ–็บฟ*/ -.protyle-wysiwyg *[custom-f="dt"] .li::after{ +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] .li::after{ content: ''; position: absolute; bottom: 50%; @@ -137,7 +138,7 @@ height: 50% !important; } /*ๅ•ไธชๅญ้กน็›ด็บฟ*/ -.protyle-wysiwyg *[custom-f="dt"] .list>.li:first-child:nth-last-child(2)::after{ +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] .list>.li:first-child:nth-last-child(2)::after{ width: 0px; } /*ๅ•ไธชๅญ้กน็›ด็บฟๅฏน้ฝไฟฎๆญฃ*/ @@ -147,20 +148,20 @@ margin-bottom:-2px; } /*ๅ•ๅญ้กนๅฑ…ไธญ*/ -.protyle-wysiwyg *[custom-f="dt"] .list>.li:first-child:nth-last-child(2){ +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] .list>.li:first-child:nth-last-child(2){ top: 50% !important; transform: translate(0, -50%); } /*ๅ–ๆถˆๅคšไฝ™็บฟๆก*/ -.protyle-wysiwyg *[custom-f="dt"] .li:first-child::after,.protyle-wysiwyg *[custom-f="dt"] .li:nth-last-child(2)::before{ +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] .li:first-child::after,.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] .li:nth-last-child(2)::before{ border:none!important; } /*ไธŠๆก†็บฟ*/ -.protyle-wysiwyg *[custom-f="dt"] .li:first-child::before{ +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] .li:first-child::before{ border-radius:5px 0 0 0 ; } /*ไธ‹ๆก†็บฟ*/ -.protyle-wysiwyg *[custom-f="dt"] .li:nth-last-child(2)::after{ +.protyle-wysiwyg [data-type="NodeList"][custom-f="dt"] .li:nth-last-child(2)::after{ border-bottom:var(--b3-border-daotu)!important; border-radius:0 0 0 5px; } @@ -175,12 +176,12 @@ height: 0 !important; } /*ๅ–ๆถˆๆ น็›ฎๅฝ•็บฟ*/ -/* div *[custom-f="dt"]>[data-type="NodeListItem"]::before, -div *[custom-f="dt"]>[data-type="NodeListItem"]::after{ +/* div [data-type="NodeList"][custom-f="dt"]>[data-type="NodeListItem"]::before, +div [data-type="NodeList"][custom-f="dt"]>[data-type="NodeListItem"]::after{ display: none; } */ /*ๆ น็›ฎๅฝ•ๆœ€ๅฐๅฎฝๅบฆ๏ผŒไฟ่ฏๅ—ๆ ‡ๅฏ็‚น*/ -div *[custom-f="dt"]>[data-type="NodeListItem"]>[data-type="NodeParagraph"]>[spellcheck="false"]{ +div [data-type="NodeList"][custom-f="dt"]>[data-type="NodeListItem"]>[data-type="NodeParagraph"]>[spellcheck="false"]{ min-width:50px; } diff --git a/style/block_attr/list2table.css b/style/block_attr/list2table.css index 19865dc..007307f 100644 --- a/style/block_attr/list2table.css +++ b/style/block_attr/list2table.css @@ -7,7 +7,7 @@ } /* โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”ๆ‰€ๆœ‰ๅญ้กน็›ฎ็š„่กจๆ ผ๏ผˆ้™คๅŽป็ฌฌไธ€ๅˆ—ๅ…ถไฝ™็š„ๅˆ—๏ผ‰๏ผŒๅŒ…ๅซๆบขๅ‡บ็š„็ฉบ็™ฝ้ƒจๅˆ†๏ผŒๆ‰€ไปฅๆ‰ไผšๆœ‰่พนๆก†โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€” */ -.protyle-wysiwyg *[custom-f="bg"] .li .list { +.protyle-wysiwyg [data-type="NodeList"][custom-f="bg"] .li .list { padding: 0px; margin: 0px !important; width:100%; @@ -16,25 +16,26 @@ } /* โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”ๅฏนๆ‰€ๆœ‰ๅญๅˆ—่กจ้กน่ฎพ็ฝฎๆ ผๅผโ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€” */ -.protyle-wysiwyg *[custom-f="bg"] .li { +.protyle-wysiwyg [data-type="NodeList"][custom-f="bg"] .li { display: flex; + flex-direction: row !important; outline: 1px solid #383e3e; background-color: var(--b3-theme-background); border-radius: 0px !important; } /* โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”่ฐƒๆ•ดๆฏไธชๅญๅˆ—่กจ้กนๅณไพง่พน่ทโ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€” */ -.protyle-wysiwyg *[custom-f="bg"] .li>div { +.protyle-wysiwyg [data-type="NodeList"][custom-f="bg"] .li>div { margin-right: 20px; } /* โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”ๅคง็ฅžๅขžๅŠ ไปฃ็ โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€” */ -.protyle-wysiwyg *[custom-f="bg"] [data-node-id].li>[data-node-id] { +.protyle-wysiwyg [data-type="NodeList"][custom-f="bg"] [data-node-id].li>[data-node-id] { margin-left: 6px !important; } /* โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”ๅฏน็ฌฆๅทๅŽๆ–‡ๅญ—่ฎพ็ฝฎๆ ผๅผโ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€” */ -.protyle-wysiwyg *[custom-f="bg"] .p { +.protyle-wysiwyg [data-type="NodeList"][custom-f="bg"] .p { flex: 1; left:18px; text-align: left; @@ -45,11 +46,11 @@ height:auto; margin: 0; } -.protyle-wysiwyg *[custom-f="bg"] .li>.list>.li { +.protyle-wysiwyg [data-type="NodeList"][custom-f="bg"] .li>.list>.li { outline: none !important; border-top:1px solid #383e3e; } -.protyle-wysiwyg *[custom-f="bg"] .li>.list>.li:first-of-type { +.protyle-wysiwyg [data-type="NodeList"][custom-f="bg"] .li>.list>.li:first-of-type { border-top: none; } /* โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”ๅŽป้™คๅฐ็ซ–็บฟโ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€” */ @@ -66,20 +67,20 @@ } /*ๅ•ๅญ้กนๅฑ…ไธญ*/ -.protyle-wysiwyg *[custom-f="bg"] .list>.li:first-child:nth-last-child(2){ +.protyle-wysiwyg [data-type="NodeList"][custom-f="bg"] .list>.li:first-child:nth-last-child(2){ top: 50%; transform: translate(0, -50%); height:100%; } -.protyle-wysiwyg *[custom-f="bg"] .li [data-type="NodeHeading"]>[spellcheck]:after{ +.protyle-wysiwyg [data-type="NodeList"][custom-f="bg"] .li [data-type="NodeHeading"]>[spellcheck]:after{ display:none; }/*ๅ–ๆถˆๆ ‡้ข˜ๅฑ‚็บงๆ็คบ*/ -.protyle-wysiwyg *[custom-f="bg"] .code-block { +.protyle-wysiwyg [data-type="NodeList"][custom-f="bg"] .code-block { width:calc(100% - 12px); } @@ -87,3 +88,6 @@ /* ---------------------------------------------------------ๅˆ—่กจ่ฝฌๅŒ–ไธบ่กจๆ ผ END-------------------------------------------------- */ + + + diff --git a/theme.json b/theme.json index a6e1f49..8b43d91 100644 --- a/theme.json +++ b/theme.json @@ -2,7 +2,7 @@ "name": "Tsundoku", "author": "Achuan-2", "url": "https://github.com/Achuan-2/siyuan-themes-tsundoku", - "version": "2.4.4", + "version": "2.4.5", "displayName": { "default": "Tsundoku", "zh_CN": "็ฉ่ชญ"