/*! MIT License
* Copyright (c) 2018 GitHub Inc.
* https://github.com/primer/primitives/blob/main/LICENSE
*/main{--color-prettylights-syntax-comment:#6e7781;--color-prettylights-syntax-constant:#0550ae;--color-prettylights-syntax-entity:#8250df;--color-prettylights-syntax-storage-modifier-import:#24292f;--color-prettylights-syntax-entity-tag:#116329;--color-prettylights-syntax-keyword:#cf222e;--color-prettylights-syntax-string:#0a3069;--color-prettylights-syntax-variable:#953800;--color-prettylights-syntax-brackethighlighter-unmatched:#82071e;--color-prettylights-syntax-invalid-illegal-text:#f6f8fa;--color-prettylights-syntax-invalid-illegal-bg:#82071e;--color-prettylights-syntax-carriage-return-text:#f6f8fa;--color-prettylights-syntax-carriage-return-bg:#cf222e;--color-prettylights-syntax-string-regexp:#116329;--color-prettylights-syntax-markup-list:#3b2300;--color-prettylights-syntax-markup-heading:#0550ae;--color-prettylights-syntax-markup-italic:#24292f;--color-prettylights-syntax-markup-bold:#24292f;--color-prettylights-syntax-markup-deleted-text:#82071e;--color-prettylights-syntax-markup-deleted-bg:#ffebe9;--color-prettylights-syntax-markup-inserted-text:#116329;--color-prettylights-syntax-markup-inserted-bg:#dafbe1;--color-prettylights-syntax-markup-changed-text:#953800;--color-prettylights-syntax-markup-changed-bg:#ffd8b5;--color-prettylights-syntax-markup-ignored-text:#eaeef2;--color-prettylights-syntax-markup-ignored-bg:#0550ae;--color-prettylights-syntax-meta-diff-range:#8250df;--color-prettylights-syntax-brackethighlighter-angle:#57606a;--color-prettylights-syntax-sublimelinter-gutter-mark:#8c959f;--color-prettylights-syntax-constant-other-reference-link:#0a3069;--color-btn-text:#24292f;--color-btn-bg:#f6f8fa;--color-btn-border:#1f232826;--color-btn-shadow:0 1px 0 #1f23280a;--color-btn-inset-shadow:inset 0 1px 0 #ffffff40;--color-btn-hover-bg:#f3f4f6;--color-btn-hover-border:#1f232826;--color-btn-active-bg:#ebecf0;--color-btn-active-border:#1f232826;--color-btn-selected-bg:#eeeff2;--color-btn-primary-text:#fff;--color-btn-primary-bg:#1f883d;--color-btn-primary-border:#1f232826;--color-btn-primary-shadow:0 1px 0 #1f23281a;--color-btn-primary-inset-shadow:inset 0 1px 0 #ffffff08;--color-btn-primary-hover-bg:#1a7f37;--color-btn-primary-hover-border:#1f232826;--color-btn-primary-selected-bg:#187733;--color-btn-primary-selected-shadow:inset 0 1px 0 #002d1133;--color-btn-primary-disabled-text:#fffc;--color-btn-primary-disabled-bg:#94d3a2;--color-btn-primary-disabled-border:#1f232826;--color-action-list-item-default-hover-bg:#d0d7de52;--color-segmented-control-bg:#eaeef2;--color-segmented-control-button-bg:#fff;--color-segmented-control-button-selected-border:#8c959f;--color-fg-default:#1f2328;--color-fg-muted:#656d76;--color-fg-subtle:#6e7781;--color-canvas-default:#fff;--color-canvas-overlay:#fff;--color-canvas-inset:#f6f8fa;--color-canvas-subtle:#f6f8fa;--color-border-default:#d0d7de;--color-border-muted:#d8dee4;--color-neutral-muted:#afb8c133;--color-accent-fg:#0969da;--color-accent-emphasis:#0969da;--color-accent-muted:#54aeff66;--color-accent-subtle:#ddf4ff;--color-success-fg:#1a7f37;--color-attention-fg:#9a6700;--color-attention-muted:#d4a72c66;--color-attention-subtle:#fff8c5;--color-danger-fg:#d1242f;--color-danger-muted:#ff818266;--color-danger-subtle:#ffebe9;--color-primer-shadow-inset:inset 0 1px 0 #d0d7de33;--color-scale-gray-1:#eaeef2;--color-scale-blue-1:#b6e3ff;
/*! Extensions from @primer/css/alerts/flash.scss */--color-social-reaction-bg-hover:var(--color-scale-gray-1);--color-social-reaction-bg-reacted-hover:var(--color-scale-blue-1)}main .pagination-loader-container{background-image:url(https://github.com/images/modules/pulls/progressive-disclosure-line.svg)}main .gsc-loading-image{background-image:url(https://github.githubassets.com/images/mona-loading-default.gif)}
/* Hide closed discussions */
.gsc-comment:has(.gsc-comment-content.minimized) .gsc-replies {
display: none;
}
.gsc-comment:has(.gsc-comment-content.minimized) {
display: none;
}
.gsc-timeline:has(.gsc-comment-content.minimized):after {
content: "Some dicussions were closed";
font-size: 0.875rem;
font-style: italic;
color: var(--color-fg-muted, var(--color-text-secondary));
}
/* Styling:
* The main goal of this is to make it more compact, re-ordering elements to stack them horizontally, removing
* unnecessary padding and margins, and dropping some irrelevant buttons (like the markdown helper link) */
.gsc-timeline {
gap: 0.5rem;
}
.gsc-main {
gap: 0.25rem;
}
.gsc-comments {
gap: 0.8rem
}
.gsc-comment-header {
padding-inline-end:0.5rem;
padding-inline-start:0.5rem;
padding-top: .5rem;
grid-area: header;
}
.gsc-comment-content {
padding: 0.5rem 0.75rem;
}
.gsc-comment-reactions {
align-items: center;
margin-inline-start:0.5rem
}
.gsc-comment-box-textarea {
min-height: 58px !important;
}
.gsc-box-preview {
min-height: 58px !important;
padding-bottom: 0.5rem;
}
.gsc-reply-box {
padding-inline-end: 0.5rem;
padding-bottom: 0.5rem;
padding-inline-start: 0.5rem;
padding-top: 0.5rem;
}
.gsc-reply {
padding: 0 0.5rem 0;
}
.gsc-comment-box, .gsc-reply-box {
grid-area: reply;
border-bottom-left-radius: 0.3rem;
border-bottom-right-radius: 0.3rem;
}
.gsc-replies {
grid-area: replies;
}
.gsc-reactions-count + div {}
#__next .gsc-reactions-count + div {
margin-top: 0.25rem;
}
.gsc-comment-footer {
grid-area: reactions;
padding-inline-end: 0.5rem;
padding-top: .5rem;
margin-bottom: 0;
justify-content: end;
flex: 0;
}
.gsc-comment-content {
grid-area: content;
}
.gsc-comment > div {
display: grid;
grid-template-areas:
"header reactions"
"content content"
"replies replies"
"reply reply";
grid-template-rows: auto;
}
.gsc-comment-replies-count {
margin-inline-end: 0rem;
}
.gsc-tl-line {
inset-inline-start: 22px;
}
.gsc-reply > div.flex > div.w-full {
display: grid;
grid-template:
"header reactions"
"content content";
}
.gsc-reply-content {
grid-area: content;
}
.gsc-reply-footer {
grid-area: reactions;
justify-content: end;
}
.gsc-reply-header {
grid-area: header;
}
.gsc-reply-reactions {
gap: 0;
margin-inline-end: 0;
}
.gsc-comment-box-textarea-extras {
display: none;
}
.gsc-timeline .gsc-reactions-popover.open.left:before {
inset-inline-end: 9px;
inset-inline-start: unset;
}
.gsc-timeline .gsc-reactions-popover.top {
inset-inline-end: -.375rem;
inset-inline-start: unset;
}
.gsc-timeline .gsc-reactions-popover.open.left:after {
inset-inline-end: 10px;
inset-inline-start: unset;
}
.gsc-comment-box-textarea {
border-bottom-left-radius: inherit;
border-bottom-right-radius: inherit;
}
.gsc-comment-box {
display: grid;
grid-template:
"header buttons"
"content content";
grid-template-columns: auto minmax(0,max-content);
}
.gsc-comment-box-tabs {
grid-area: header;
}
.gsc-comment-box-main {
grid-area: content;
}
.gsc-comment-box-bottom {
grid-area: buttons;
background-color: var(--color-canvas-subtle, var(--color-bg-tertiary));
margin: 0px;
align-items: center;
border-bottom-width: 1px;
border-start-end-radius: .25rem;
border-start-start-radius: 0;
padding-right: 0.5rem;
justify-content: end;
gap: 0.5rem;
}
.gsc-comment-box-md-toolbar {
margin-top: 0px;
}
.gsc-comment-box-is-reply > .gsc-comment-box-bottom {
border-top-width: 1px;
border-top-right-radius: 0;
}
.gsc-comment-box-preview {
min-height: 58px !important;
}
/* Otherwise some popup overflow the iframe */
.gsc-reactions {
margin-top: 0.95em;
}