-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e0946d
commit e16413c
Showing
14 changed files
with
323 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
body { | ||
transition: background-color 0.3s ease, color 0.3s ease; | ||
} | ||
|
||
body.dark-mode { | ||
background-color: #424242; | ||
color: #e0e0e0; | ||
} | ||
|
||
.mode-toggle { | ||
position: absolute; | ||
top: 15px; | ||
right: 15px; | ||
} | ||
|
||
#mode-switch { | ||
border: none; | ||
background-color: transparent; | ||
cursor: pointer; | ||
} | ||
|
||
#mode-icon { | ||
font-size: 48px; | ||
color: inherit; | ||
} | ||
|
||
.invert { | ||
filter: invert(1); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@import url('https://fonts.font.im/css2?&family=Noto+Serif:[email protected]&display=swap'); | ||
@import url("https://fonts.font.im/css2?&family=Noto+Serif:[email protected]&display=swap"); | ||
|
||
body { | ||
background-color: #f9f2e0; | ||
|
@@ -9,7 +9,7 @@ body { | |
flex-direction: column; | ||
margin: 0; | ||
height: 100vh; | ||
font-family: 'Noto Serif', 'Times New Roman', SimSun, Times, serif; | ||
font-family: "Noto Serif", "Times New Roman", SimSun, Times, serif; | ||
} | ||
|
||
a { | ||
|
@@ -39,7 +39,7 @@ a { | |
line-height: inherit; | ||
vertical-align: middle; | ||
font-size: inherit; | ||
transform: translateY(-.1em); | ||
transform: translateY(-0.1em); | ||
} | ||
|
||
/* 响应式设计 */ | ||
|
@@ -55,4 +55,4 @@ a { | |
.teahouse-logo { | ||
width: 20em; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
@import url('https://fonts.font.im/css2?family=Fira+Code&family=Noto+Serif+JP&family=Noto+Serif+KR&family=Noto+Serif:[email protected]&family=Noto+Serif+HK&family=Noto+Serif+SC:wght@400;600;700;900&family=Noto+Serif+TC:wght@300;400&display=swap'); | ||
@import url("https://fonts.font.im/css2?family=Fira+Code&family=Noto+Serif+JP&family=Noto+Serif+KR&family=Noto+Serif:[email protected]&family=Noto+Serif+HK&family=Noto+Serif+SC:wght@400;600;700;900&family=Noto+Serif+TC:wght@300;400&display=swap"); | ||
|
||
@font-face { | ||
font-display: swap; | ||
font-family: '一点明体'; | ||
font-family: "一点明体"; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('一点明体'), | ||
url('../fonts/I.Ming-8.10.subset.woff2') format('woff2'); | ||
src: local("一点明体"), | ||
url("../fonts/I.Ming-8.10.subset.woff2") format("woff2"); | ||
/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ | ||
} | ||
|
||
|
@@ -18,7 +18,6 @@ body { | |
flex-direction: column; | ||
align-items: center; | ||
gap: 1em; | ||
transition: background-color 0.3s ease, color 0.3s ease; | ||
} | ||
|
||
/* 链接样式 */ | ||
|
@@ -29,11 +28,6 @@ body { | |
top: 15px; | ||
} | ||
|
||
body.dark-mode { | ||
background-color: #2e2e2e; | ||
color: #f9f2e0; | ||
} | ||
|
||
.github-icon { | ||
width: 48px; | ||
height: auto; | ||
|
@@ -56,21 +50,27 @@ body.dark-mode { | |
transition: color 0.3s ease; | ||
} | ||
|
||
.mode-toggle { | ||
position: absolute; | ||
top: 15px; | ||
right: 75px; | ||
} | ||
|
||
.material-symbols-outlined.md-48 { | ||
position: absolute; | ||
font-size: 48px; | ||
} | ||
|
||
/* 标题样式 */ | ||
.title { | ||
font-family: 'Noto Serif', 'Times New Roman', SimSun, Times, serif; | ||
font-family: "Noto Serif", "Times New Roman", SimSun, Times, serif; | ||
font-size: 2.5em; | ||
font-weight: 600; | ||
text-align: center; | ||
} | ||
|
||
.subtitle { | ||
font-family: 'Fira Code', 'Source Code Pro', Consolas, Monaco, monospace; | ||
font-family: "Fira Code", "Source Code Pro", Consolas, Monaco, monospace; | ||
font-size: 1.25em; | ||
text-align: center; | ||
} | ||
|
@@ -83,7 +83,7 @@ table { | |
table td, | ||
table th { | ||
text-align: center; | ||
padding: .5em 2em; | ||
padding: 0.5em 2em; | ||
border-width: 2px; | ||
border-style: solid; | ||
font-size: 1.5em; | ||
|
@@ -153,7 +153,8 @@ table th { | |
} | ||
|
||
.table-header { | ||
font-family: 'Noto Serif SC', 'Source Han Serif SC', 'Source Han Serif CN', "思源宋体", 'Times New Roman', SimSun, Times, serif; | ||
font-family: "Noto Serif SC", "Source Han Serif SC", "Source Han Serif CN", | ||
"思源宋体", "Times New Roman", SimSun, Times, serif; | ||
font-size: 2.25em; | ||
white-space: nowrap; | ||
} | ||
|
@@ -169,35 +170,43 @@ table th { | |
} | ||
|
||
.zh-cn { | ||
font-family: 'Noto Serif SC', 'Source Han Serif SC', 'Source Han Serif CN', '思源宋体', 'Times New Roman', SimSun, Times, serif; | ||
font-family: "Noto Serif SC", "Source Han Serif SC", "Source Han Serif CN", | ||
"思源宋体", "Times New Roman", SimSun, Times, serif; | ||
} | ||
|
||
.zh-hk { | ||
font-family: 'Noto Serif HK', 'Source Han Serif HC', 'Source Han Serif HK', '思源宋體 香港', 'Times New Roman', SimSun, Times, serif; | ||
font-family: "Noto Serif HK", "Source Han Serif HC", "Source Han Serif HK", | ||
"思源宋體 香港", "Times New Roman", SimSun, Times, serif; | ||
} | ||
|
||
.zh-tw { | ||
font-family: 'Noto Serif TC', 'Source Han Serif TC', 'Source Han Serif TW', '思源宋體', 'Times New Roman', SimSun, Times, serif; | ||
font-family: "Noto Serif TC", "Source Han Serif TC", "Source Han Serif TW", | ||
"思源宋體", "Times New Roman", SimSun, Times, serif; | ||
} | ||
|
||
.lzh { | ||
font-family: '一点明体', "Noto Serif TC Light", 'Source Han Serif TC Light', 'Source Han Serif TW Light', "思源宋體 Light", 'Times New Roman', SimSun, Times, serif; | ||
font-family: "一点明体", "Noto Serif TC Light", "Source Han Serif TC Light", | ||
"Source Han Serif TW Light", "思源宋體 Light", "Times New Roman", SimSun, | ||
Times, serif; | ||
} | ||
|
||
.ja { | ||
font-family: 'Noto Serif JP', 'Source Han Serif', 'Source Han Serif JP', 'Times New Roman', SimSun, Times, serif; | ||
font-family: "Noto Serif JP", "Source Han Serif", "Source Han Serif JP", | ||
"Times New Roman", SimSun, Times, serif; | ||
} | ||
|
||
.ko { | ||
font-family: 'Noto Serif KR', 'Source Han Serif K', 'Source Han Serif KR', 'Times New Roman', Times, serif; | ||
font-family: "Noto Serif KR", "Source Han Serif K", "Source Han Serif KR", | ||
"Times New Roman", Times, serif; | ||
} | ||
|
||
.vi { | ||
font-family: 'Noto Serif', 'Times New Roman', SimSun, Times, serif; | ||
font-family: "Noto Serif", "Times New Roman", SimSun, Times, serif; | ||
} | ||
|
||
.minecraft-title { | ||
font-family: 'Noto Serif', 'Source Han Serif', 'Times New Roman', SimSun, Times, serif; | ||
font-family: "Noto Serif", "Source Han Serif", "Times New Roman", SimSun, | ||
Times, serif; | ||
text-align: center; | ||
font-size: 2.25em; | ||
font-weight: 900; | ||
|
@@ -225,7 +234,7 @@ table th { | |
|
||
.form .container input, | ||
.form .container select { | ||
padding: .2em; | ||
padding: 0.2em; | ||
border: 1px solid #ccc; | ||
border-radius: 5px; | ||
} | ||
|
@@ -254,29 +263,6 @@ table th { | |
display: none; | ||
} | ||
|
||
/* light/dark mode */ | ||
|
||
.mode-toggle { | ||
position: absolute; | ||
top: 15px; | ||
right: 75px; | ||
} | ||
|
||
#mode-switch { | ||
border: none; | ||
background-color: transparent; | ||
cursor: pointer; | ||
} | ||
|
||
#mode-icon { | ||
font-size: 48px; | ||
color: inherit; | ||
} | ||
|
||
.invert { | ||
filter: invert(1); | ||
} | ||
|
||
/* collapse */ | ||
.collapsible { | ||
position: relative; | ||
|
@@ -325,7 +311,7 @@ table th { | |
} | ||
|
||
.mode-toggle { | ||
right: 50px | ||
right: 50px; | ||
} | ||
|
||
.title { | ||
|
@@ -389,4 +375,4 @@ table th { | |
width: 60%; | ||
font-size: 1em; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.