From 8c6032b39b187ae7b774532c96ff48f1adf95cf6 Mon Sep 17 00:00:00 2001 From: Zabriskije <101254295+Zabriskije@users.noreply.github.com> Date: Wed, 29 Mar 2023 03:39:56 +0200 Subject: [PATCH] Update themes Fixed an issue in `blockquote` --- github-dark-default.css | 6 +++--- github-dark-dimmed.css | 15 +++++++++++---- github-dark-high-contrast.css | 14 +++++++++++--- 3 files changed, 25 insertions(+), 10 deletions(-) diff --git a/github-dark-default.css b/github-dark-default.css index 4e174cc..7a53efe 100644 --- a/github-dark-default.css +++ b/github-dark-default.css @@ -564,14 +564,14 @@ blockquote .md-end-block.md-heading:before { } blockquote { - margin: 0 0 1.11111rem; - padding: .5rem 1.11111rem 0 1.05556rem; + margin: 0 0 1rem; + padding: 0 1rem; border-left: .25rem solid #3b434b; } blockquote, blockquote p { - line-height: 1.8; + line-height: 1.5; color: #8b949e; } diff --git a/github-dark-dimmed.css b/github-dark-dimmed.css index 7f00c0d..00de35b 100644 --- a/github-dark-dimmed.css +++ b/github-dark-dimmed.css @@ -29,7 +29,16 @@ --mermaid-node-border: #bd7958; --mermaid-contrast-color: #afe61d; --mermaid-theme: dark; - --monospace: ui-monospace; + --monospace: ui-monospace, + Menlo, Monaco, + "Cascadia Mono", "Segoe UI Mono", + "Roboto Mono", + "Oxygen Mono", + "Ubuntu Monospace", + "Source Code Pro", + "Fira Mono", + "Droid Sans Mono", + "Courier New", monospace; } code { @@ -37,9 +46,7 @@ code { } blockquote { - border-left-width: 4px !important; - border-left: .25em solid #444c56 !important; - padding: 0 1em; + border-left: .25rem solid #444c56 !important; } blockquote p { diff --git a/github-dark-high-contrast.css b/github-dark-high-contrast.css index 388ec05..df4bfac 100644 --- a/github-dark-high-contrast.css +++ b/github-dark-high-contrast.css @@ -29,7 +29,16 @@ --mermaid-node-border: #bd7958; --mermaid-contrast-color: #afe61d; --mermaid-theme: dark; - --monospace: ui-monospace; + --monospace: ui-monospace, + Menlo, Monaco, + "Cascadia Mono", "Segoe UI Mono", + "Roboto Mono", + "Oxygen Mono", + "Ubuntu Monospace", + "Source Code Pro", + "Fira Mono", + "Droid Sans Mono", + "Courier New", monospace; } code { @@ -46,8 +55,7 @@ code { } blockquote { - border-left: .25em solid #7a828e !important; - color: var(--text-color) !important; + border-left: .25rem solid #7a828e !important; } blockquote p {