From f5c554624948742923d3af2af9b6bfd9fe7983a8 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Thu, 21 Jan 2021 21:16:44 +0530 Subject: [PATCH] fix gist colors hide anchor underline for gist --- assets/css/post-single.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/css/post-single.css b/assets/css/post-single.css index ce7b1d19..1415431c 100644 --- a/assets/css/post-single.css +++ b/assets/css/post-single.css @@ -64,7 +64,7 @@ font-size: 12px } -.post-content a, +.post-content a:not(.gist a), .toc a:hover { box-shadow: 0 1px 0 } @@ -127,7 +127,7 @@ } .post-content table th, -.post-content:not(.gist) > table:not(.highlighttable) td { +.post-content table:not(.highlighttable, .highlight table, .gist .highlight) td { min-width: 80px; padding: 12px 8px; line-height: 1.5; @@ -143,7 +143,7 @@ margin: auto 0 } -.post-content:not(.gist) > .highlight, +.post-content .highlight:not(.gist .highlight), .post-content pre { margin: auto 0 20px; background: var(--hljs-bg) !important;