Merge pull request #28 from Junyi-99/fix-main

Fix main
This commit is contained in:
Junyi 2024-04-08 15:10:57 +08:00 committed by GitHub
commit 1403fd5e54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 43 additions and 5 deletions

View File

@ -1,4 +1,5 @@
html[data-theme='light'] { @media (prefers-color-scheme: light) {
html {
--font-color: #1e1e1e; --font-color: #1e1e1e;
--bg-color: #ffffff; --bg-color: #ffffff;
@ -7,7 +8,7 @@ html[data-theme='light'] {
--link-color: #1d60a3; --link-color: #1d60a3;
--link-state-color: rgb(163, 29, 29); --link-state-color: rgb(163, 29, 29);
--link-state-border-color: rgba(163, 29, 29, .5); --link-state-border-color: rgba(163, 29, 29, 0.5);
--thead-bg-color: lightgrey; --thead-bg-color: lightgrey;
--table-border-color: lightgrey; --table-border-color: lightgrey;
@ -33,4 +34,41 @@ html[data-theme='light'] {
--svg-color: #333; --svg-color: #333;
--svg-state-color: #a31d1d; --svg-state-color: #a31d1d;
} }
}
html[data-theme="light"] {
--font-color: #1e1e1e;
--bg-color: #ffffff;
--card-color: #fafafa;
--card-border-color: #eeeeee;
--link-color: #1d60a3;
--link-state-color: rgb(163, 29, 29);
--link-state-border-color: rgba(163, 29, 29, 0.5);
--thead-bg-color: lightgrey;
--table-border-color: lightgrey;
--nav-bg-color: #fafafa;
--nav-link-color: #696969;
--pre-color: rgb(31, 35, 40);
--pre-bg-color: #eff1f2;
--pre-border-color: #e1e5e9;
--bq-color: #ccc;
--hr-color: #ccc;
--pagination-bg-color: #fafafa;
--pagination-link-color: #696969;
--pagination-border-color: #eeeeee;
--pagination-border-radius: 5px;
--post-info-color: grey;
--switcher-color: #333;
--svg-color: #333;
--svg-state-color: #a31d1d;
}

View File

@ -1,8 +1,8 @@
powered: powered:
other: "提供" other: "Powered by"
theme: theme:
other: "主題" other: "theme"
readMore: readMore:
other: "继续阅读" other: "继续阅读"