Skip to content

Commit 90b73e4

Browse files
author
panhy
committed
feature: 增加备案图标
1 parent ab301ca commit 90b73e4

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

css/index.css

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

271+
.beian-icon {
272+
width: 16px;
273+
height: 16px;
274+
vertical-align: text-bottom;
275+
margin-right: 6px;
276+
filter: brightness(0.9);
277+
transition: filter 0.3s ease;
278+
position: relative;
279+
top: -1px;
280+
}
281+
282+
.icp-info a:hover .beian-icon {
283+
filter: brightness(1.2);
284+
}
285+
271286
@media (max-width: 768px) {
272287
.logo {
273288
font-size: 2.5rem;

img/beian.png

1.37 KB
Loading

index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,10 @@ <h1 class="logo">WebTech.wiki</h1>
184184
<p>收录优质技术资源,助力开发者成长</p>
185185
<div class="icp-info">
186186
<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">贵公网安备52263202522684号</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>
188191
</div>
189192
</footer>
190193
</div>

0 commit comments

Comments
 (0)