效果展示
添加 css 样式和添加 HTML 代码即可如下
1.子比主题设置 >> 自定义代码 >> 自定义 CSS 样式:
网站底部按钮美化添加以下 CSS 代码:
/*网站底部按钮美化 www.wszyw.com*/
:root{--theme-color:#f04494;--focus-shadow-color:rgba(240,68,148,.4);--mian-max-width:1200px;}.github-badge {
display: inline-block;
border-radius: 4px;
text-shadow: none;
font-size: 12px;
color: #fff;
line-height: 15px;
margin-bottom: 5px;
}
.badge-subject {
display: inline-block;
background-color: #4d4d4d;
padding: 4px 4px 4px 6px;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
}
.github-badge .bg-blue {
background-color: #007ec6;
}
.github-badge .bg-brightgreen {
background-color: #4dc820;
}
.github-badge .bg-blueviolet {
background-color: #8833d7;
}
.github-badge .badge-value {
display: inline-block;
padding: 4px 6px 4px 4px;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.github-badge .bg-orange {
background-color: orange;
}
/*网站底部按钮美化结束 www.wszyw.com*/
2、子比主题设置 >> 页面&显示 >> 底部页脚 >> 板块二,
添加以下 HTML 代码:
<!--网站底部按钮美化 html 开始 by 无双资源网 www.wszyw.com-->
<div class="github-badge">
<span class="badge-subject bg-blue">
<a style="color:#fff" href="https://www.wszyw.com/links" target="_blank">友链申请</a>
</span>-
<span class="badge-subject bg-brightgreen">
<a style="color:#fff" href="https://www.wszyw.com/bqsm" target="_blank">版权声明</a>
</span>-
<span class="badge-subject bg-green">
<a style="color:#fff" href="https://www.wszyw.com/qqcl" target="_blank">侵权处理</a>
</span>-
<span class="badge-subject bg-orange">
<a style="color:#fff" href="https://www.wszyw.com/" target="_blank">广告合作</a>
</span>-
<span class="badge-value bg-blueviolet">
<a style="color:#fff" href="https://www.wszyw.com/" target="_blank">站点地图</a>
</span>-
</div>
<!--网站底部按钮美化 html 结束 by 无双资源网 www.wszyw.com-->
© 版权声明
THE END
暂无评论内容