fix the bug in <code>

This commit is contained in:
Junyi Hou 2024-03-18 16:58:00 +08:00
parent 73be65adfb
commit cf18ae777f
3 changed files with 5 additions and 4 deletions

View File

@ -17,7 +17,7 @@
--nav-link-color: #b6b6b6; --nav-link-color: #b6b6b6;
--pre-color: #f8f8f2; --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); --pre-border-color: rgba(175, 184, 193, 0.3);
--bq-color: #ccc; --bq-color: #ccc;
@ -55,7 +55,7 @@ html[data-theme='dark'] {
--nav-link-color: #b6b6b6; --nav-link-color: #b6b6b6;
--pre-color: #f8f8f2; --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); --pre-border-color: rgba(175, 184, 193, 0.3);
--bq-color: #ccc; --bq-color: #ccc;

View File

@ -16,8 +16,8 @@ html[data-theme='light'] {
--nav-link-color: #696969; --nav-link-color: #696969;
--pre-color: rgb(31, 35, 40); --pre-color: rgb(31, 35, 40);
--pre-bg-color: rgba(175, 184, 193, 0.2); --pre-bg-color: #eff1f2;
--pre-border-color: rgba(175, 184, 193, 0.3); --pre-border-color: #e1e5e9;
--bq-color: #ccc; --bq-color: #ccc;
--hr-color: #ccc; --hr-color: #ccc;

View File

@ -188,6 +188,7 @@ kbd {
pre code, pre kbd { pre code, pre kbd {
color: inherit; color: inherit;
background-color: inherit; background-color: inherit;
border: none;
} }
/* Styles */ /* Styles */