From 4b7b01b8d7d9a7a92f67791f7e946f1b23fa3ea6 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sat, 5 Nov 2022 23:42:09 +0800 Subject: [PATCH] gist --- source/css/_common/highlight.styl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/source/css/_common/highlight.styl b/source/css/_common/highlight.styl index 39ff749..94c21e4 100644 --- a/source/css/_common/highlight.styl +++ b/source/css/_common/highlight.styl @@ -75,6 +75,22 @@ article.md .highlight .gutter+.code pre padding-left: 0.25em +article.md .gist + .gist-file + border: 1px solid var(--block-border) + border-radius: $border-block + .gist-data + border-bottom: 1px solid var(--block-border) + .highlight + display: inherit + border: none + border-radius: 0 + background: none + margin: 0 + padding: 1em 0 + .gist-meta + background: var(--block-border) + table:not([class]) border-collapse: collapse