Skip to content

Commit edd565c

Browse files
修改了上一篇和下一篇
0 parents  commit edd565c

23 files changed

Lines changed: 1497 additions & 0 deletions

.github/workflows/deploy.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Deploy MkDocs Site to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [ main ] # 当推送到 main 分支时触发
6+
7+
# 授予 Actions 操作 Pages 的权限
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
jobs:
14+
deploy:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: 🚀 remove GitHub Pages
18+
uses: peaceiris/actions-gh-pages@v4
19+
with:
20+
personal_token: ${{ secrets.DEPLOY_TOKEN }}
21+
exclude_assets: ""
22+
23+
- name: 📥 Checkout code
24+
uses: actions/checkout@v4
25+
26+
- name: 🐍 Setup Python
27+
uses: actions/setup-python@v5
28+
with:
29+
python-version: 3.12
30+
31+
- name: ⚙️ Install MkDocs and Material theme
32+
run: |
33+
pip install --upgrade pip
34+
pip install mkdocs mkdocs-material
35+
36+
- name: 🏗️ Build static site
37+
run: |
38+
rm -rf site
39+
mkdocs build
40+
41+
- name: 🚀 Deploy to GitHub Pages
42+
uses: peaceiris/actions-gh-pages@v4
43+
with:
44+
# 关键:使用你自己的 Personal Token(不是 GITHUB_TOKEN!)
45+
personal_token: ${{ secrets.DEPLOY_TOKEN }}
46+
publish_dir: ./site
47+
# 可选:指定发布分支(默认就是 gh-pages)
48+
publish_branch: gh-pages

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# WaterGodFurina.github.io

docs/HowToSayQuesion.md

Lines changed: 778 additions & 0 deletions
Large diffs are not rendered by default.

docs/QQmember-xingwei.md

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
1.**文明交流**:群成员应保持良好的交流氛围,使用文明用语,尊重他人意见和观点。
2+
3+
2.**积极分享**:鼓励群成员分享 Fold Craft Launcher 游戏相关的经验、技巧、资源等,共同提升游戏水平。
4+
5+
3.**问题解决**:群成员在遇到问题或纠纷时,应首先尝试通过友好沟通解决,避免矛盾升级。如无法自行解决,可寻求管理员或群主的帮助。
6+
7+
4.**维护群誉**:群成员应自觉维护群的声誉,不得在外散播对本群不利的言论或信息。如发现有人恶意诋毁本群,应及时向管理员或群主报告。
8+
9+
5.**尊重原创**:尊重他人的原创内容,如需转载或引用,应注明出处和作者,并获得相应授权。
10+
11+
6.**学习交流**:鼓励群成员积极参与群内组织的学习交流活动,互相学习,共同进步。
12+
13+
7.**新成员引导**:新成员入群时,老成员应主动上前打招呼,介绍群内规则和文化,帮助新成员尽快融入群聊。
14+
15+
8.**隐私保护**:群成员应自觉保护自己和他人的隐私,不在群内随意透露敏感信息,如个人身份证明、银行账户等。
16+
17+
9.**讨论组织**:在群内讨论问题时,应尽量保持话题的集中性和逻辑性,避免跑题和混乱,确保讨论的有效性和成果性。
18+
19+
10.**资源分享**:分享资源时,应确保资源的合法性和安全性,不得分享含有病毒、木马等恶意软件的资源链接。
20+
21+
11.**反馈建议**:对群内管理、活动组织等方面有建议或意见时,应通过合理渠道向管理员或群主反馈,共同促进群的发展和完善。
22+
23+
12.**行为示范**:群内的管理员和老成员应以身作则,遵守群规,为新成员树立良好的榜样,引导群内形成良好的风气。
24+
25+
<style>
26+
/* 移动端优化的导航卡片 */
27+
.mobile-pagination-card {
28+
background: #ffffff;
29+
border: 1px solid #e0e0e0;
30+
border-radius: 12px;
31+
padding: 1.2rem;
32+
margin: 1.5rem 0;
33+
display: flex;
34+
justify-content: space-between;
35+
align-items: center;
36+
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
37+
}
38+
39+
/* 左侧“上一章”区域 */
40+
.prev-section {
41+
flex: 1;
42+
display: flex;
43+
flex-direction: column;
44+
align-items: flex-start;
45+
text-align: left;
46+
padding-right: 1rem;
47+
}
48+
49+
/* 右侧“下一章”区域 */
50+
.next-section {
51+
flex: 2; /* 右边占更多空间,因为标题通常更长 */
52+
display: flex;
53+
flex-direction: column;
54+
align-items: flex-end;
55+
text-align: right;
56+
padding-left: 1rem;
57+
}
58+
59+
/* 类目小字(上一章/下一页) */
60+
.cat-text {
61+
font-size: 0.55rem;
62+
color: #888;
63+
margin-bottom: 0.25rem;
64+
font-weight: normal;
65+
}
66+
67+
/* 标题大字 */
68+
.title-text {
69+
font-size: 1rem; /* 手机上稍微大一点,便于点击 */
70+
color: #2196F3; /* 蓝色表示链接 */
71+
font-weight: 600;
72+
text-decoration: none;
73+
display: block;
74+
}
75+
76+
/* 标题过长换行,超出部分隐藏(移动端重要) */
77+
.title-text {
78+
white-space: normal;
79+
overflow: hidden;
80+
text-overflow: ellipsis;
81+
max-width: 100%; /* 防止溢出 */
82+
}
83+
84+
/* Hover效果(虽然手机没有hover,但为了平板或电脑浏览保留) */
85+
.title-text:hover {
86+
color: #1976D2;
87+
}
88+
89+
/* 分隔线(可选,增加区分度) */
90+
.divider-line {
91+
width: 1px;
92+
height: 24px;
93+
background-color: #eee;
94+
margin: 0 1rem;
95+
}
96+
97+
@media (max-width: 480px) {
98+
/* 更小的屏幕下调整内边距 */
99+
.mobile-pagination-card {
100+
padding: 1rem;
101+
}
102+
.title-text {
103+
font-size: 0.75rem;
104+
}
105+
}
106+
</style>
107+
108+
<!-- HTML 结构 -->
109+
<div class="mobile-pagination-card">
110+
<!-- 左侧:上一章 -->
111+
<a href="/details/" class="prev-section">
112+
<span class="cat-text">上一页</span>
113+
<span class="title-text">群规详情</span>
114+
</a>
115+
116+
<!-- 中间分隔线(可选,如果不需要可以删掉<div class="divider-line"></div>这一行) -->
117+
<div class="divider-line"></div>
118+
119+
<!-- 右侧:下一章 -->
120+
<a href="/download/" class="next-section">
121+
<span class="cat-text">下一页</span>
122+
<span class="title-text">FCL与MC链接跳转</span>
123+
</a>
124+
</div>

docs/assets/img/mc.curseforge.jpg

47.3 KB
Loading

docs/assets/img/mc.curseforge1.jpg

495 KB
Loading

docs/assets/img/mc.info.be.jpg

68.3 KB
Loading

docs/assets/img/mc.modrinth.jpg

45 KB
Loading

docs/assets/img/mc.modrinth1.jpg

503 KB
Loading

docs/assets/img/mc.modrinth2.jpg

45.2 KB
Loading

0 commit comments

Comments
 (0)