Merge pull request #7 from Junyi-99/junyi-update-code

update <code>
This commit is contained in:
Junyi 2024-03-04 18:53:52 +08:00 committed by GitHub
commit e319a2414e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 4 deletions

View File

@ -16,7 +16,8 @@
--nav-link-color: #b6b6b6; --nav-link-color: #b6b6b6;
--pre-color: #f8f8f2; --pre-color: #f8f8f2;
--pre-bg-color: #272822; --pre-bg-color: rgba(175, 184, 193, 0.1);
--pre-border-color: rgba(175, 184, 193, 0.3);
--bq-color: #ccc; --bq-color: #ccc;
--hr-color: #333; --hr-color: #333;

View File

@ -7,7 +7,7 @@
--card-border-color: #eeeeee; --card-border-color: #eeeeee;
--link-color:#1d60a3; --link-color:#1d60a3;
--link-state-color:#a31d1d; --link-state-color:rgb(163, 29, 29);
--link-state-border-color: rgba(163, 29, 29, .5); --link-state-border-color: rgba(163, 29, 29, .5);
--thead-bg-color: lightgrey; --thead-bg-color: lightgrey;
@ -17,8 +17,9 @@
--nav-link-color: #696969; --nav-link-color: #696969;
--nav-border-radius: 10px; --nav-border-radius: 10px;
--pre-color: #333; --pre-color: rgb(31, 35, 40);
--pre-bg-color: #f1f1f1; --pre-bg-color: rgba(175, 184, 193, 0.2);
--pre-border-color: rgba(175, 184, 193, 0.3);
--bq-color: #ccc; --bq-color: #ccc;
--hr-color: #ccc; --hr-color: #ccc;

View File

@ -174,6 +174,10 @@ kbd {
font-family: monospace; font-family: monospace;
font-size: 0.90em; font-size: 0.90em;
line-height: 154%; line-height: 154%;
border-radius: 6px;
border: 1px solid var(--pre-border-color);
padding: 0.1em 0.3em; /* top, bottom */
/* top, left, bottom, right */
} }
pre code, pre kbd { pre code, pre kbd {