We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92d871a commit b712ac9Copy full SHA for b712ac9
index.html
@@ -27,6 +27,9 @@
27
color: var(--text-color);
28
line-height: 1.7;
29
overflow-x: hidden;
30
+ min-height: 100vh;
31
+ display: flex;
32
+ flex-direction: column;
33
}
34
35
.container {
@@ -131,11 +134,15 @@
131
134
footer {
132
135
background: var(--secondary-color);
133
136
padding: 3rem 0;
- margin-top: 5rem;
137
+ margin-top: auto;
138
text-align: center;
139
color: white;
140
141
142
+ main {
143
+ flex: 1;
144
+ }
145
+
146
@media (max-width: 768px) {
147
.hero-title {
148
font-size: 2rem;
@@ -220,7 +227,7 @@ <h2>靶场目录</h2>
220
227
221
228
222
229
// 页面加载时更新 star 数量
223
- // updateStars();
230
+ updateStars();
224
231
</script>
225
232
</body>
226
233
</html>
0 commit comments