Skip to content

Commit 1b9a485

Browse files
author
panhy
committed
feature: 调整备案信息样式
1 parent 90b73e4 commit 1b9a485

2 files changed

Lines changed: 32 additions & 5 deletions

File tree

css/index.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,19 @@ footer {
268268
transform: translateY(0);
269269
}
270270

271+
.icp-info {
272+
display: flex;
273+
flex-wrap: wrap;
274+
justify-content: center;
275+
gap: 15px;
276+
align-items: center;
277+
}
278+
279+
.icp-item {
280+
display: flex;
281+
align-items: center;
282+
}
283+
271284
.beian-icon {
272285
width: 16px;
273286
height: 16px;
@@ -283,7 +296,17 @@ footer {
283296
filter: brightness(1.2);
284297
}
285298

299+
/* 移动端响应式样式 */
286300
@media (max-width: 768px) {
301+
.icp-info {
302+
flex-direction: column;
303+
gap: 8px;
304+
}
305+
306+
.icp-item {
307+
justify-content: center;
308+
}
309+
287310
.logo {
288311
font-size: 2.5rem;
289312
}

index.html

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,15 @@ <h1 class="logo">WebTech.wiki</h1>
183183
<p>&copy; 2025 WebTech.wiki - 为开发者精心打造的技术导航站点</p>
184184
<p>收录优质技术资源,助力开发者成长</p>
185185
<div class="icp-info">
186-
<a href="https://beian.miit.gov.cn/" target="_blank">黔ICP备2024030886号-2</a> |
187-
<a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=52263202522684" target="_blank">
188-
<img src="./img/beian.png" alt="公安备案图标" class="beian-icon">
189-
贵公网安备52263202522684号
190-
</a>
186+
<div class="icp-item">
187+
<a href="https://beian.miit.gov.cn/" target="_blank">黔ICP备2024030886号-2</a>
188+
</div>
189+
<div class="icp-item">
190+
<a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=52263202522684" target="_blank">
191+
<img src="./img/beian.png" alt="公安备案图标" class="beian-icon">
192+
贵公网安备52263202522684号
193+
</a>
194+
</div>
191195
</div>
192196
</footer>
193197
</div>

0 commit comments

Comments
 (0)