diff --git a/assets/css/dark.css b/assets/css/dark.css index 43bda3f..4725ba6 100644 --- a/assets/css/dark.css +++ b/assets/css/dark.css @@ -17,7 +17,7 @@ --nav-link-color: #b6b6b6; --pre-color: #f8f8f2; - --pre-bg-color: rgba(175, 184, 193, 0.1); + --pre-bg-color: #292b2d; --pre-border-color: rgba(175, 184, 193, 0.3); --bq-color: #ccc; @@ -55,7 +55,7 @@ html[data-theme='dark'] { --nav-link-color: #b6b6b6; --pre-color: #f8f8f2; - --pre-bg-color: rgba(175, 184, 193, 0.1); + --pre-bg-color: #292b2d; --pre-border-color: rgba(175, 184, 193, 0.3); --bq-color: #ccc; diff --git a/assets/css/light.css b/assets/css/light.css index 4487b08..10a6388 100644 --- a/assets/css/light.css +++ b/assets/css/light.css @@ -16,8 +16,8 @@ html[data-theme='light'] { --nav-link-color: #696969; --pre-color: rgb(31, 35, 40); - --pre-bg-color: rgba(175, 184, 193, 0.2); - --pre-border-color: rgba(175, 184, 193, 0.3); + --pre-bg-color: #eff1f2; + --pre-border-color: #e1e5e9; --bq-color: #ccc; --hr-color: #ccc; diff --git a/assets/css/main.css b/assets/css/main.css index 2f68b1a..cd76a71 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -188,6 +188,7 @@ kbd { pre code, pre kbd { color: inherit; background-color: inherit; + border: none; } /* Styles */ diff --git a/layouts/partials/giscus.html b/layouts/partials/giscus.html index b879c18..23f493a 100644 --- a/layouts/partials/giscus.html +++ b/layouts/partials/giscus.html @@ -4,6 +4,42 @@ {{ $category := .Site.Params.GiscusDiscussionCategory | default "Announcements" }} {{ $lazyload := .Site.Params.GiscusLazyLoad | default false }} + +{{/* \ No newline at end of file + */}} diff --git a/layouts/partials/theme-switcher.html b/layouts/partials/theme-switcher.html index 982740a..65d3943 100644 --- a/layouts/partials/theme-switcher.html +++ b/layouts/partials/theme-switcher.html @@ -18,7 +18,7 @@ {{ end }} \ No newline at end of file diff --git a/layouts/partials/toc.html b/layouts/partials/toc.html index c770f73..66f8075 100644 --- a/layouts/partials/toc.html +++ b/layouts/partials/toc.html @@ -17,16 +17,19 @@