新版多说css,扁平化多说样式CSS-来自simple作者的扁平化多说css

本文介绍如何通过修改CSS样式来自定义WordPress网站上的多说评论插件界面,包括按钮尺寸、字体选择、间距调整等。
摘要由CSDN通过智能技术生成

bd7f641b7314d3c21e01746297af241c.png

使用方法

安装配置好多说插件后,进入wordpress后台-多说评论,先点击主题设置,把主题设置为BlueBox,然后进入-个性化设置-基本设置-自定义CSS,把下面的css内容复制过去,粘贴在红框内就行了

8809fd6ed4869b2fcca58c89c3646e5e.png

CSS代码

#ds-thread{

margin-bottom:30px;

font-family:"Microsoft Yahei";

}

#ds-thread #ds-reset{

position: relative;

}

#ds-thread #ds-reset .ds-meta{

border-bottom:0;

}

#ds-thread #ds-reset li.ds-tab .ds-comments-tab-duoshuo,

#ds-thread #ds-reset li.ds-tab .ds-current,

#ds-thread #ds-reset .ds-like-thread-button,

#ds-thread #ds-reset .ds-like-panel{

display:inline-block;

margin:0!important;

padding:0!important;

width:100px;

height:30px;

line-height:30px;

text-align: center;

border:0!important;

}

#ds-thread #ds-reset a.ds-like-thread-button{

box-shadow:none;

text-shadow:none;

background-image:none;

}

#ds-thread #ds-reset .ds-post-toolbar{

box-shadow: none;

margin-top:20px;

}

#ds-thread #ds-reset .ds-textarea-wrapper{

border:none;

border-radius: 3px;

background:#eee;

}

#ds-thread #ds-reset .ds-textarea-wrapper textarea{

height:96px!important;

}

#ds-thread #ds-reset .ds-post-options{

border:0;

}

#ds-thread #ds-reset .ds-post-options .ds-sync{

display:none;

}

#ds-thread #ds-reset .ds-post-button{

width:120px;

border-radius: 4px;

background:#5bc0de;

box-shadow:0 3px 10px rgba(0,0,0,0.06), 0 3px 10px rgba(0,0,0,0.13);

}

#ds-thread #ds-reset .ds-post-button:hover{

background:#31b0d5;

box-shadow:0 4px 10px rgba(0,0,0,0.09), 0 4px 10px rgba(0,0,0,0.17);

}

#ds-thread #ds-reset .ds-toolbar-buttons{

left:0;

}

#ds-thread .ds-powered-by {

display: none;

}

#ds-thread #ds-reset .ds-post-button,

#ds-thread #ds-reset .ds-textarea-wrapper textarea{

font-family:"Microsoft Yahei"!important;

}

#ds-reset .ds-gradient-bg{

background:none;

}

#ds-thread #ds-reset .ds-replybox .ds-avatar{

margin:0;

}

/*头像*/

#ds-reset .ds-avatar img,

#ds-thread #ds-reset ul.ds-children .ds-avatar,

#ds-thread #ds-reset ul.ds-children .ds-avatar img{

width:48px;

height:48px;

border-radius:50%;

margin-right:10px;

}

#ds-thread #ds-reset .ds-comment-footer{

margin-left:18px;

}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值