Files
blog/themes/butterfly/source/css/welcome.css
2025-08-12 12:19:25 +08:00

25 lines
873 B
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#welcome-info {
overflow: hidden;
border-radius: 14px;
--kouseki-welcome-color: #49B1F5;
--kouseki-ip-color: #49B1F5;
--kouseki-gl-size: 16px!important;
}
/* 给 IP 地址的 span 再包一层,便于选择器定位 */
/* JS 原文已经生成 <b><span>IP</span></b>,这里我们给这个 span 加类名 ip-mask */
/* 如果你不方便改 HTML可直接用属性选择器#welcome-info b span:nth-child(1) */
#welcome-info b span.ip-mask {
display: inline-block;
filter: blur(6px);
transition: filter .3s ease;
cursor: pointer;
user-select: none; /* 防止复制到模糊文本 */
}
/* 鼠标悬停或点击时(:active立即清晰 */
#welcome-info b span.ip-mask:hover,
#welcome-info b span.ip-mask:active {
filter: blur(0);
}
/* 如果想做成「必须点一下才永久清晰」,把 :hover 去掉即可 */