From 814daef3a56fb5240706192e133a014866308b8e Mon Sep 17 00:00:00 2001 From: KirisameSoup Date: Sat, 11 Nov 2023 00:44:42 +0800 Subject: [PATCH] tiny fix - giscus --- _site/assets/css/giscus.css | 2 +- _site/assets/css/giscus.css.map | 2 +- assets/css/giscus.scss | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_site/assets/css/giscus.css b/_site/assets/css/giscus.css index 6896fb4..783ae2c 100644 --- a/_site/assets/css/giscus.css +++ b/_site/assets/css/giscus.css @@ -1 +1 @@ -html{position:absolute;left:0;right:1px;font-size:15px !important;color:#44d}.gsc-comments>.gsc-comment-box,.gsc-timeline{width:unset;margin-inline:1em}html{font-family:"fusion","fusion-fallback",monospace}code,kbd,pre,samp{font-family:"ibm","ibm-fallback",monospace}@font-face{font-family:"fusion";src:url(https://kirisoup.github.io/assets/font/fusion-pixel-10px-monospaced-zh_hant.ttf)}@font-face{font-family:"ibm";src:url(https://kirisoup.github.io/assets/font/IBM3161.ttf)}@font-face{font-family:"fusion-fallback";src:url(https://ghproxy.com/https://raw.githubusercontent.com/Kirisoup/kirisoup.github.io/main/assets/font/fusion-pixel-10px-monospaced-zh_hant.ttf)}@font-face{font-family:"ibm-fallback";src:url(https://ghproxy.com/https://raw.githubusercontent.com/Kirisoup/kirisoup.github.io/main/assets/font/IBM3161.ttf)}.color-bg-default,.color-bg-primary,.color-bg-overlay,.gsc-comments .gsc-comment-box-tabs button.color-bg-canvas,.gsc-reply-box button{background:#fff !important}.gsc-header,.gsc-header a[href="https://giscus.app"],.gsc-comment-header,.gsc-comment-box-tabs,.gsc-comment-box-bottom,.gsc-reply-box,.gsc-reactions-popover .text-ellipsis{background:#d1d1f7 !important}.gsc-comment-box-bottom svg,.gsc-reactions-button svg{height:1.5em;width:auto;image-rendering:pixelated;background-size:cover !important}.gsc-comment-box-bottom svg path,.gsc-reactions-button svg path{display:none}.gsc-comment-box-bottom svg{height:1em;margin-right:.2rem !important;background:url(https://kirisoup.github.io/assets/image/button/close.gif)}.gsc-reactions-button svg{background:url(https://kirisoup.github.io/assets/image/button/smile.gif)}.gsc-upvote-button svg{margin-left:.5em;background:url(https://kirisoup.github.io/assets/image/button/up.gif)}.gsc .gsc-upvote-button svg path{display:none}.gsc-header{box-shadow:inset -2px -2px #44d,inset 2px 2px #fff,inset -4px -4px #aaaae8,inset 4px 4px #e8e8fb,inset 0 0 0 8px #d1d1f7}.gsc-comment-box{box-shadow:inset -2px -2px #44d,inset 2px 2px #fff,inset -4px -4px #aaaae8,inset 4px 4px #e8e8fb,inset 0 0 0 8px #d1d1f7,inset 2px 26px 0 8px #44d,inset -2px -39px 0 8px #e8e8fb}.gsc-comment-box-tabs{box-shadow:inset -2px 0 #44d,inset 2px 2px #fff,inset -4px 0 #aaaae8,inset 4px 4px #e8e8fb,inset 0 0 0 8px #d1d1f7}.gsc-comment>div{box-shadow:inset -2px -2px #44d,inset 2px 2px #fff,inset -4px -4px #aaaae8,inset 4px 4px #e8e8fb,inset 0 0 0 8px #d1d1f7,inset 2px 35px 0 8px #44d,inset -2px -2px 0 8px #e8e8fb}.gsc-comment>div:has(.gsc-reply-box){box-shadow:inset -2px -2px #44d,inset 2px 2px #fff,inset -4px -4px #aaaae8,inset 4px 4px #e8e8fb,inset 0 0 0 8px #d1d1f7,inset 2px 35px 0 8px #44d,inset -2px -39px 0 8px #e8e8fb}.gsc-reply-box{box-shadow:inset -2px -2px #44d,inset 2px 0 #fff,inset -4px -4px #aaaae8,inset 4px 0 #e8e8fb}.gsc-reactions-popover{box-shadow:inset -2px -2px #44d,inset 2px 2px #fff,inset -4px -4px #aaaae8,inset 4px 4px #e8e8fb,inset 0 0 0 8px #d1d1f7,inset 2px 37px 0 8px #44d,inset -2px -2px 0 8px #e8e8fb}.gsc-direct-reaction-button{padding-block:.2em;box-shadow:inset -1.5px -1.5px #44d,inset 1.5px 1.5px #d1d1f7,inset -3px -3px #a2a2ee,inset 3px 3px #e8e8fb}.gsc-comments{gap:1rem;font-size:1em}.gsc-comments .gsc-header{padding:.5em;border:1px #44d solid}.gsc-comments .gsc-header .gsc-left-header{margin-left:.5em;flex-wrap:nowrap !important}.gsc-comments .gsc-header .gsc-left-header em:has(a[href="https://giscus.app"]){visibility:hidden;font-size:0 !important;position:absolute;right:4px;top:4px}.gsc-comments .gsc-header .gsc-left-header a[href="https://giscus.app"]{visibility:visible;font-size:1rem;line-height:1.8rem;padding:.2em .5em;opacity:0}.gsc-comments .gsc-header .gsc-left-header a[href="https://giscus.app"]::before{content:">> "}.gsc-comments .gsc-header:hover a[href="https://giscus.app"]{opacity:1}.gsc-comments .gsc-comment-box{overflow:hidden}.gsc-comments .gsc-comment-box-tabs button{padding:.25em .5em !important}.gsc-comments .gsc-comment-box-tabs>div:has(button){margin:.5em !important;margin-bottom:-2px !important;margin-left:14px !important;margin-min-width:max-content}.gsc-comments .gsc-comment-box-main{margin-inline:14px}.gsc-comments .gsc-comment-box-textarea,.gsc-comments .gsc-comment-box-preview{min-height:3em}.gsc-comments .gsc-comment-box-bottom{padding:5px 10px 5px 10px;margin:0 4px 4px 4px !important}.gsc-comments .gsc-comment{position:relative}.gsc-comments .gsc-comment-header{margin:4px 4px 0 4px;padding:5px !important}.gsc-comments .gsc-comment-content{padding-inline:14px !important}.gsc-comments .gsc-replies{padding:unset}.gsc-comments .gsc-reply{position:relative;padding:.25em .5rem;margin-inline:10px}.gsc-comments .gsc-reply:has(+.gsc-reply){padding-bottom:0}.gsc-comments .gsc-reply:has(+.gsc-reply) .ml-2{border-bottom:2px solid}.gsc-comments .gsc-reply+.gsc-reply{padding-top:0}.gsc-comments .gsc-reply+.gsc-reply .gsc-reply-header{margin-top:1em !important}.gsc-comments .gsc-reply-author-avatar{padding-right:.5em;border-right:1px #44d solid}.gsc-comments .gsc-reply .ml-2{margin-right:.5em;padding-bottom:.5em}.gsc-comments .gsc-reply-header{margin-block:0 !important;padding-block:0 !important}.gsc-comments .gsc-comment-content,.gsc-comments .gsc-reply-content{padding-block:.75em !important}.gsc-comments .gsc-comment-author-avatar img,.gsc-comments .gsc-reply-author-avatar img{height:2em;width:auto}.gsc-comments .gsc-comment-reactions{gap:.2em;align-items:center;margin-left:12px}.gsc-comments .gsc-reply-reactions{margin-left:.2em}.gsc-comments .gsc-social-reaction-summary-item{height:auto}.gsc-comments .gsc-social-reaction-summary-item-count{line-height:1em;margin:0}.gsc-comments .gsc-reactions-button{height:2em;width:2em;border:none}.gsc-comments .gsc-reactions-popover{left:-1.73em !important;margin:0 !important}.gsc-comments .gsc-reactions-popover.open:before{content:unset}.gsc-comments .gsc-reactions-popover div.m-2{margin:14px !important}.gsc-comments .gsc-reactions-popover .text-ellipsis{margin:4px !important;padding:10px}.border-t,.gsc-comment-box-tabs,.gsc-replies,.gsc-reply-box,.gsc-reply-author-avatar,.gsc-header,.gsc-comment-box,.gsc-comment>div,.gsc-reactions-popover,.gsc-direct-reaction-button{border:none !important}.gsc-comment-box-tabs button{border-bottom:none}.border-t,.gsc-comment-box-tabs{border-bottom:inherit}.gsc-replies,.gsc-reply-box{border-top:inherit}.gsc-reply-author-avatar{border-right:inherit !important}.color-border-primary,.color-box-border-info,.gsc-header,.gsc-comment-box-buttons button,.gsc-comment-box-buttons a,.gsc-reply-box,.gsc-reply-author-avatar,.gsc-comment-box-textarea{border-width:2px !important}.gsc-reply-box,.gsc-comment-box,.gsc-comment-box-tabs,.gsc-comment-box-write,.gsc-comment-box-textarea,.gsc-comment-box-textarea-extras,.gsc-reactions-popover,.gsc-social-reaction-summary-item,.rounded,.rounded-t,.rounded-md,.rounded-full,.BtnGroup,.BtnGroup-item{border-radius:unset !important}.gsc-comment-box-md-toolbar,button s,.gsc-right-header,.gsc-reply-footer,.gsc-reply-author-avatar img,.gsc-comment-replies-count,.gsc-comment-box-textarea-extras{display:none}/*# sourceMappingURL=giscus.css.map */ \ No newline at end of file +html{position:absolute;left:0;right:1px;font-size:15px !important;color:#44d}.gsc-comments>.gsc-comment-box,.gsc-timeline{width:unset;margin-inline:1em}html{font-family:"fusion","fusion-fallback",monospace}code,kbd,pre,samp{font-family:"ibm","ibm-fallback",monospace}@font-face{font-family:"fusion";src:url(https://kirisoup.github.io/assets/font/fusion-pixel-10px-monospaced-zh_hant.ttf)}@font-face{font-family:"ibm";src:url(https://kirisoup.github.io/assets/font/IBM3161.ttf)}@font-face{font-family:"fusion-fallback";src:url(https://ghproxy.com/https://raw.githubusercontent.com/Kirisoup/kirisoup.github.io/main/assets/font/fusion-pixel-10px-monospaced-zh_hant.ttf)}@font-face{font-family:"ibm-fallback";src:url(https://ghproxy.com/https://raw.githubusercontent.com/Kirisoup/kirisoup.github.io/main/assets/font/IBM3161.ttf)}.color-bg-default,.color-bg-primary,.color-bg-overlay,.gsc-comments .gsc-comment-box-tabs button.color-bg-canvas,.gsc-reply-box button{background:#fff !important}.gsc-header,.gsc-header a[href="https://giscus.app"],.gsc-comment-header,.gsc-comment-box-tabs,.gsc-comment-box-bottom,.gsc-reply-box,.gsc-reactions-popover .text-ellipsis{background:#d1d1f7 !important}.gsc-comment-box-bottom svg,.gsc-reactions-button svg,.gsc-upvote-button svg{height:1.5em;width:auto;image-rendering:pixelated;background-size:cover !important}.gsc-comment-box-bottom svg path,.gsc-reactions-button svg path,.gsc-upvote-button svg path{display:none}.gsc-comment-box-bottom svg{height:1em;margin-right:.2rem !important;background:url(https://kirisoup.github.io/assets/image/button/close.gif)}.gsc-reactions-button svg{background:url(https://kirisoup.github.io/assets/image/button/smile.gif)}.gsc-upvote-button svg{margin-left:.5em;background:url(https://kirisoup.github.io/assets/image/button/up.gif)}.gsc .gsc-upvote-button svg path{display:none}.gsc-header{box-shadow:inset -2px -2px #44d,inset 2px 2px #fff,inset -4px -4px #aaaae8,inset 4px 4px #e8e8fb,inset 0 0 0 8px #d1d1f7}.gsc-comment-box{box-shadow:inset -2px -2px #44d,inset 2px 2px #fff,inset -4px -4px #aaaae8,inset 4px 4px #e8e8fb,inset 0 0 0 8px #d1d1f7,inset 2px 26px 0 8px #44d,inset -2px -39px 0 8px #e8e8fb}.gsc-comment-box-tabs{box-shadow:inset -2px 0 #44d,inset 2px 2px #fff,inset -4px 0 #aaaae8,inset 4px 4px #e8e8fb,inset 0 0 0 8px #d1d1f7}.gsc-comment>div{box-shadow:inset -2px -2px #44d,inset 2px 2px #fff,inset -4px -4px #aaaae8,inset 4px 4px #e8e8fb,inset 0 0 0 8px #d1d1f7,inset 2px 35px 0 8px #44d,inset -2px -2px 0 8px #e8e8fb}.gsc-comment>div:has(.gsc-reply-box){box-shadow:inset -2px -2px #44d,inset 2px 2px #fff,inset -4px -4px #aaaae8,inset 4px 4px #e8e8fb,inset 0 0 0 8px #d1d1f7,inset 2px 35px 0 8px #44d,inset -2px -39px 0 8px #e8e8fb}.gsc-reply-box{box-shadow:inset -2px -2px #44d,inset 2px 0 #fff,inset -4px -4px #aaaae8,inset 4px 0 #e8e8fb}.gsc-reactions-popover{box-shadow:inset -2px -2px #44d,inset 2px 2px #fff,inset -4px -4px #aaaae8,inset 4px 4px #e8e8fb,inset 0 0 0 8px #d1d1f7,inset 2px 37px 0 8px #44d,inset -2px -2px 0 8px #e8e8fb}.gsc-direct-reaction-button{padding-block:.2em;box-shadow:inset -1.5px -1.5px #44d,inset 1.5px 1.5px #d1d1f7,inset -3px -3px #a2a2ee,inset 3px 3px #e8e8fb}.gsc-comments{gap:1rem;font-size:1em}.gsc-comments .gsc-header{padding:.5em;border:1px #44d solid}.gsc-comments .gsc-header .gsc-left-header{margin-left:.5em;flex-wrap:nowrap !important}.gsc-comments .gsc-header .gsc-left-header em:has(a[href="https://giscus.app"]){visibility:hidden;font-size:0 !important;position:absolute;right:4px;top:4px}.gsc-comments .gsc-header .gsc-left-header a[href="https://giscus.app"]{visibility:visible;font-size:1rem;line-height:1.8rem;padding:.2em .5em;opacity:0}.gsc-comments .gsc-header .gsc-left-header a[href="https://giscus.app"]::before{content:">> "}.gsc-comments .gsc-header:hover a[href="https://giscus.app"]{opacity:1}.gsc-comments .gsc-comment-box{overflow:hidden}.gsc-comments .gsc-comment-box-tabs button{padding:.25em .5em !important}.gsc-comments .gsc-comment-box-tabs>div:has(button){margin:.5em !important;margin-bottom:-2px !important;margin-left:14px !important;margin-min-width:max-content}.gsc-comments .gsc-comment-box-main{margin-inline:14px}.gsc-comments .gsc-comment-box-textarea,.gsc-comments .gsc-comment-box-preview{min-height:3em}.gsc-comments .gsc-comment-box-bottom{padding:5px 10px 5px 10px;margin:0 4px 4px 4px !important}.gsc-comments .gsc-comment{position:relative}.gsc-comments .gsc-comment-header{margin:4px 4px 0 4px;padding:5px !important}.gsc-comments .gsc-comment-content{padding-inline:14px !important}.gsc-comments .gsc-replies{padding:unset}.gsc-comments .gsc-reply{position:relative;padding:.25em .5rem;margin-inline:10px}.gsc-comments .gsc-reply:has(+.gsc-reply){padding-bottom:0}.gsc-comments .gsc-reply:has(+.gsc-reply) .ml-2{border-bottom:2px solid}.gsc-comments .gsc-reply+.gsc-reply{padding-top:0}.gsc-comments .gsc-reply+.gsc-reply .gsc-reply-header{margin-top:1em !important}.gsc-comments .gsc-reply-author-avatar{padding-right:.5em;border-right:1px #44d solid}.gsc-comments .gsc-reply .ml-2{margin-right:.5em;padding-bottom:.5em}.gsc-comments .gsc-reply-header{margin-block:0 !important;padding-block:0 !important}.gsc-comments .gsc-comment-content,.gsc-comments .gsc-reply-content{padding-block:.75em !important}.gsc-comments .gsc-comment-author-avatar img,.gsc-comments .gsc-reply-author-avatar img{height:2em;width:auto}.gsc-comments .gsc-comment-reactions{gap:.2em;align-items:center;margin-left:12px}.gsc-comments .gsc-reply-reactions{margin-left:.2em}.gsc-comments .gsc-social-reaction-summary-item{height:auto}.gsc-comments .gsc-social-reaction-summary-item-count{line-height:1em;margin:0}.gsc-comments .gsc-reactions-button{height:2em;width:2em;border:none}.gsc-comments .gsc-reactions-popover{left:-1.73em !important;margin:0 !important}.gsc-comments .gsc-reactions-popover.open:before{content:unset}.gsc-comments .gsc-reactions-popover div.m-2{margin:14px !important}.gsc-comments .gsc-reactions-popover .text-ellipsis{margin:4px !important;padding:10px}.border-t,.gsc-comment-box-tabs,.gsc-replies,.gsc-reply-box,.gsc-reply-author-avatar,.gsc-header,.gsc-comment-box,.gsc-comment>div,.gsc-reactions-popover,.gsc-direct-reaction-button{border:none !important}.gsc-comment-box-tabs button{border-bottom:none}.border-t,.gsc-comment-box-tabs{border-bottom:inherit}.gsc-replies,.gsc-reply-box{border-top:inherit}.gsc-reply-author-avatar{border-right:inherit !important}.color-border-primary,.color-box-border-info,.gsc-header,.gsc-comment-box-buttons button,.gsc-comment-box-buttons a,.gsc-reply-box,.gsc-reply-author-avatar,.gsc-comment-box-textarea{border-width:2px !important}.gsc-reply-box,.gsc-comment-box,.gsc-comment-box-tabs,.gsc-comment-box-write,.gsc-comment-box-textarea,.gsc-comment-box-textarea-extras,.gsc-reactions-popover,.gsc-social-reaction-summary-item,.rounded,.rounded-t,.rounded-md,.rounded-full,.BtnGroup,.BtnGroup-item{border-radius:unset !important}.gsc-comment-box-md-toolbar,button s,.gsc-right-header,.gsc-reply-footer,.gsc-reply-author-avatar img,.gsc-comment-replies-count,.gsc-comment-box-textarea-extras{display:none}/*# sourceMappingURL=giscus.css.map */ \ No newline at end of file diff --git a/_site/assets/css/giscus.css.map b/_site/assets/css/giscus.css.map index aaf5c48..b20dbff 100644 --- a/_site/assets/css/giscus.css.map +++ b/_site/assets/css/giscus.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["giscus.scss"],"names":[],"mappings":"AAAA,KACI,kBACA,iBACA,0BACA,WAGJ,6CACI,YACA,kBAIJ,sDACA,6DAEA,gCACI,yFAGJ,6BACI,4DAGJ,yCACI,qJAGJ,sCACI,wHAKJ,uIAKE,2BAEF,4KAOE,8BAO6C,sDACvC,wBACA,0BACA,iCACA,6EAGJ,4BACI,WACA,8BACA,yEAGJ,0BACI,yEAGJ,uBACI,iBACA,sEAGJ,8CAKA,YACI,yHAOJ,iBACI,kLAQJ,sBACI,mHAOJ,iBACI,iLAQJ,qCACI,kLASJ,eACI,6FAMJ,uBACI,iLASJ,4BACI,mBACA,4GAQR,cACI,SACA,cAII,0BACI,aACA,sBAEA,2CACI,iBACA,4BAEA,gFACI,kBACA,uBACA,kBACA,kBAGJ,wEACI,mBACA,eACA,mBACA,kBACA,UAEA,8FAIE,uEAId,+BACI,gBAGI,yEAEA,2EACI,8BACA,4BACA,6BAIR,uDAEA,8FAEA,sCACI,0BACA,gCAKR,6CAEI,kCACI,qBACA,uBAGJ,kEAIJ,yCAEA,yBACI,kBACA,oBACA,mBAEA,2DAEI,wEAGJ,kDAEI,gFAGJ,uCACI,mBACA,4BAGJ,+BACI,kBACA,oBAGJ,gCACI,0BACA,2BAUR,mGAEA,wFACI,WACA,WAIJ,qCACI,SACA,mBACA,iBAGJ,oDAEA,4DAEI,sDACI,gBACA,SAIR,oCACI,qBACA,YAGJ,qCACI,wBACA,oBAEA,+DAEA,oEAEA,oDACI,sBACA,aAQhB,sLAWE,uBAEF,gDAEA,gCAEE,sBAEF,4BAEE,mBAEF,yBACE,gCAEF,sLAQE,4BAGF,wQAcE,+BAGF,kKAOE","sourcesContent":["html {\n position: absolute;\n left: 0; right: 1px;\n font-size: 15px !important;\n color: #44d;\n}\n\n.gsc-comments>.gsc-comment-box, .gsc-timeline {\n width: unset;\n margin-inline: 1em;\n}\n\n// font\nhtml { font-family: \"fusion\", \"fusion-fallback\", monospace; }\ncode, kbd, pre, samp { font-family: \"ibm\", \"ibm-fallback\", monospace; }\n\n@font-face { font-family: \"fusion\";\n src: url(https://kirisoup.github.io/assets/font/fusion-pixel-10px-monospaced-zh_hant.ttf);\n}\n\n@font-face { font-family: \"ibm\";\n src: url(https://kirisoup.github.io/assets/font/IBM3161.ttf);\n}\n\n@font-face { font-family: \"fusion-fallback\";\n src: url(https://ghproxy.com/https://raw.githubusercontent.com/Kirisoup/kirisoup.github.io/main/assets/font/fusion-pixel-10px-monospaced-zh_hant.ttf);\n}\n\n@font-face { font-family: \"ibm-fallback\";\n src: url(https://ghproxy.com/https://raw.githubusercontent.com/Kirisoup/kirisoup.github.io/main/assets/font/IBM3161.ttf);\n}\n\n// color\n\n.color-bg-default,\n.color-bg-primary,\n.color-bg-overlay,\n.gsc-comments .gsc-comment-box-tabs button.color-bg-canvas,\n.gsc-reply-box button\n{ background: #fff !important; }\n\n.gsc-header,\n.gsc-header a[href=\"https://giscus.app\"],\n.gsc-comment-header,\n.gsc-comment-box-tabs,\n.gsc-comment-box-bottom,\n.gsc-reply-box,\n.gsc-reactions-popover .text-ellipsis\n{ background: #d1d1f7 !important; }\n\n// textures\n.gsc {\n\n // buttons\n\n &-comment-box-bottom, &-reactions-button { svg {\n height: 1.5em; width: auto;\n image-rendering: pixelated;\n background-size: cover !important;\n path { display: none; }\n }}\n\n &-comment-box-bottom svg {\n height: 1em;\n margin-right: .2rem !important;\n background: url(https://kirisoup.github.io/assets/image/button/close.gif);\n }\n \n &-reactions-button svg {\n background: url(https://kirisoup.github.io/assets/image/button/smile.gif);\n }\n\n &-upvote-button svg {\n margin-left: .5em;\n background: url(https://kirisoup.github.io/assets/image/button/up.gif);\n }\n \n .gsc-upvote-button svg path { display: none; }\n\n\n // box shadow \n\n &-header {\n box-shadow: inset -2px -2px #44d,\n inset 2px 2px #fff,\n inset -4px -4px #aaaae8,\n inset 4px 4px #e8e8fb,\n inset 0 0 0 8px #d1d1f7\n }\n\n &-comment-box {\n box-shadow: inset -2px -2px #44d,\n inset 2px 2px #fff,\n inset -4px -4px #aaaae8,\n inset 4px 4px #e8e8fb,\n inset 0 0 0 8px #d1d1f7,\n inset 2px 26px 0 8px #44d,\n inset -2px -39px 0 8px #e8e8fb;\n\n &-tabs {\n box-shadow: inset -2px 0 #44d,\n inset 2px 2px #fff,\n inset -4px 0 #aaaae8,\n inset 4px 4px #e8e8fb,\n inset 0 0 0 8px #d1d1f7;\n }}\n\n &-comment>div {\n box-shadow: inset -2px -2px #44d,\n inset 2px 2px #fff,\n inset -4px -4px #aaaae8,\n inset 4px 4px #e8e8fb,\n inset 0 0 0 8px #d1d1f7,\n inset 2px 35px 0 8px #44d,\n inset -2px -2px 0 8px #e8e8fb;\n\n &:has(.gsc-reply-box) {\n box-shadow: inset -2px -2px #44d,\n inset 2px 2px #fff,\n inset -4px -4px #aaaae8,\n inset 4px 4px #e8e8fb,\n inset 0 0 0 8px #d1d1f7,\n inset 2px 35px 0 8px #44d,\n inset -2px -39px 0 8px #e8e8fb;\n }}\n\n &-reply-box {\n box-shadow: inset -2px -2px #44d,\n inset 2px 0 #fff,\n inset -4px -4px #aaaae8,\n inset 4px 0 #e8e8fb;\n }\n\n &-reactions-popover {\n box-shadow: inset -2px -2px #44d,\n inset 2px 2px #fff,\n inset -4px -4px #aaaae8,\n inset 4px 4px #e8e8fb,\n inset 0 0 0 8px #d1d1f7,\n inset 2px 37px 0 8px #44d,\n inset -2px -2px 0 8px #e8e8fb;\n }\n\n &-direct-reaction-button {\n padding-block: .2em;\n box-shadow: inset -1.5px -1.5px #44d,\n inset 1.5px 1.5px #d1d1f7,\n inset -3px -3px #a2a2ee,\n inset 3px 3px #e8e8fb;\n }}\n\n// ====================\n\n.gsc-comments {\n gap: 1rem;\n font-size: 1em;\n\n\n .gsc {\n &-header {\n padding: .5em;\n border: 1px #44d solid;\n\n .gsc-left-header {\n margin-left: .5em;\n flex-wrap: nowrap !important;\n\n em:has(a[href=\"https://giscus.app\"]) {\n visibility: hidden;\n font-size: 0 !important;\n position: absolute;\n right: 4px; top: 4px;\n }\n\n a[href=\"https://giscus.app\"] {\n visibility: visible;\n font-size: 1rem;\n line-height: 1.8rem;\n padding: .2em .5em;\n opacity: 0;\n\n &::before { content: \">> \"; }\n }\n }\n\n &:hover { a[href=\"https://giscus.app\"] { opacity: 1; } }\n }\n\n // send comment\n &-comment-box {\n overflow: hidden;\n\n &-tabs {\n button { padding: .25em .5em !important; }\n\n >div:has(button) { margin: .5em !important {\n bottom: -2px !important;\n left: 14px !important;\n min-width: max-content ;\n };}\n }\n\n &-main { margin-inline: 14px; }\n\n &-textarea, &-preview { min-height: 3em; }\n\n &-bottom {\n padding: 5px 10px 5px 10px;\n margin: 0 4px 4px 4px !important;\n }\n }\n\n // comments\n &-comment { position: relative;\n\n &-header {\n margin: 4px 4px 0 4px;\n padding: 5px !important;\n }\n\n &-content { padding-inline: 14px !important; }\n }\n\n // reply\n &-replies { padding: unset; }\n\n &-reply {\n position: relative;\n padding: .25em .5rem;\n margin-inline: 10px;\n\n &:has(+.gsc-reply) { padding-bottom: 0;\n\n .ml-2 { border-bottom: 2px solid; }\n }\n\n & +.gsc-reply { padding-top: 0;\n\n .gsc-reply-header { margin-top: 1em !important; }\n }\n\n &-author-avatar {\n padding-right: .5em;\n border-right: 1px #44d solid;\n }\n\n .ml-2 {\n margin-right: .5em;\n padding-bottom: .5em;\n }\n\n &-header {\n margin-block: 0 !important;\n padding-block: 0 !important;\n }\n\n // &-footer {\n // position: relative;\n // left: -.3em;\n // margin-top: .2em;\n // }\n }\n\n &-comment-content, &-reply-content { padding-block: .75em !important; }\n\n &-comment-author-avatar img, &-reply-author-avatar img {\n height: 2em;\n width: auto;\n }\n\n // reaction\n &-comment-reactions {\n gap: .2em;\n align-items: center;\n margin-left: 12px;\n }\n\n &-reply-reactions { margin-left: .2em; }\n\n &-social-reaction-summary-item { height: auto;\n\n &-count {\n line-height: 1em;\n margin: 0;\n }\n }\n\n &-reactions-button {\n height: 2em; width: 2em;\n border: none;\n }\n\n &-reactions-popover {\n left: -1.73em !important;\n margin: 0 !important;\n\n &.open:before { content: unset; }\n\n div.m-2 { margin: 14px !important; }\n\n .text-ellipsis {\n margin: 4px !important;\n padding: 10px;\n }\n }\n\n }\n}\n\n// borders\n.border-t,\n.gsc-comment-box-tabs,\n.gsc-replies,\n.gsc-reply-box,\n.gsc-reply-author-avatar,\n\n.gsc-header,\n.gsc-comment-box,\n.gsc-comment>div,\n.gsc-reactions-popover,\n.gsc-direct-reaction-button\n{ border: none !important; }\n\n.gsc-comment-box-tabs button { border-bottom: none; }\n\n.border-t,\n.gsc-comment-box-tabs\n{ border-bottom: inherit; }\n\n.gsc-replies,\n.gsc-reply-box\n{ border-top: inherit; }\n\n.gsc-reply-author-avatar\n{ border-right: inherit !important; }\n\n.color-border-primary,\n.color-box-border-info,\n.gsc-header,\n.gsc-comment-box-buttons button,\n.gsc-comment-box-buttons a,\n.gsc-reply-box,\n.gsc-reply-author-avatar,\n.gsc-comment-box-textarea\n{ border-width: 2px !important; }\n\n// remove round corner\n.gsc-reply-box,\n.gsc-comment-box,\n.gsc-comment-box-tabs,\n.gsc-comment-box-write,\n.gsc-comment-box-textarea,\n.gsc-comment-box-textarea-extras,\n.gsc-reactions-popover,\n.gsc-social-reaction-summary-item,\n.rounded,\n.rounded-t,\n.rounded-md,\n.rounded-full,\n.BtnGroup,\n.BtnGroup-item\n{ border-radius: unset !important; }\n\n// remove bloat\n.gsc-comment-box-md-toolbar,\nbutton s,\n.gsc-right-header,\n.gsc-reply-footer,\n.gsc-reply-author-avatar img,\n.gsc-comment-replies-count,\n.gsc-comment-box-textarea-extras\n{ display: none; }\n"],"file":"giscus.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["giscus.scss"],"names":[],"mappings":"AAAA,KACI,kBACA,iBACA,0BACA,WAGJ,6CACI,YACA,kBAIJ,sDACA,6DAEA,gCACI,yFAGJ,6BACI,4DAGJ,yCACI,qJAGJ,sCACI,wHAKJ,uIAKE,2BAEF,4KAOE,8BAO8D,6EACxD,wBACA,0BACA,iCACA,yGAGJ,4BACI,WACA,8BACA,yEAGJ,0BACI,yEAGJ,uBACI,iBACA,sEAGJ,8CAKA,YACI,yHAOJ,iBACI,kLAQJ,sBACI,mHAOJ,iBACI,iLAQJ,qCACI,kLASJ,eACI,6FAMJ,uBACI,iLASJ,4BACI,mBACA,4GAQR,cACI,SACA,cAII,0BACI,aACA,sBAEA,2CACI,iBACA,4BAEA,gFACI,kBACA,uBACA,kBACA,kBAGJ,wEACI,mBACA,eACA,mBACA,kBACA,UAEA,8FAIE,uEAId,+BACI,gBAGI,yEAEA,2EACI,8BACA,4BACA,6BAIR,uDAEA,8FAEA,sCACI,0BACA,gCAKR,6CAEI,kCACI,qBACA,uBAGJ,kEAIJ,yCAEA,yBACI,kBACA,oBACA,mBAEA,2DAEI,wEAGJ,kDAEI,gFAGJ,uCACI,mBACA,4BAGJ,+BACI,kBACA,oBAGJ,gCACI,0BACA,2BAUR,mGAEA,wFACI,WACA,WAIJ,qCACI,SACA,mBACA,iBAGJ,oDAEA,4DAEI,sDACI,gBACA,SAIR,oCACI,qBACA,YAGJ,qCACI,wBACA,oBAEA,+DAEA,oEAEA,oDACI,sBACA,aAQhB,sLAWE,uBAEF,gDAEA,gCAEE,sBAEF,4BAEE,mBAEF,yBACE,gCAEF,sLAQE,4BAGF,wQAcE,+BAGF,kKAOE","sourcesContent":["html {\n position: absolute;\n left: 0; right: 1px;\n font-size: 15px !important;\n color: #44d;\n}\n\n.gsc-comments>.gsc-comment-box, .gsc-timeline {\n width: unset;\n margin-inline: 1em;\n}\n\n// font\nhtml { font-family: \"fusion\", \"fusion-fallback\", monospace; }\ncode, kbd, pre, samp { font-family: \"ibm\", \"ibm-fallback\", monospace; }\n\n@font-face { font-family: \"fusion\";\n src: url(https://kirisoup.github.io/assets/font/fusion-pixel-10px-monospaced-zh_hant.ttf);\n}\n\n@font-face { font-family: \"ibm\";\n src: url(https://kirisoup.github.io/assets/font/IBM3161.ttf);\n}\n\n@font-face { font-family: \"fusion-fallback\";\n src: url(https://ghproxy.com/https://raw.githubusercontent.com/Kirisoup/kirisoup.github.io/main/assets/font/fusion-pixel-10px-monospaced-zh_hant.ttf);\n}\n\n@font-face { font-family: \"ibm-fallback\";\n src: url(https://ghproxy.com/https://raw.githubusercontent.com/Kirisoup/kirisoup.github.io/main/assets/font/IBM3161.ttf);\n}\n\n// color\n\n.color-bg-default,\n.color-bg-primary,\n.color-bg-overlay,\n.gsc-comments .gsc-comment-box-tabs button.color-bg-canvas,\n.gsc-reply-box button\n{ background: #fff !important; }\n\n.gsc-header,\n.gsc-header a[href=\"https://giscus.app\"],\n.gsc-comment-header,\n.gsc-comment-box-tabs,\n.gsc-comment-box-bottom,\n.gsc-reply-box,\n.gsc-reactions-popover .text-ellipsis\n{ background: #d1d1f7 !important; }\n\n// textures\n.gsc {\n\n // buttons\n\n &-comment-box-bottom, &-reactions-button, &-upvote-button { svg {\n height: 1.5em; width: auto;\n image-rendering: pixelated;\n background-size: cover !important;\n path { display: none; }\n }}\n\n &-comment-box-bottom svg {\n height: 1em;\n margin-right: .2rem !important;\n background: url(https://kirisoup.github.io/assets/image/button/close.gif);\n }\n \n &-reactions-button svg {\n background: url(https://kirisoup.github.io/assets/image/button/smile.gif);\n }\n\n &-upvote-button svg {\n margin-left: .5em;\n background: url(https://kirisoup.github.io/assets/image/button/up.gif);\n }\n \n .gsc-upvote-button svg path { display: none; }\n\n\n // box shadow \n\n &-header {\n box-shadow: inset -2px -2px #44d,\n inset 2px 2px #fff,\n inset -4px -4px #aaaae8,\n inset 4px 4px #e8e8fb,\n inset 0 0 0 8px #d1d1f7\n }\n\n &-comment-box {\n box-shadow: inset -2px -2px #44d,\n inset 2px 2px #fff,\n inset -4px -4px #aaaae8,\n inset 4px 4px #e8e8fb,\n inset 0 0 0 8px #d1d1f7,\n inset 2px 26px 0 8px #44d,\n inset -2px -39px 0 8px #e8e8fb;\n\n &-tabs {\n box-shadow: inset -2px 0 #44d,\n inset 2px 2px #fff,\n inset -4px 0 #aaaae8,\n inset 4px 4px #e8e8fb,\n inset 0 0 0 8px #d1d1f7;\n }}\n\n &-comment>div {\n box-shadow: inset -2px -2px #44d,\n inset 2px 2px #fff,\n inset -4px -4px #aaaae8,\n inset 4px 4px #e8e8fb,\n inset 0 0 0 8px #d1d1f7,\n inset 2px 35px 0 8px #44d,\n inset -2px -2px 0 8px #e8e8fb;\n\n &:has(.gsc-reply-box) {\n box-shadow: inset -2px -2px #44d,\n inset 2px 2px #fff,\n inset -4px -4px #aaaae8,\n inset 4px 4px #e8e8fb,\n inset 0 0 0 8px #d1d1f7,\n inset 2px 35px 0 8px #44d,\n inset -2px -39px 0 8px #e8e8fb;\n }}\n\n &-reply-box {\n box-shadow: inset -2px -2px #44d,\n inset 2px 0 #fff,\n inset -4px -4px #aaaae8,\n inset 4px 0 #e8e8fb;\n }\n\n &-reactions-popover {\n box-shadow: inset -2px -2px #44d,\n inset 2px 2px #fff,\n inset -4px -4px #aaaae8,\n inset 4px 4px #e8e8fb,\n inset 0 0 0 8px #d1d1f7,\n inset 2px 37px 0 8px #44d,\n inset -2px -2px 0 8px #e8e8fb;\n }\n\n &-direct-reaction-button {\n padding-block: .2em;\n box-shadow: inset -1.5px -1.5px #44d,\n inset 1.5px 1.5px #d1d1f7,\n inset -3px -3px #a2a2ee,\n inset 3px 3px #e8e8fb;\n }}\n\n// ====================\n\n.gsc-comments {\n gap: 1rem;\n font-size: 1em;\n\n\n .gsc {\n &-header {\n padding: .5em;\n border: 1px #44d solid;\n\n .gsc-left-header {\n margin-left: .5em;\n flex-wrap: nowrap !important;\n\n em:has(a[href=\"https://giscus.app\"]) {\n visibility: hidden;\n font-size: 0 !important;\n position: absolute;\n right: 4px; top: 4px;\n }\n\n a[href=\"https://giscus.app\"] {\n visibility: visible;\n font-size: 1rem;\n line-height: 1.8rem;\n padding: .2em .5em;\n opacity: 0;\n\n &::before { content: \">> \"; }\n }\n }\n\n &:hover { a[href=\"https://giscus.app\"] { opacity: 1; } }\n }\n\n // send comment\n &-comment-box {\n overflow: hidden;\n\n &-tabs {\n button { padding: .25em .5em !important; }\n\n >div:has(button) { margin: .5em !important {\n bottom: -2px !important;\n left: 14px !important;\n min-width: max-content ;\n };}\n }\n\n &-main { margin-inline: 14px; }\n\n &-textarea, &-preview { min-height: 3em; }\n\n &-bottom {\n padding: 5px 10px 5px 10px;\n margin: 0 4px 4px 4px !important;\n }\n }\n\n // comments\n &-comment { position: relative;\n\n &-header {\n margin: 4px 4px 0 4px;\n padding: 5px !important;\n }\n\n &-content { padding-inline: 14px !important; }\n }\n\n // reply\n &-replies { padding: unset; }\n\n &-reply {\n position: relative;\n padding: .25em .5rem;\n margin-inline: 10px;\n\n &:has(+.gsc-reply) { padding-bottom: 0;\n\n .ml-2 { border-bottom: 2px solid; }\n }\n\n & +.gsc-reply { padding-top: 0;\n\n .gsc-reply-header { margin-top: 1em !important; }\n }\n\n &-author-avatar {\n padding-right: .5em;\n border-right: 1px #44d solid;\n }\n\n .ml-2 {\n margin-right: .5em;\n padding-bottom: .5em;\n }\n\n &-header {\n margin-block: 0 !important;\n padding-block: 0 !important;\n }\n\n // &-footer {\n // position: relative;\n // left: -.3em;\n // margin-top: .2em;\n // }\n }\n\n &-comment-content, &-reply-content { padding-block: .75em !important; }\n\n &-comment-author-avatar img, &-reply-author-avatar img {\n height: 2em;\n width: auto;\n }\n\n // reaction\n &-comment-reactions {\n gap: .2em;\n align-items: center;\n margin-left: 12px;\n }\n\n &-reply-reactions { margin-left: .2em; }\n\n &-social-reaction-summary-item { height: auto;\n\n &-count {\n line-height: 1em;\n margin: 0;\n }\n }\n\n &-reactions-button {\n height: 2em; width: 2em;\n border: none;\n }\n\n &-reactions-popover {\n left: -1.73em !important;\n margin: 0 !important;\n\n &.open:before { content: unset; }\n\n div.m-2 { margin: 14px !important; }\n\n .text-ellipsis {\n margin: 4px !important;\n padding: 10px;\n }\n }\n\n }\n}\n\n// borders\n.border-t,\n.gsc-comment-box-tabs,\n.gsc-replies,\n.gsc-reply-box,\n.gsc-reply-author-avatar,\n\n.gsc-header,\n.gsc-comment-box,\n.gsc-comment>div,\n.gsc-reactions-popover,\n.gsc-direct-reaction-button\n{ border: none !important; }\n\n.gsc-comment-box-tabs button { border-bottom: none; }\n\n.border-t,\n.gsc-comment-box-tabs\n{ border-bottom: inherit; }\n\n.gsc-replies,\n.gsc-reply-box\n{ border-top: inherit; }\n\n.gsc-reply-author-avatar\n{ border-right: inherit !important; }\n\n.color-border-primary,\n.color-box-border-info,\n.gsc-header,\n.gsc-comment-box-buttons button,\n.gsc-comment-box-buttons a,\n.gsc-reply-box,\n.gsc-reply-author-avatar,\n.gsc-comment-box-textarea\n{ border-width: 2px !important; }\n\n// remove round corner\n.gsc-reply-box,\n.gsc-comment-box,\n.gsc-comment-box-tabs,\n.gsc-comment-box-write,\n.gsc-comment-box-textarea,\n.gsc-comment-box-textarea-extras,\n.gsc-reactions-popover,\n.gsc-social-reaction-summary-item,\n.rounded,\n.rounded-t,\n.rounded-md,\n.rounded-full,\n.BtnGroup,\n.BtnGroup-item\n{ border-radius: unset !important; }\n\n// remove bloat\n.gsc-comment-box-md-toolbar,\nbutton s,\n.gsc-right-header,\n.gsc-reply-footer,\n.gsc-reply-author-avatar img,\n.gsc-comment-replies-count,\n.gsc-comment-box-textarea-extras\n{ display: none; }\n"],"file":"giscus.css"} \ No newline at end of file diff --git a/assets/css/giscus.scss b/assets/css/giscus.scss index d3580d1..e82fb9d 100644 --- a/assets/css/giscus.scss +++ b/assets/css/giscus.scss @@ -56,7 +56,7 @@ code, kbd, pre, samp { font-family: "ibm", "ibm-fallback", monospace; } // buttons - &-comment-box-bottom, &-reactions-button { svg { + &-comment-box-bottom, &-reactions-button, &-upvote-button { svg { height: 1.5em; width: auto; image-rendering: pixelated; background-size: cover !important;