diff --git a/_site/assets/css/giscus.css b/_site/assets/css/giscus.css index 6d2f69a..b3692a4 100644 --- a/_site/assets/css/giscus.css +++ b/_site/assets/css/giscus.css @@ -3,6 +3,9 @@ background: #000; } +.gsc-comments { + gap: 1rem; +} .gsc-comments .gsc-header { background: #000; padding: 0.5em; diff --git a/_site/assets/css/giscus.css.map b/_site/assets/css/giscus.css.map index 984816f..85bdc7e 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;;;AAQlD;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":";AAAA;EAA0D;;;AAE1D;EACI;;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 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 diff --git a/assets/css/giscus.scss b/assets/css/giscus.scss index 44bd287..4389cfc 100644 --- a/assets/css/giscus.scss +++ b/assets/css/giscus.scss @@ -4,9 +4,7 @@ .color-bg-default, .color-bg-primary, .color-bg-overlay { background: #000; } .gsc-comments { - // position: fixed; - // left: 0; right: 0; - // gap: 1rem; + gap: 1rem; .gsc { &-header {