Add mdbook.exe and enlarge theme fonts

Add mdbook.exe binary, adjust README list formatting, and significantly increase font sizes in theme/gitbook.css to improve readability. README changes add explicit bullet markers for the original repo/website links. CSS updates scale up font-size values across the sidebar, headings (h1–h6), table headers, code blocks, and other UI elements.
This commit is contained in:
Gugle 2026-04-14 17:16:16 +08:00
parent bd6f1d5ffe
commit be1e24672b
No known key found for this signature in database
GPG Key ID: 8EA96633CB40D9FE
2 changed files with 17 additions and 17 deletions

View File

@ -1,7 +1,7 @@
# 1.21.1 到 26.1 NeoForge 移植指南
> 原始仓库https://github.com/Leclowndu93150/Porting-Primers
> 原始地址https://leclowndu93150.github.io/Porting-Primers
> - 原始仓库https://github.com/Leclowndu93150/Porting-Primers
> - 原始地址https://leclowndu93150.github.io/Porting-Primers
本网站索引了上游 NeoForge 移植入门文档,以便您直接跳转到相关章节。

View File

@ -137,7 +137,7 @@ body {
border-radius: var(--gb-radius);
padding: 0.4rem 0.65rem;
line-height: 1.35;
font-size: 0.875rem;
font-size: 1.95rem;
}
.chapter li a {
@ -162,12 +162,12 @@ body {
.chapter > .chapter-item > .chapter-link-wrapper > a {
font-weight: 600;
font-size: 0.9rem;
font-size: 1.7rem;
}
/* nested sidebar children */
.chapter li li a {
font-size: 0.84rem;
font-size: 1.68rem;
padding-left: 1.4rem;
color: var(--gb-text-muted);
}
@ -214,7 +214,7 @@ body {
}
.content h1 {
font-size: 2rem;
font-size: 4rem;
line-height: 1.15;
font-weight: 700;
margin-top: 0;
@ -224,7 +224,7 @@ body {
}
.content h2 {
font-size: 1.4rem;
font-size: 2.8rem;
font-weight: 650;
margin-top: 2.5rem;
margin-bottom: 0.6rem;
@ -233,14 +233,14 @@ body {
}
.content h3 {
font-size: 1.15rem;
font-size: 2.3rem;
font-weight: 600;
margin-top: 1.8rem;
margin-bottom: 0.4rem;
}
.content h4 {
font-size: 1rem;
font-size: 2rem;
font-weight: 600;
margin-top: 1.4rem;
margin-bottom: 0.3rem;
@ -249,7 +249,7 @@ body {
.content h5,
.content h6 {
font-size: 0.9rem;
font-size: 1.8rem;
font-weight: 600;
margin-top: 1.2rem;
margin-bottom: 0.25rem;
@ -264,7 +264,7 @@ body {
.content th {
color: var(--gb-text-soft);
line-height: 1.65;
font-size: 0.95rem;
font-size: 1.9rem;
}
.content strong {
@ -296,7 +296,7 @@ body {
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 4px;
padding: 0.15rem 0.35rem;
font-size: 0.85em;
font-size: 1.68rem;
word-break: break-word;
}
@ -317,7 +317,7 @@ body {
border: 0;
padding: 0;
border-radius: 0;
font-size: 0.84rem;
font-size: 1.68rem;
word-break: normal;
white-space: pre;
}
@ -345,7 +345,7 @@ body {
border: 1px solid var(--gb-border);
border-radius: var(--gb-radius);
overflow: hidden;
font-size: 0.9rem;
font-size: 1.8rem;
}
.content thead {
@ -498,15 +498,15 @@ input:focus-visible {
}
.content h1 {
font-size: 1.6rem;
font-size: 3.2rem;
}
.content h2 {
font-size: 1.2rem;
font-size: 2.4rem;
}
.content pre {
font-size: 0.78rem;
font-size: 1.56rem;
padding: 0.75rem;
}
}