您的位置:首页 > Web前端 > CSS

hexo博客框架--nexT主题进阶设定

2017-04-13 13:43 253 查看
大家可先看下我的博客www.yuanjingzhuang.com

还有不明白的可以加我qq直接问: 755966092

背景透明

博客根目录
themes\next\source\css\_schemes\Pisces\_layout.styl
这个文件的

第65行
background:
删除掉

按钮背景

博客根目录
themes\next\source\css\_common\components\post\post-button.styl
第七行修改成
background: transparent;


站点概况背景

博客根目录
themes\next\source\css\_schemes\Pisces\_sidebar.styl


18行删除

菜单栏背景

next\source\css\_schemes\Pisces\_layout.styl
文件里
.header-inner
这个选择器下的
background
就是背景色

最后一个就是修改网易云跟帖的样式

因为网易云的样式都是网上的我们修改不了,只能覆盖

/* 背景 */
#yun-tie-sdk-wrap {
background-color: transparent!important;
}
/* 输入框背景 */
#yun-tie-sdk-wrap .input-box .tie-textarea {
background-color: transparent!important;
}
/* 评论背景 */
#yun-tie-sdk-wrap .single-tie {
background-color: transparent!important;
}
/* 最新,最热按钮背景 */
#yun-tie-sdk-wrap .tie-tab-bar li.z-fcs {
background-color: rgba(100,120,161,0.5)!important;
}
/* 输入框获取焦点的边框颜色 */
#yun-tie-sdk-wrap .input-box.z-fcs {
border-color: #aaa!important;
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  博客 css