Skip to content

Commit 127f993

Browse files
committed
feat(ui): enhance title layout
1 parent 772a4f9 commit 127f993

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

docs/.vitepress/theme/custom.css

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,38 @@
2020
/* 确保文本颜色透明 */
2121
}
2222

23+
@media (min-width: 960px) {
24+
25+
.VPContent .VPHero.has-image .container{
26+
height: 270px;
27+
}
28+
29+
.VPContent .VPHero.has-image .main{
30+
max-width: 900px;
31+
}
32+
33+
.VPHomeHero .main .name {
34+
font-size: 80px;
35+
line-height: 120px;
36+
}
37+
38+
.VPHomeHero .main .text{
39+
max-width: 700px;
40+
}
41+
42+
.VPContent.is-home {
43+
padding-top: 130px;
44+
}
45+
}
46+
2347
.VPButton.brand {
2448
background-color: #f472b6 !important;
2549
}
2650

2751
.VPLocalSearchBox #localsearch-list mark {
2852
background-color: rgba(255, 138, 128, 0.3);
2953
}
54+
3055
/* .vitepress\theme\style\blur.css */
3156
:root {
3257

0 commit comments

Comments
 (0)