Skip to content

Commit 84f1402

Browse files
committed
优化手机端视图
1 parent 4e63a71 commit 84f1402

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

docs/.vuepress/theme/styles/custom.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@
8282
padding: 48px 150px !important;
8383
}
8484

85+
@media screen and (max-width: 768px) {
86+
.vp-page {
87+
padding: 24px 16px !important;
88+
min-width: 300px;
89+
}
90+
}
91+
8592
/* faq */
8693
.posts-container.no-profile {
8794
max-width: 1400px !important;
@@ -104,6 +111,12 @@
104111
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
105112
}
106113

114+
@media screen and (max-width: 768px) {
115+
.friends-list {
116+
grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
117+
}
118+
}
119+
107120
.avatar {
108121
width: auto;
109122
height: auto;

docs/about.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ pageLayout: page
33
title: 关于
44
---
55

6+
## 关于
7+
68
本教程为 Minecraft 入门教程,目的是帮助新玩家快速上手,熟悉 Minecraft 的基本操作。
79

810
玩家应具备一定基础电脑操作能力,如清楚 Windows 系统的文件管理,知道如何压缩/解压缩压缩包,能熟练访问浏览器和下载文件,会安装软件、打开运行程序等。

0 commit comments

Comments
 (0)