diff --git a/_site/assets/css/giscus.css b/_site/assets/css/giscus.css index b71d33a..6a29c45 100644 --- a/_site/assets/css/giscus.css +++ b/_site/assets/css/giscus.css @@ -1,8 +1,3 @@ -@charset "UTF-8"; -.color-bg-default, .color-bg-primary, .color-bg-overlay { - background: #000; -} - .gsc-comments { position: fixed; left: 0; @@ -96,27 +91,4 @@ content: unset; } -.gsc-comment-box, -.gsc-comment-box-write, -.gsc-comment-box-textarea, -.gsc-comment-box-textarea-extras, -.rounded, -.rounded-t, -.rounded-md, -.rounded-full, -.BtnGroup, -.BtnGroup-item, -.gsc-reactions-popover { - border-radius: unset !important; -} - -button[title=启用编辑器固定宽度(等宽)字体], -button s, -.gsc-right-header, -.gsc-comment-box-textarea-extras, -.gsc-comment-box-bottom svg path, -.gsc-reactions-button svg path { - 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 cb350cb..c133e91 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;EAA0D;;;AAE1D;EACI;EACA;EAAS;EACT;;AAGI;EACI;EACA;EACA;;AAEA;EAAmB;;AAKnB;EAAgB;;AACZ;EAAkB;EAA0B;;AAGhD;EACI;EACA;;AAGJ;EACI;EAAe;EACf;EAA4E;EAC5E;EACA;;AAMJ;EAAsB;;AAI1B;EAAY;;AAEZ;EAAU;;AACN;EAAW;;AACX;EAAW;;AAGf;EACI;EACA;;AAGJ;EAAqC;;AAErC;EACI;EACA;;AAIJ;EACI;EACA;EACA;;AAGJ;EAAoB;;AAEpB;EAAiC;;AAC7B;EACI;EACA;;AAIR;EACI;EAAa;EACb;;AAEA;EACI;EAAa;EACb;EAA4E;EAC5E;;AAIR;EAAsB;;AAClB;EAAgB;;;AAO5B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAWM;;;AAGN;AAAA;AAAA;AAAA;AAAA;AAAA;EAMM","sourcesContent":[".color-bg-default, .color-bg-primary, .color-bg-overlay { background: #000; }\n\n.gsc-comments {\n position: fixed;\n left: 0; right: 0;\n gap: 1rem;\n\n .gsc {\n &-header {\n background: #000;\n padding: .5em;\n border: 1px #fff solid;\n\n .gsc-left-header { margin-left: .5em }\n }\n\n // send comment\n &-comment-box {\n &-tabs button { padding: .25em .5em !important;\n div:has(button) { margin: .5em !important { bottom: 0 !important; }; }\n }\n\n &-textarea {\n border-bottom-style: inherit;\n min-height: 6em;\n }\n\n &-bottom svg {\n height: 1.5em; width: 1.5em;\n background: url(https://kirisoup.github.io/assets/image/button/close.gif) { size: cover; };\n margin-right: .5em !important;\n image-rendering: pixelated\n }\n }\n\n // comments\n &-comment {\n &-header, &-content { padding-inline: .5em }\n }\n\n // reply\n &-replies { padding: unset; }\n\n &-reply { padding: .5rem;\n &-header { margin-block: .25em !important; }\n &-footer { margin-top: .2em }\n }\n\n &-reply-author-avatar {\n padding-right: .5em;\n border-right: 1px #fff solid;\n }\n\n &-comment-content, &-reply-content { padding-block: .75em !important; }\n\n &-comment-author-avatar img, &-reply-author-avatar img {\n height: 2.5em;\n width: auto;\n }\n\n // reaction\n &-comment-reactions {\n gap: .5rem;\n align-items: center;\n margin-left: .5em;\n }\n\n &-reply-reactions { margin-left: .2em; }\n\n &-social-reaction-summary-item { height: auto;\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 svg {\n height: 2em; width: 2em;\n background: url(https://kirisoup.github.io/assets/image/button/smile.gif) { size: cover; };\n image-rendering: pixelated;\n }\n }\n\n &-reactions-popover { inset-inline-start: -1.73em !important;\n &.open:before { content: unset; }\n }\n\n }\n}\n\n// remove round corner\n.gsc-comment-box,\n.gsc-comment-box-write,\n.gsc-comment-box-textarea,\n.gsc-comment-box-textarea-extras,\n.rounded,\n.rounded-t,\n.rounded-md,\n.rounded-full,\n.BtnGroup,\n.BtnGroup-item,\n.gsc-reactions-popover\n { border-radius: unset !important }\n\n// remove bloat\nbutton[title=\"启用编辑器固定宽度(等宽)字体\"],\nbutton s,\n.gsc-right-header,\n.gsc-comment-box-textarea-extras,\n.gsc-comment-box-bottom svg path,\n.gsc-reactions-button svg path\n { display: none; }\n"],"file":"giscus.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["giscus.scss"],"names":[],"mappings":"AAEA;EACI;EACA;EAAS;EACT;;AAGI;EACI;EACA;EACA;;AAEA;EAAmB;;AAKnB;EAAgB;;AACZ;EAAkB;EAA0B;;AAGhD;EACI;EACA;;AAGJ;EACI;EAAe;EACf;EAA4E;EAC5E;EACA;;AAMJ;EAAsB;;AAI1B;EAAY;;AAEZ;EAAU;;AACN;EAAW;;AACX;EAAW;;AAGf;EACI;EACA;;AAGJ;EAAqC;;AAErC;EACI;EACA;;AAIJ;EACI;EACA;EACA;;AAGJ;EAAoB;;AAEpB;EAAiC;;AAC7B;EACI;EACA;;AAIR;EACI;EAAa;EACb;;AAEA;EACI;EAAa;EACb;EAA4E;EAC5E;;AAIR;EAAsB;;AAClB;EAAgB","sourcesContent":["// .color-bg-default, .color-bg-primary, .color-bg-overlay { background: #000; }\n\n.gsc-comments {\n position: fixed;\n left: 0; right: 0;\n gap: 1rem;\n\n .gsc {\n &-header {\n background: #000;\n padding: .5em;\n border: 1px #fff solid;\n\n .gsc-left-header { margin-left: .5em }\n }\n\n // send comment\n &-comment-box {\n &-tabs button { padding: .25em .5em !important;\n div:has(button) { margin: .5em !important { bottom: 0 !important; }; }\n }\n\n &-textarea {\n border-bottom-style: inherit;\n min-height: 6em;\n }\n\n &-bottom svg {\n height: 1.5em; width: 1.5em;\n background: url(https://kirisoup.github.io/assets/image/button/close.gif) { size: cover; };\n margin-right: .5em !important;\n image-rendering: pixelated\n }\n }\n\n // comments\n &-comment {\n &-header, &-content { padding-inline: .5em }\n }\n\n // reply\n &-replies { padding: unset; }\n\n &-reply { padding: .5rem;\n &-header { margin-block: .25em !important; }\n &-footer { margin-top: .2em }\n }\n\n &-reply-author-avatar {\n padding-right: .5em;\n border-right: 1px #fff solid;\n }\n\n &-comment-content, &-reply-content { padding-block: .75em !important; }\n\n &-comment-author-avatar img, &-reply-author-avatar img {\n height: 2.5em;\n width: auto;\n }\n\n // reaction\n &-comment-reactions {\n gap: .5rem;\n align-items: center;\n margin-left: .5em;\n }\n\n &-reply-reactions { margin-left: .2em; }\n\n &-social-reaction-summary-item { height: auto;\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 svg {\n height: 2em; width: 2em;\n background: url(https://kirisoup.github.io/assets/image/button/smile.gif) { size: cover; };\n image-rendering: pixelated;\n }\n }\n\n &-reactions-popover { inset-inline-start: -1.73em !important;\n &.open:before { content: unset; }\n }\n\n }\n}\n\n// // remove round corner\n// .gsc-comment-box,\n// .gsc-comment-box-write,\n// .gsc-comment-box-textarea,\n// .gsc-comment-box-textarea-extras,\n// .rounded,\n// .rounded-t,\n// .rounded-md,\n// .rounded-full,\n// .BtnGroup,\n// .BtnGroup-item,\n// .gsc-reactions-popover\n// { border-radius: unset !important }\n\n// // remove bloat\n// button[title=\"启用编辑器固定宽度(等宽)字体\"],\n// button s,\n// .gsc-right-header,\n// .gsc-comment-box-textarea-extras,\n// .gsc-comment-box-bottom svg path,\n// .gsc-reactions-button svg path\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 fa34b99..e21de02 100644 --- a/assets/css/giscus.scss +++ b/assets/css/giscus.scss @@ -1,7 +1,7 @@ --- --- -.color-bg-default, .color-bg-primary, .color-bg-overlay { background: #000; } +// .color-bg-default, .color-bg-primary, .color-bg-overlay { background: #000; } .gsc-comments { position: fixed; @@ -95,25 +95,25 @@ } } -// remove round corner -.gsc-comment-box, -.gsc-comment-box-write, -.gsc-comment-box-textarea, -.gsc-comment-box-textarea-extras, -.rounded, -.rounded-t, -.rounded-md, -.rounded-full, -.BtnGroup, -.BtnGroup-item, -.gsc-reactions-popover - { border-radius: unset !important } - -// remove bloat -button[title="启用编辑器固定宽度(等宽)字体"], -button s, -.gsc-right-header, -.gsc-comment-box-textarea-extras, -.gsc-comment-box-bottom svg path, -.gsc-reactions-button svg path - { display: none; } +// // remove round corner +// .gsc-comment-box, +// .gsc-comment-box-write, +// .gsc-comment-box-textarea, +// .gsc-comment-box-textarea-extras, +// .rounded, +// .rounded-t, +// .rounded-md, +// .rounded-full, +// .BtnGroup, +// .BtnGroup-item, +// .gsc-reactions-popover +// { border-radius: unset !important } + +// // remove bloat +// button[title="启用编辑器固定宽度(等宽)字体"], +// button s, +// .gsc-right-header, +// .gsc-comment-box-textarea-extras, +// .gsc-comment-box-bottom svg path, +// .gsc-reactions-button svg path +// { display: none; }