diff --git a/backup/dark.css b/dist/dark.css index 628cea7..0b0dc09 100644 --- a/backup/dark.css +++ b/dist/dark.css @@ -361,16 +361,82 @@ fill: currentColor; } +.markdown-body .Box-body.scrollable-overlay { + max-height: 400px; + overflow-y: scroll; +} + +.markdown-body .Box-body .help { + padding-top: 0.5rem; + margin: 0; + color: #9198a1; + text-align: center; +} + .markdown-body input::-webkit-outer-spin-button, .markdown-body input::-webkit-inner-spin-button { margin: 0; appearance: none; } +.markdown-body .border-0 { + border: 0 !important; +} + +.markdown-body .color-fg-muted { + color: #9198a1 !important; +} + +.markdown-body .color-bg-default { + background-color: #0d1117 !important; +} + +.markdown-body .mb-0 { + margin-bottom: 0 !important; +} + .markdown-body .mr-2 { margin-right: 0.5rem !important; } +.markdown-body .my-2 { + margin-top: 0.5rem !important; + margin-bottom: 0.5rem !important; +} + +.markdown-body .p-0 { + padding: 0 !important; +} + +.markdown-body .py-0 { + padding-top: 0 !important; + padding-bottom: 0 !important; +} + +.markdown-body .px-3 { + padding-right: 1rem !important; + padding-left: 1rem !important; +} + +.markdown-body .f6 { + font-size: 0.75rem !important; +} + +.markdown-body .text-bold { + font-weight: 600 !important; +} + +.markdown-body .sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + overflow: hidden; + clip-path: rect(0 0 0 0); + overflow-wrap: normal; + border: 0; +} + .markdown-body::before { display: table; content: ""; @@ -839,6 +905,50 @@ padding-right: var(--dialog-scrollgutter) !important; } +.markdown-body .Box { + background-color: #0d1117; + border-color: #3d444d; + border-radius: 0.375rem; + border-style: solid; + border-width: max(1px, 0.0625rem); +} + +.markdown-body .Box--condensed { + line-height: 1.25; +} + +.markdown-body .Box--condensed .Box-body, +.markdown-body .Box--condensed .Box-footer, +.markdown-body .Box--condensed .Box-header { + padding: 0.5rem 1rem; +} + +.markdown-body .Box--condensed .Box-row { + padding: 0.5rem 1rem; +} + +.markdown-body .Box-header { + background-color: #151b23; + border-color: #3d444d; + border-style: solid; + border-top-left-radius: 0.375rem; + border-top-right-radius: 0.375rem; + border-width: max(1px, 0.0625rem); + margin: calc(max(1px, 0.0625rem)*-1) calc(max(1px, 0.0625rem)*-1) 0; + padding: 1rem; +} + +.markdown-body .Box-body { + border-bottom: max(1px, 0.0625rem) solid #3d444d; + padding: 1rem; +} + +.markdown-body .Box-body:last-of-type { + border-bottom-left-radius: 0.375rem; + border-bottom-right-radius: 0.375rem; + margin-bottom: calc(max(1px, 0.0625rem)*-1); +} + .markdown-body .pl-c { color: #9198a1; } @@ -989,6 +1099,106 @@ height: 1em; } +.markdown-body .commit-tease-sha { + display: inline-block; + font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace; + font-size: 90%; + color: #f0f6fc; +} + +.markdown-body .blob-wrapper { + overflow-x: auto; + overflow-y: hidden; +} + +.markdown-body .blob-wrapper table tr:nth-child(2n) { + background-color: transparent; +} + +.markdown-body .blob-wrapper-embedded { + max-height: 240px; + overflow-y: auto; +} + +.markdown-body .blob-num { + position: relative; + width: 1%; + min-width: 50px; + padding-right: 10px; + padding-left: 10px; + font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace; + font-size: 12px; + line-height: 20px; + color: #9198a1; + text-align: right; + white-space: nowrap; + vertical-align: top; + cursor: pointer; + -webkit-user-select: none; + user-select: none; +} + +.markdown-body .blob-num:hover { + color: #f0f6fc; +} + +.markdown-body .blob-num::before { + content: attr(data-line-number); +} + +.markdown-body .blob-num.non-expandable { + cursor: default; +} + +.markdown-body .blob-num.non-expandable:hover { + color: #9198a1; +} + +.markdown-body .blob-code { + position: relative; + padding-right: 10px; + padding-left: 10px; + line-height: 20px; + vertical-align: top; +} + +.markdown-body .blob-code-inner { + display: table-cell; + overflow: visible; + font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace; + font-size: 12px; + color: #f0f6fc; + word-wrap: anywhere; + white-space: pre; +} + +.markdown-body .blob-code-inner .x-first { + border-top-left-radius: .2em; + border-bottom-left-radius: .2em; +} + +.markdown-body .blob-code-inner .x-last { + border-top-right-radius: .2em; + border-bottom-right-radius: .2em; +} + +.markdown-body .blob-code-inner.highlighted, +.markdown-body .blob-code-inner .highlighted { + background-color: #bb800926; + box-shadow: inset 2px 0 0 #bb800966; +} + +.markdown-body .blob-code-inner::selection, +.markdown-body .blob-code-inner *::selection { + background-color: #1f6febb3; +} + +.markdown-body .blob-code-inner.blob-code-addition, +.markdown-body .blob-code-inner.blob-code-deletion { + position: relative; + padding-left: 22px !important; +} + .markdown-body .task-list-item { list-style-type: none; } @@ -1101,6 +1311,54 @@ margin-top: 0 !important; } +.markdown-body .tab-size[data-tab-size="1"] { + tab-size: 1; +} + +.markdown-body .tab-size[data-tab-size="2"] { + tab-size: 2; +} + +.markdown-body .tab-size[data-tab-size="3"] { + tab-size: 3; +} + +.markdown-body .tab-size[data-tab-size="4"] { + tab-size: 4; +} + +.markdown-body .tab-size[data-tab-size="5"] { + tab-size: 5; +} + +.markdown-body .tab-size[data-tab-size="6"] { + tab-size: 6; +} + +.markdown-body .tab-size[data-tab-size="7"] { + tab-size: 7; +} + +.markdown-body .tab-size[data-tab-size="8"] { + tab-size: 8; +} + +.markdown-body .tab-size[data-tab-size="9"] { + tab-size: 9; +} + +.markdown-body .tab-size[data-tab-size="10"] { + tab-size: 10; +} + +.markdown-body .tab-size[data-tab-size="11"] { + tab-size: 11; +} + +.markdown-body .tab-size[data-tab-size="12"] { + tab-size: 12; +} + .markdown-body ul[role='list'], .markdown-body ol[role='list'] { list-style: none;