From f80bc7c44280e4f4119701220c1390ec8672d322 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Perceval=20Wajsb=C3=BCrt?= Date: Fri, 15 Nov 2024 21:51:25 +0100 Subject: [PATCH] Deployed 1ebc7d72c to master with MkDocs 1.6.1 and mike 1.1.2 --- master/assets/stylesheets/giscus_dark.css | 46 +++---- master/assets/stylesheets/giscus_light.css | 139 ++++----------------- 2 files changed, 44 insertions(+), 141 deletions(-) diff --git a/master/assets/stylesheets/giscus_dark.css b/master/assets/stylesheets/giscus_dark.css index bad98d064..191c66850 100644 --- a/master/assets/stylesheets/giscus_dark.css +++ b/master/assets/stylesheets/giscus_dark.css @@ -1,21 +1,31 @@ -/*! Modified from GitHub's dark theme in primer/primitives. - * MIT License +/*! MIT License * Copyright (c) 2018 GitHub Inc. * https://github.com/primer/primitives/blob/main/LICENSE - */main{--color-prettylights-syntax-comment:#8b949e;--color-prettylights-syntax-constant:#79c0ff;--color-prettylights-syntax-entity:#d2a8ff;--color-prettylights-syntax-storage-modifier-import:#c9d1d9;--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-invalid-illegal-text:#f0f6fc;--color-prettylights-syntax-invalid-illegal-bg:#8e1519;--color-prettylights-syntax-carriage-return-text:#f0f6fc;--color-prettylights-syntax-carriage-return-bg:#b62324;--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-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-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-btn-text:#c9d1d9;--color-btn-bg:#2d333bcc;--color-btn-border:#f0f6fc1a;--color-btn-shadow:0 0 #0000;--color-btn-inset-shadow:0 0 #0000;--color-btn-hover-bg:#2d333b80;--color-btn-hover-border:#8b949e;--color-btn-active-bg:#282e3380;--color-btn-active-border:#6e7681;--color-btn-selected-bg:#2d333b80;--color-btn-primary-text:#fff;--color-btn-primary-bg:#238636;--color-btn-primary-border:#f0f6fc1a;--color-btn-primary-shadow:0 0 #0000;--color-btn-primary-inset-shadow:0 0 #0000;--color-btn-primary-hover-bg:#2ea043;--color-btn-primary-hover-border:#f0f6fc1a;--color-btn-primary-selected-bg:#238636;--color-btn-primary-selected-shadow:0 0 #0000;--color-btn-primary-disabled-text:#f0f6fc80;--color-btn-primary-disabled-bg:#23863699;--color-btn-primary-disabled-border:#f0f6fc1a;--color-action-list-item-default-hover-bg:#909dab1f;--color-segmented-control-bg:#636e7b1a;--color-segmented-control-button-bg:#0000;--color-segmented-control-button-selected-border:#636e7b;--color-fg-default:#c9d1d9;--color-fg-muted:#8b949e;--color-fg-subtle:#484f58;--color-canvas-default:#0000;--color-canvas-overlay:#161b22e6;--color-canvas-inset:#0000;--color-canvas-subtle:#0000;--color-border-default:#30363d;--color-border-muted:#21262d;--color-neutral-muted:#6e76810d;--color-neutral-subtle:#6e76811a;--color-accent-fg:#58a6ff;--color-accent-emphasis:#1f6feb;--color-accent-muted:#388bfd66;--color-accent-subtle:#4184e41a;--color-success-fg:#3fb950;--color-attention-fg:#c69026;--color-attention-muted:#ae7c1466;--color-attention-subtle:#ae7c1426;--color-danger-fg:#f85149;--color-danger-muted:#e5534b66;--color-danger-subtle:#e5534b1a;--color-primer-shadow-inset:0 0 #0000;--color-scale-gray-7:#21262d;--color-scale-blue-8:#0c2d6b; + */main{--color-prettylights-syntax-comment:#8b949e;--color-prettylights-syntax-constant:#79c0ff;--color-prettylights-syntax-entity:#d2a8ff;--color-prettylights-syntax-storage-modifier-import:#c9d1d9;--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-invalid-illegal-text:#f0f6fc;--color-prettylights-syntax-invalid-illegal-bg:#8e1519;--color-prettylights-syntax-carriage-return-text:#f0f6fc;--color-prettylights-syntax-carriage-return-bg:#b62324;--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-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-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-btn-text:#c9d1d9;--color-btn-bg:#21262d;--color-btn-border:#f0f6fc1a;--color-btn-shadow:0 0 #0000;--color-btn-inset-shadow:0 0 #0000;--color-btn-hover-bg:#30363d;--color-btn-hover-border:#8b949e;--color-btn-active-bg:#282e33;--color-btn-active-border:#6e7681;--color-btn-selected-bg:#161b22;--color-btn-primary-text:#fff;--color-btn-primary-bg:#238636;--color-btn-primary-border:#f0f6fc1a;--color-btn-primary-shadow:0 0 #0000;--color-btn-primary-inset-shadow:0 0 #0000;--color-btn-primary-hover-bg:#2ea043;--color-btn-primary-hover-border:#f0f6fc1a;--color-btn-primary-selected-bg:#238636;--color-btn-primary-selected-shadow:0 0 #0000;--color-btn-primary-disabled-text:#ffffff80;--color-btn-primary-disabled-bg:#23863699;--color-btn-primary-disabled-border:#f0f6fc1a;--color-action-list-item-default-hover-bg:#b1bac41f;--color-segmented-control-bg:#6e76811a;--color-segmented-control-button-bg:#0d1117;--color-segmented-control-button-selected-border:#6e7681;--color-fg-default:#e6edf3;--color-fg-muted:#7d8590;--color-fg-subtle:#6e7681;--color-canvas-default:#0d1117;--color-canvas-overlay:#161b22;--color-canvas-inset:#010409;--color-canvas-subtle:#161b22;--color-border-default:#30363d;--color-border-muted:#21262d;--color-neutral-muted:#6e768166;--color-accent-fg:#2f81f7;--color-accent-emphasis:#1f6feb;--color-accent-muted:#388bfd66;--color-accent-subtle:#388bfd1a;--color-success-fg:#3fb950;--color-attention-fg:#d29922;--color-attention-muted:#bb800966;--color-attention-subtle:#bb800926;--color-danger-fg:#f85149;--color-danger-muted:#f8514966;--color-danger-subtle:#f851491a;--color-primer-shadow-inset:0 0 #0000;--color-scale-gray-7:#21262d;--color-scale-blue-8:#0c2d6b; - /*! Extensions from @primer/css/alerts/flash.scss */--color-social-reaction-bg-hover:var(--color-scale-gray-7);--color-social-reaction-bg-reacted-hover:var(--color-scale-blue-8)}main .pagination-loader-container{background-image:url(https://github.com/images/modules/pulls/progressive-disclosure-line-dark.svg)}.gsc-pagination-button{background-color:var(--color-btn-bg)}.gsc-homepage-bg{animation:gradient 21s ease infinite;background:linear-gradient(135deg,#05485c,#032e58,#2f0154);background-size:600% 600%}@keyframes gradient{0%{background-position:2% 0}50%{background-position:99% 100%}to{background-position:2% 0}}main .gsc-loading-image{background-image:url(https://github.githubassets.com/images/mona-loading-dark.gif)} + /*! Extensions from @primer/css/alerts/flash.scss */--color-social-reaction-bg-hover:var(--color-scale-gray-7);--color-social-reaction-bg-reacted-hover:var(--color-scale-blue-8)}main .pagination-loader-container{background-image:url(https://github.com/images/modules/pulls/progressive-disclosure-line-dark.svg)}main .gsc-loading-image{background-image:url(https://github.githubassets.com/images/mona-loading-dark.gif)} +/* Hide closed discussions */ + +.gsc-comment:has(.gsc-comment-content.minimized) .gsc-replies { + display: none; +} -main .pagination-loader-container { - background-image: url(https://github.com/images/modules/pulls/progressive-disclosure-line.svg) +.gsc-comment:has(.gsc-comment-content.minimized) { + display: none; } -main .gsc-loading-image { - background-image: url(https://github.githubassets.com/images/mona-loading-default.gif) +.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)); } -/* Customization below */ +/* 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; } @@ -111,24 +121,6 @@ main .gsc-loading-image { inset-inline-start: 22px; } -/* 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)); -} - .gsc-reply > div.flex > div.w-full { display: grid; grid-template: diff --git a/master/assets/stylesheets/giscus_light.css b/master/assets/stylesheets/giscus_light.css index 578b6d4d0..f7199973a 100644 --- a/master/assets/stylesheets/giscus_light.css +++ b/master/assets/stylesheets/giscus_light.css @@ -1,102 +1,31 @@ /*! 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) -} - -/* Customization below */ + */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; } @@ -192,24 +121,6 @@ main .gsc-loading-image { inset-inline-start: 22px; } -/* 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)); -} - .gsc-reply > div.flex > div.w-full { display: grid; grid-template: