From 60ca07a7b00d4e1e3c57253823a65957d1ef8b39 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 20 Dec 2024 03:45:35 +0000 Subject: [PATCH] Auto update --- github-markdown.css | 792 +++++++++++++++++++++++++++----------------- 1 file changed, 492 insertions(+), 300 deletions(-) diff --git a/github-markdown.css b/github-markdown.css index ab755b4..7d9489b 100644 --- a/github-markdown.css +++ b/github-markdown.css @@ -1,15 +1,50 @@ +body { + --base-size-4: 0.25rem; + --base-size-8: 0.5rem; + --base-size-16: 1rem; + --base-size-24: 1.5rem; + --base-size-40: 2.5rem; + --base-text-weight-normal: 400; + --base-text-weight-medium: 500; + --base-text-weight-semibold: 600; + --fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace; + --fgColor-accent: Highlight; +} @media (prefers-color-scheme: dark) { - body { + body, [data-theme="dark"] { + /* dark */ color-scheme: dark; - --color-prettylights-syntax-comment: #8b949e; + --focus-outlineColor: #1f6feb; + --fgColor-default: #f0f6fc; + --fgColor-muted: #9198a1; + --fgColor-accent: #4493f8; + --fgColor-success: #3fb950; + --fgColor-attention: #d29922; + --fgColor-danger: #f85149; + --fgColor-done: #ab7df8; + --bgColor-default: #0d1117; + --bgColor-muted: #151b23; + --bgColor-neutral-muted: #656c7633; + --bgColor-attention-muted: #bb800926; + --borderColor-default: #3d444d; + --borderColor-muted: #3d444db3; + --borderColor-neutral-muted: #3d444db3; + --borderColor-accent-emphasis: #1f6feb; + --borderColor-success-emphasis: #238636; + --borderColor-attention-emphasis: #9e6a03; + --borderColor-danger-emphasis: #da3633; + --borderColor-done-emphasis: #8957e5; + --color-prettylights-syntax-comment: #9198a1; --color-prettylights-syntax-constant: #79c0ff; + --color-prettylights-syntax-constant-other-reference-link: #a5d6ff; --color-prettylights-syntax-entity: #d2a8ff; - --color-prettylights-syntax-storage-modifier-import: #c9d1d9; + --color-prettylights-syntax-storage-modifier-import: #f0f6fc; --color-prettylights-syntax-entity-tag: #7ee787; --color-prettylights-syntax-keyword: #ff7b72; --color-prettylights-syntax-string: #a5d6ff; --color-prettylights-syntax-variable: #ffa657; --color-prettylights-syntax-brackethighlighter-unmatched: #f85149; + --color-prettylights-syntax-brackethighlighter-angle: #9198a1; --color-prettylights-syntax-invalid-illegal-text: #f0f6fc; --color-prettylights-syntax-invalid-illegal-bg: #8e1519; --color-prettylights-syntax-carriage-return-text: #f0f6fc; @@ -17,47 +52,55 @@ --color-prettylights-syntax-string-regexp: #7ee787; --color-prettylights-syntax-markup-list: #f2cc60; --color-prettylights-syntax-markup-heading: #1f6feb; - --color-prettylights-syntax-markup-italic: #c9d1d9; - --color-prettylights-syntax-markup-bold: #c9d1d9; + --color-prettylights-syntax-markup-italic: #f0f6fc; + --color-prettylights-syntax-markup-bold: #f0f6fc; --color-prettylights-syntax-markup-deleted-text: #ffdcd7; --color-prettylights-syntax-markup-deleted-bg: #67060c; --color-prettylights-syntax-markup-inserted-text: #aff5b4; --color-prettylights-syntax-markup-inserted-bg: #033a16; --color-prettylights-syntax-markup-changed-text: #ffdfb6; --color-prettylights-syntax-markup-changed-bg: #5a1e02; - --color-prettylights-syntax-markup-ignored-text: #c9d1d9; + --color-prettylights-syntax-markup-ignored-text: #f0f6fc; --color-prettylights-syntax-markup-ignored-bg: #1158c7; --color-prettylights-syntax-meta-diff-range: #d2a8ff; - --color-prettylights-syntax-brackethighlighter-angle: #8b949e; - --color-prettylights-syntax-sublimelinter-gutter-mark: #484f58; - --color-prettylights-syntax-constant-other-reference-link: #a5d6ff; - --color-fg-default: #c9d1d9; - --color-fg-muted: #8b949e; - --color-fg-subtle: #484f58; - --color-canvas-default: #0d1117; - --color-canvas-subtle: #161b22; - --color-border-default: #30363d; - --color-border-muted: #21262d; - --color-neutral-muted: rgba(110,118,129,0.4); - --color-accent-fg: #58a6ff; - --color-accent-emphasis: #1f6feb; - --color-attention-subtle: rgba(187,128,9,0.15); - --color-danger-fg: #f85149; + --color-prettylights-syntax-sublimelinter-gutter-mark: #3d444d; } } - @media (prefers-color-scheme: light) { - body { + body, [data-theme="light"] { + /* light */ color-scheme: light; - --color-prettylights-syntax-comment: #6e7781; + --focus-outlineColor: #0969da; + --fgColor-default: #1f2328; + --fgColor-muted: #59636e; + --fgColor-accent: #0969da; + --fgColor-success: #1a7f37; + --fgColor-attention: #9a6700; + --fgColor-danger: #d1242f; + --fgColor-done: #8250df; + --bgColor-default: #ffffff; + --bgColor-muted: #f6f8fa; + --bgColor-neutral-muted: #818b981f; + --bgColor-attention-muted: #fff8c5; + --borderColor-default: #d1d9e0; + --borderColor-muted: #d1d9e0b3; + --borderColor-neutral-muted: #d1d9e0b3; + --borderColor-accent-emphasis: #0969da; + --borderColor-success-emphasis: #1a7f37; + --borderColor-attention-emphasis: #9a6700; + --borderColor-danger-emphasis: #cf222e; + --borderColor-done-emphasis: #8250df; + --color-prettylights-syntax-comment: #59636e; --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-constant-other-reference-link: #0a3069; + --color-prettylights-syntax-entity: #6639ba; + --color-prettylights-syntax-storage-modifier-import: #1f2328; + --color-prettylights-syntax-entity-tag: #0550ae; --color-prettylights-syntax-keyword: #cf222e; --color-prettylights-syntax-string: #0a3069; --color-prettylights-syntax-variable: #953800; --color-prettylights-syntax-brackethighlighter-unmatched: #82071e; + --color-prettylights-syntax-brackethighlighter-angle: #59636e; --color-prettylights-syntax-invalid-illegal-text: #f6f8fa; --color-prettylights-syntax-invalid-illegal-bg: #82071e; --color-prettylights-syntax-carriage-return-text: #f6f8fa; @@ -65,32 +108,18 @@ --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-italic: #1f2328; + --color-prettylights-syntax-markup-bold: #1f2328; --color-prettylights-syntax-markup-deleted-text: #82071e; - --color-prettylights-syntax-markup-deleted-bg: #FFEBE9; + --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-text: #d1d9e0; --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-fg-default: #24292f; - --color-fg-muted: #57606a; - --color-fg-subtle: #6e7781; - --color-canvas-default: #ffffff; - --color-canvas-subtle: #f6f8fa; - --color-border-default: #d0d7de; - --color-border-muted: hsla(210,18%,87%,1); - --color-neutral-muted: rgba(175,184,193,0.2); - --color-accent-fg: #0969da; - --color-accent-emphasis: #0969da; - --color-attention-subtle: #fff8c5; - --color-danger-fg: #cf222e; + --color-prettylights-syntax-sublimelinter-gutter-mark: #818b98; } } @@ -98,9 +127,9 @@ body { -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; margin: 0; - color: var(--color-fg-default); - background-color: var(--color-canvas-default); - font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"; + color: var(--fgColor-default); + background-color: var(--bgColor-default); + font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"; font-size: 16px; line-height: 1.5; word-wrap: break-word; @@ -143,23 +172,19 @@ body [hidden] { body a { background-color: transparent; - color: var(--color-accent-fg); + color: var(--fgColor-accent); text-decoration: none; } -body a:active, -body a:hover { - outline-width: 0; -} - body abbr[title] { border-bottom: none; + -webkit-text-decoration: underline dotted; text-decoration: underline dotted; } body b, body strong { - font-weight: 600; + font-weight: var(--base-text-weight-semibold, 600); } body dfn { @@ -168,15 +193,15 @@ body dfn { body h1 { margin: .67em 0; - font-weight: 600; + font-weight: var(--base-text-weight-semibold, 600); padding-bottom: .3em; font-size: 2em; - border-bottom: 1px solid var(--color-border-muted); + border-bottom: 1px solid var(--borderColor-muted); } body mark { - background-color: var(--color-attention-subtle); - color: var(--color-text-primary); + background-color: var(--bgColor-attention-muted); + color: var(--fgColor-default); } body small { @@ -203,30 +228,29 @@ body img { border-style: none; max-width: 100%; box-sizing: content-box; - background-color: var(--color-canvas-default); } body code, body kbd, body pre, body samp { - font-family: monospace,monospace; + font-family: monospace; font-size: 1em; } body figure { - margin: 1em 40px; + margin: 1em var(--base-size-40); } body hr { box-sizing: content-box; overflow: hidden; background: transparent; - border-bottom: 1px solid var(--color-border-muted); + border-bottom: 1px solid var(--borderColor-muted); height: .25em; padding: 0; - margin: 24px 0; - background-color: var(--color-border-default); + margin: var(--base-size-24) 0; + background-color: var(--borderColor-default); border: 0; } @@ -243,19 +267,7 @@ body [type=button], body [type=reset], body [type=submit] { -webkit-appearance: button; -} - -body [type=button]::-moz-focus-inner, -body [type=reset]::-moz-focus-inner, -body [type=submit]::-moz-focus-inner { - border-style: none; - padding: 0; -} - -body [type=button]:-moz-focusring, -body [type=reset]:-moz-focusring, -body [type=submit]:-moz-focusring { - outline: 1px dotted ButtonText; + appearance: button; } body [type=checkbox], @@ -269,14 +281,10 @@ body [type=number]::-webkit-outer-spin-button { height: auto; } -body [type=search] { - -webkit-appearance: textfield; - outline-offset: -2px; -} - body [type=search]::-webkit-search-cancel-button, body [type=search]::-webkit-search-decoration { -webkit-appearance: none; + appearance: none; } body ::-webkit-input-placeholder { @@ -286,6 +294,7 @@ body ::-webkit-input-placeholder { body ::-webkit-file-upload-button { -webkit-appearance: button; + appearance: button; font: inherit; } @@ -293,6 +302,11 @@ body a:hover { text-decoration: underline; } +body ::placeholder { + color: var(--fgColor-muted); + opacity: 1; +} + body hr::before { display: table; content: ""; @@ -311,6 +325,7 @@ body table { width: max-content; max-width: 100%; overflow: auto; + font-variant: tabular-nums; } body td, @@ -322,22 +337,52 @@ body details summary { cursor: pointer; } -body details:not([open])>*:not(summary) { - display: none !important; +body a:focus, +body [role=button]:focus, +body input[type=radio]:focus, +body input[type=checkbox]:focus { + outline: 2px solid var(--focus-outlineColor); + outline-offset: -2px; + box-shadow: none; +} + +body a:focus:not(:focus-visible), +body [role=button]:focus:not(:focus-visible), +body input[type=radio]:focus:not(:focus-visible), +body input[type=checkbox]:focus:not(:focus-visible) { + outline: solid 1px transparent; +} + +body a:focus-visible, +body [role=button]:focus-visible, +body input[type=radio]:focus-visible, +body input[type=checkbox]:focus-visible { + outline: 2px solid var(--focus-outlineColor); + outline-offset: -2px; + box-shadow: none; +} + +body a:not([class]):focus, +body a:not([class]):focus-visible, +body input[type=radio]:focus, +body input[type=radio]:focus-visible, +body input[type=checkbox]:focus, +body input[type=checkbox]:focus-visible { + outline-offset: 0; } body kbd { display: inline-block; - padding: 3px 5px; - font: 11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace; + padding: var(--base-size-4); + font: 11px var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace); line-height: 10px; - color: var(--color-fg-default); + color: var(--fgColor-default); vertical-align: middle; - background-color: var(--color-canvas-subtle); - border: solid 1px var(--color-neutral-muted); - border-bottom-color: var(--color-neutral-muted); + background-color: var(--bgColor-muted); + border: solid 1px var(--borderColor-neutral-muted); + border-bottom-color: var(--borderColor-neutral-muted); border-radius: 6px; - box-shadow: inset 0 -1px 0 var(--color-neutral-muted); + box-shadow: inset 0 -1px 0 var(--borderColor-neutral-muted); } body h1, @@ -346,38 +391,38 @@ body h3, body h4, body h5, body h6 { - margin-top: 24px; - margin-bottom: 16px; - font-weight: 600; + margin-top: var(--base-size-24); + margin-bottom: var(--base-size-16); + font-weight: var(--base-text-weight-semibold, 600); line-height: 1.25; } body h2 { - font-weight: 600; + font-weight: var(--base-text-weight-semibold, 600); padding-bottom: .3em; font-size: 1.5em; - border-bottom: 1px solid var(--color-border-muted); + border-bottom: 1px solid var(--borderColor-muted); } body h3 { - font-weight: 600; + font-weight: var(--base-text-weight-semibold, 600); font-size: 1.25em; } body h4 { - font-weight: 600; + font-weight: var(--base-text-weight-semibold, 600); font-size: 1em; } body h5 { - font-weight: 600; + font-weight: var(--base-text-weight-semibold, 600); font-size: .875em; } body h6 { - font-weight: 600; + font-weight: var(--base-text-weight-semibold, 600); font-size: .85em; - color: var(--color-fg-muted); + color: var(--fgColor-muted); } body p { @@ -388,8 +433,8 @@ body p { body blockquote { margin: 0; padding: 0 1em; - color: var(--color-fg-muted); - border-left: .25em solid var(--color-border-default); + color: var(--fgColor-muted); + border-left: .25em solid var(--borderColor-default); } body ul, @@ -416,15 +461,16 @@ body dd { } body tt, -body code { - font-family: ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace; +body code, +body samp { + font-family: var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace); font-size: 12px; } body pre { margin-top: 0; margin-bottom: 0; - font-family: ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace; + font-family: var(--fontStack-monospace, ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace); font-size: 12px; word-wrap: normal; } @@ -436,154 +482,14 @@ body .octicon { fill: currentColor; } -body ::placeholder { - color: var(--color-fg-subtle); - opacity: 1; -} - body input::-webkit-outer-spin-button, body input::-webkit-inner-spin-button { margin: 0; - -webkit-appearance: none; appearance: none; } -body .pl-c { - color: var(--color-prettylights-syntax-comment); -} - -body .pl-c1, -body .pl-s .pl-v { - color: var(--color-prettylights-syntax-constant); -} - -body .pl-e, -body .pl-en { - color: var(--color-prettylights-syntax-entity); -} - -body .pl-smi, -body .pl-s .pl-s1 { - color: var(--color-prettylights-syntax-storage-modifier-import); -} - -body .pl-ent { - color: var(--color-prettylights-syntax-entity-tag); -} - -body .pl-k { - color: var(--color-prettylights-syntax-keyword); -} - -body .pl-s, -body .pl-pds, -body .pl-s .pl-pse .pl-s1, -body .pl-sr, -body .pl-sr .pl-cce, -body .pl-sr .pl-sre, -body .pl-sr .pl-sra { - color: var(--color-prettylights-syntax-string); -} - -body .pl-v, -body .pl-smw { - color: var(--color-prettylights-syntax-variable); -} - -body .pl-bu { - color: var(--color-prettylights-syntax-brackethighlighter-unmatched); -} - -body .pl-ii { - color: var(--color-prettylights-syntax-invalid-illegal-text); - background-color: var(--color-prettylights-syntax-invalid-illegal-bg); -} - -body .pl-c2 { - color: var(--color-prettylights-syntax-carriage-return-text); - background-color: var(--color-prettylights-syntax-carriage-return-bg); -} - -body .pl-sr .pl-cce { - font-weight: bold; - color: var(--color-prettylights-syntax-string-regexp); -} - -body .pl-ml { - color: var(--color-prettylights-syntax-markup-list); -} - -body .pl-mh, -body .pl-mh .pl-en, -body .pl-ms { - font-weight: bold; - color: var(--color-prettylights-syntax-markup-heading); -} - -body .pl-mi { - font-style: italic; - color: var(--color-prettylights-syntax-markup-italic); -} - -body .pl-mb { - font-weight: bold; - color: var(--color-prettylights-syntax-markup-bold); -} - -body .pl-md { - color: var(--color-prettylights-syntax-markup-deleted-text); - background-color: var(--color-prettylights-syntax-markup-deleted-bg); -} - -body .pl-mi1 { - color: var(--color-prettylights-syntax-markup-inserted-text); - background-color: var(--color-prettylights-syntax-markup-inserted-bg); -} - -body .pl-mc { - color: var(--color-prettylights-syntax-markup-changed-text); - background-color: var(--color-prettylights-syntax-markup-changed-bg); -} - -body .pl-mi2 { - color: var(--color-prettylights-syntax-markup-ignored-text); - background-color: var(--color-prettylights-syntax-markup-ignored-bg); -} - -body .pl-mdr { - font-weight: bold; - color: var(--color-prettylights-syntax-meta-diff-range); -} - -body .pl-ba { - color: var(--color-prettylights-syntax-brackethighlighter-angle); -} - -body .pl-sg { - color: var(--color-prettylights-syntax-sublimelinter-gutter-mark); -} - -body .pl-corl { - text-decoration: underline; - color: var(--color-prettylights-syntax-constant-other-reference-link); -} - -body [data-catalyst] { - display: block; -} - -body g-emoji { - font-family: "Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; - font-size: 1em; - font-style: normal !important; - font-weight: 400; - line-height: 1; - vertical-align: -0.075em; -} - -body g-emoji img { - width: 1em; - height: 1em; +body .mr-2 { + margin-right: var(--base-size-8, 8px) !important; } body::before { @@ -611,12 +517,12 @@ body a:not([href]) { } body .absent { - color: var(--color-danger-fg); + color: var(--fgColor-danger); } body .anchor { float: left; - padding-right: 4px; + padding-right: var(--base-size-4); margin-left: -20px; line-height: 1; } @@ -634,7 +540,7 @@ body table, body pre, body details { margin-top: 0; - margin-bottom: 16px; + margin-bottom: var(--base-size-16); } body blockquote>:first-child { @@ -645,21 +551,13 @@ body blockquote>:last-child { margin-bottom: 0; } -body sup>a::before { - content: "["; -} - -body sup>a::after { - content: "]"; -} - body h1 .octicon-link, body h2 .octicon-link, body h3 .octicon-link, body h4 .octicon-link, body h5 .octicon-link, body h6 .octicon-link { - color: var(--color-fg-default); + color: var(--fgColor-default); vertical-align: middle; visibility: hidden; } @@ -698,24 +596,56 @@ body h6 code { font-size: inherit; } +body summary h1, +body summary h2, +body summary h3, +body summary h4, +body summary h5, +body summary h6 { + display: inline-block; +} + +body summary h1 .anchor, +body summary h2 .anchor, +body summary h3 .anchor, +body summary h4 .anchor, +body summary h5 .anchor, +body summary h6 .anchor { + margin-left: -40px; +} + +body summary h1, +body summary h2 { + padding-bottom: 0; + border-bottom: 0; +} + body ul.no-list, body ol.no-list { padding: 0; list-style-type: none; } -body ol[type="1"] { - list-style-type: decimal; +body ol[type="a s"] { + list-style-type: lower-alpha; } -body ol[type=a] { - list-style-type: lower-alpha; +body ol[type="A s"] { + list-style-type: upper-alpha; } -body ol[type=i] { +body ol[type="i s"] { list-style-type: lower-roman; } +body ol[type="I s"] { + list-style-type: upper-roman; +} + +body ol[type="1"] { + list-style-type: decimal; +} + body div>ol:not([type]) { list-style-type: decimal; } @@ -729,7 +659,7 @@ body ol ul { } body li>p { - margin-top: 16px; + margin-top: var(--base-size-16); } body li+li { @@ -742,34 +672,38 @@ body dl { body dl dt { padding: 0; - margin-top: 16px; + margin-top: var(--base-size-16); font-size: 1em; font-style: italic; - font-weight: 600; + font-weight: var(--base-text-weight-semibold, 600); } body dl dd { - padding: 0 16px; - margin-bottom: 16px; + padding: 0 var(--base-size-16); + margin-bottom: var(--base-size-16); } body table th { - font-weight: 600; + font-weight: var(--base-text-weight-semibold, 600); } body table th, body table td { padding: 6px 13px; - border: 1px solid var(--color-border-default); + border: 1px solid var(--borderColor-default); +} + +body table td>:last-child { + margin-bottom: 0; } body table tr { - background-color: var(--color-canvas-default); - border-top: 1px solid var(--color-border-muted); + background-color: var(--bgColor-default); + border-top: 1px solid var(--borderColor-muted); } body table tr:nth-child(2n) { - background-color: var(--color-canvas-subtle); + background-color: var(--bgColor-muted); } body table img { @@ -802,7 +736,7 @@ body span.frame>span { padding: 7px; margin: 13px 0 0; overflow: hidden; - border: 1px solid var(--color-border-default); + border: 1px solid var(--borderColor-default); } body span.frame span img { @@ -814,7 +748,7 @@ body span.frame span span { display: block; padding: 5px 0 0; clear: both; - color: var(--color-fg-default); + color: var(--fgColor-default); } body span.align-center { @@ -883,7 +817,8 @@ body tt { padding: .2em .4em; margin: 0; font-size: 85%; - background-color: var(--color-neutral-muted); + white-space: break-spaces; + background-color: var(--bgColor-neutral-muted); border-radius: 6px; } @@ -896,6 +831,10 @@ body del code { text-decoration: inherit; } +body samp { + font-size: 85%; +} + body pre code { font-size: 100%; } @@ -910,7 +849,7 @@ body pre>code { } body .highlight { - margin-bottom: 16px; + margin-bottom: var(--base-size-16); } body .highlight pre { @@ -920,11 +859,12 @@ body .highlight pre { body .highlight pre, body pre { - padding: 16px; + padding: var(--base-size-16); overflow: auto; font-size: 85%; line-height: 1.45; - background-color: var(--color-canvas-subtle); + color: var(--fgColor-default); + background-color: var(--bgColor-muted); border-radius: 6px; } @@ -952,9 +892,9 @@ body .csv-data th { } body .csv-data .blob-num { - padding: 10px 8px 9px; + padding: 10px var(--base-size-8) 9px; text-align: right; - background: var(--color-canvas-default); + background: var(--bgColor-default); border: 0; } @@ -963,19 +903,33 @@ body .csv-data tr { } body .csv-data th { - font-weight: 600; - background: var(--color-canvas-subtle); + font-weight: var(--base-text-weight-semibold, 600); + background: var(--bgColor-muted); border-top: 0; } +body [data-footnote-ref]::before { + content: "["; +} + +body [data-footnote-ref]::after { + content: "]"; +} + body .footnotes { font-size: 12px; - color: var(--color-fg-muted); - border-top: 1px solid var(--color-border-default); + color: var(--fgColor-muted); + border-top: 1px solid var(--borderColor-default); } body .footnotes ol { - padding-left: 16px; + padding-left: var(--base-size-16); +} + +body .footnotes ol ul { + display: inline-block; + padding-left: var(--base-size-16); + margin-top: var(--base-size-16); } body .footnotes li { @@ -984,30 +938,184 @@ body .footnotes li { body .footnotes li:target::before { position: absolute; - top: -8px; - right: -8px; - bottom: -8px; - left: -24px; + top: calc(var(--base-size-8)*-1); + right: calc(var(--base-size-8)*-1); + bottom: calc(var(--base-size-8)*-1); + left: calc(var(--base-size-24)*-1); pointer-events: none; content: ""; - border: 2px solid var(--color-accent-emphasis); + border: 2px solid var(--borderColor-accent-emphasis); border-radius: 6px; } body .footnotes li:target { - color: var(--color-fg-default); + color: var(--fgColor-default); } body .footnotes .data-footnote-backref g-emoji { font-family: monospace; } +body body:has(:modal) { + padding-right: var(--dialog-scrollgutter) !important; +} + +body .pl-c { + color: var(--color-prettylights-syntax-comment); +} + +body .pl-c1, +body .pl-s .pl-v { + color: var(--color-prettylights-syntax-constant); +} + +body .pl-e, +body .pl-en { + color: var(--color-prettylights-syntax-entity); +} + +body .pl-smi, +body .pl-s .pl-s1 { + color: var(--color-prettylights-syntax-storage-modifier-import); +} + +body .pl-ent { + color: var(--color-prettylights-syntax-entity-tag); +} + +body .pl-k { + color: var(--color-prettylights-syntax-keyword); +} + +body .pl-s, +body .pl-pds, +body .pl-s .pl-pse .pl-s1, +body .pl-sr, +body .pl-sr .pl-cce, +body .pl-sr .pl-sre, +body .pl-sr .pl-sra { + color: var(--color-prettylights-syntax-string); +} + +body .pl-v, +body .pl-smw { + color: var(--color-prettylights-syntax-variable); +} + +body .pl-bu { + color: var(--color-prettylights-syntax-brackethighlighter-unmatched); +} + +body .pl-ii { + color: var(--color-prettylights-syntax-invalid-illegal-text); + background-color: var(--color-prettylights-syntax-invalid-illegal-bg); +} + +body .pl-c2 { + color: var(--color-prettylights-syntax-carriage-return-text); + background-color: var(--color-prettylights-syntax-carriage-return-bg); +} + +body .pl-sr .pl-cce { + font-weight: bold; + color: var(--color-prettylights-syntax-string-regexp); +} + +body .pl-ml { + color: var(--color-prettylights-syntax-markup-list); +} + +body .pl-mh, +body .pl-mh .pl-en, +body .pl-ms { + font-weight: bold; + color: var(--color-prettylights-syntax-markup-heading); +} + +body .pl-mi { + font-style: italic; + color: var(--color-prettylights-syntax-markup-italic); +} + +body .pl-mb { + font-weight: bold; + color: var(--color-prettylights-syntax-markup-bold); +} + +body .pl-md { + color: var(--color-prettylights-syntax-markup-deleted-text); + background-color: var(--color-prettylights-syntax-markup-deleted-bg); +} + +body .pl-mi1 { + color: var(--color-prettylights-syntax-markup-inserted-text); + background-color: var(--color-prettylights-syntax-markup-inserted-bg); +} + +body .pl-mc { + color: var(--color-prettylights-syntax-markup-changed-text); + background-color: var(--color-prettylights-syntax-markup-changed-bg); +} + +body .pl-mi2 { + color: var(--color-prettylights-syntax-markup-ignored-text); + background-color: var(--color-prettylights-syntax-markup-ignored-bg); +} + +body .pl-mdr { + font-weight: bold; + color: var(--color-prettylights-syntax-meta-diff-range); +} + +body .pl-ba { + color: var(--color-prettylights-syntax-brackethighlighter-angle); +} + +body .pl-sg { + color: var(--color-prettylights-syntax-sublimelinter-gutter-mark); +} + +body .pl-corl { + text-decoration: underline; + color: var(--color-prettylights-syntax-constant-other-reference-link); +} + +body [role=button]:focus:not(:focus-visible), +body [role=tabpanel][tabindex="0"]:focus:not(:focus-visible), +body button:focus:not(:focus-visible), +body summary:focus:not(:focus-visible), +body a:focus:not(:focus-visible) { + outline: none; + box-shadow: none; +} + +body [tabindex="0"]:focus:not(:focus-visible), +body details-dialog:focus:not(:focus-visible) { + outline: none; +} + +body g-emoji { + display: inline-block; + min-width: 1ch; + font-family: "Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-size: 1em; + font-style: normal !important; + font-weight: var(--base-text-weight-normal, 400); + line-height: 1; + vertical-align: -0.075em; +} + +body g-emoji img { + width: 1em; + height: 1em; +} + body .task-list-item { list-style-type: none; } body .task-list-item label { - font-weight: 400; + font-weight: var(--base-text-weight-normal, 400); } body .task-list-item.enabled label { @@ -1015,7 +1123,7 @@ body .task-list-item.enabled label { } body .task-list-item+.task-list-item { - margin-top: 3px; + margin-top: var(--base-size-4); } body .task-list-item .handle { @@ -1023,14 +1131,98 @@ body .task-list-item .handle { } body .task-list-item-checkbox { - margin: 0 .2em .25em -1.6em; + margin: 0 .2em .25em -1.4em; vertical-align: middle; } -body .contains-task-list:dir(rtl) .task-list-item-checkbox { +body ul:dir(rtl) .task-list-item-checkbox { + margin: 0 -1.6em .25em .2em; +} + +body ol:dir(rtl) .task-list-item-checkbox { margin: 0 -1.6em .25em .2em; } +body .contains-task-list:hover .task-list-item-convert-container, +body .contains-task-list:focus-within .task-list-item-convert-container { + display: block; + width: auto; + height: 24px; + overflow: visible; + clip: auto; +} + body ::-webkit-calendar-picker-indicator { filter: invert(50%); } + +body .markdown-alert { + padding: var(--base-size-8) var(--base-size-16); + margin-bottom: var(--base-size-16); + color: inherit; + border-left: .25em solid var(--borderColor-default); +} + +body .markdown-alert>:first-child { + margin-top: 0; +} + +body .markdown-alert>:last-child { + margin-bottom: 0; +} + +body .markdown-alert .markdown-alert-title { + display: flex; + font-weight: var(--base-text-weight-medium, 500); + align-items: center; + line-height: 1; +} + +body .markdown-alert.markdown-alert-note { + border-left-color: var(--borderColor-accent-emphasis); +} + +body .markdown-alert.markdown-alert-note .markdown-alert-title { + color: var(--fgColor-accent); +} + +body .markdown-alert.markdown-alert-important { + border-left-color: var(--borderColor-done-emphasis); +} + +body .markdown-alert.markdown-alert-important .markdown-alert-title { + color: var(--fgColor-done); +} + +body .markdown-alert.markdown-alert-warning { + border-left-color: var(--borderColor-attention-emphasis); +} + +body .markdown-alert.markdown-alert-warning .markdown-alert-title { + color: var(--fgColor-attention); +} + +body .markdown-alert.markdown-alert-tip { + border-left-color: var(--borderColor-success-emphasis); +} + +body .markdown-alert.markdown-alert-tip .markdown-alert-title { + color: var(--fgColor-success); +} + +body .markdown-alert.markdown-alert-caution { + border-left-color: var(--borderColor-danger-emphasis); +} + +body .markdown-alert.markdown-alert-caution .markdown-alert-title { + color: var(--fgColor-danger); +} + +body>*:first-child>.heading-element:first-child { + margin-top: 0 !important; +} + +body .highlight pre:has(+.zeroclipboard-container) { + min-height: 52px; +} +