Skip to content

Commit 103af64

Browse files
committed
fix(layout): 增加导航栏与内容区域之间的间距
1 parent df84717 commit 103af64

File tree

1 file changed

+3
-2
lines changed
  • script-hook-website/src/components

1 file changed

+3
-2
lines changed

script-hook-website/src/components/Hero.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.hero {
2-
padding-top: 50px;
2+
padding-top: 90px;
33
padding-bottom: 80px;
44
margin-top: 0;
55
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
@@ -20,6 +20,7 @@
2020
max-width: 500px;
2121
position: relative;
2222
z-index: 5;
23+
padding-top: 20px;
2324
}
2425

2526
h1 {
@@ -125,7 +126,7 @@ h1 {
125126

126127
@media (max-width: 992px) {
127128
.hero {
128-
padding-top: 45px;
129+
padding-top: 80px;
129130
padding-bottom: 60px;
130131
margin-top: 0;
131132
}

0 commit comments

Comments
 (0)