子比主题网站右下角悬浮按钮美化

这个功能适用于喜欢一些二次元的朋友。

使用教程:

1.子比主题设置—>自定义代码—>自定义 CSS 样式:,添加以下 CSS 代码:

2.在代码 28 行 background: url()括号内填写需要显示的图片链接。

/*悬浮按钮美化开始
span.float-btn.more-btn.hover-show.nowave {
    margin-top: 0px
}
.float-right.round.position-bottom {
    background: #fff;
    border-radius: var(--main-radius);
    transition: 0s;
    right: 1px;
    bottom: 170px;
    border-radius: 20px 0 0 20px;
    box-shadow: -5px 3px 10px 0px rgb(5 5 5 / 15%)
}
.float-right.round .float-btn {
    border-radius: 8px 0px 0px 17px
}
.float-right .float-btn {
    background: #fff
}
.float-right.round.position-bottom::before {
    content: '';
    width: 30px;
    height: 60px;
    background: url(填写显示的图片链接);
    background-size: cover;
    display: block;
    margin: 5px 3px 0 7px;
}
.dark-theme .float-right.round.position-bottom {
    background: #414141;
    border: 1px solid #4a4a4a;
    transition: 0s
}
.dark-theme .float-right .float-btn {
    background: #414141
}
.dark-theme .float-right.round.position-bottom a:hover {
    background: #505255;
    --this-color: var(--muted-2-color)
}
.dark-theme .float-right.round.position-bottom span:hover {
    background: #505255;
    --this-color: var(--muted-2-color)
}
span.newadd-btns.hover-show.float-btn.add-btn .hover-show-con.dropdown-menu.drop-newadd>a:hover {
    background-color: #d8d8d836;
    border-radius: 8px
}
a.float-btn.ontop.fade {
    display: none
}
/*悬浮按钮美化结束*/

👋 感谢您的观看!

© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享