^ 回到顶部
  • 人生没有定律,每个人都有自己的节奏
  • 本站wordpress建站教程均通过实践后发布,希望对你有帮助,如果有代码出错,请联系站长解决
  • 希望你的坚持,都是因为热爱,而不是因为不甘心
  • 8年wordpress建站经验,5星服务品质
  • 那些不愿意让你吃亏的人,才是真正值得你深交的人,也是值得你付出时间的人
  • 腾讯云3年2核2G新品轻量限时特惠只需408元

分享适合xiu主题的多说评论样式

本文要分享的适合 xiu 主题的多说样式最终效果是这样子的:

分享适合xiu主题的多说评论样式

2 核 2G 限时特惠 396 元/3 年    宝塔建站 10850 大礼包

优点:简洁,大气

多说样式:

    /*duoshuo*/
   /*陌小雨博客整理*/
    #ds-thread #ds-reset .ds-sort {position: relative;}
    #ds-notify #ds-reset a.ds-logo {
    width: 18px;
    height: 14px;
    background: none;
    _background-image: none;
    position: absolute;
    display: block;
    top: 8px;
    left: 12px;
    }
    #ds-notify {
    position: fixed;
    z-index: 9999;
    max-width: 144px;
    _width: 130px;
    display: block;
    float: none;
    padding: 8px 12px;
    background-color: #51aded;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    box-shadow: none;
    border: 1px solid #51aded;
    }
    #ds-notify #ds-reset ul.ds-notify-unread {
    line-height: 150%;
    display: inline-block;
    margin: 0 0 0 0;
    padding: 0;
    }
    #ds-notify #ds-reset ul.ds-notify-unread li a{
    color: #FFF;
    }

    #ds-wrapper #ds-reset .ds-unread-list li a{
    color: #FFF;
    }
    #ds-wrapper #ds-reset .ds-unread-list li a:hover{
    color: #FFF;
    }
    #ds-wrapper #ds-reset .ds-unread-list li a[rel~=”author”] {
    color: #FFF;
    }
    #ds-wrapper #ds-reset .ds-unread-list li {
    position: relative;
    margin: 0;
    padding: 8px 0;
    border-top: 1px solid #eee;
    line-height: 1.5em;
    color: #CDF0EE;
    }
    #ds-wrapper #ds-reset .ds-dialog-footer{
    display: none;
    }
    #ds-wrapper #ds-reset h2 {
    display: block;
    font-weight: normal;
    font-size: 16px;
    margin: 0 0 15px 0;
    color: #FFF;
    }
    #ds-wrapper #ds-reset .ds-dialog-inner {
    width: 100%;
    position: relative;
    border: none;
    background: #51aded none;
    text-shadow: none;
    box-shadow: none;
    }
    #ds-wrapper #ds-reset .ds-control-group input {
    color: #777;
    width: 100%;
    font-size: 13px;
    border: none;
    padding: 4px 80px 6px 6px;
    box-shadow: none;
    background: #FFF;
    }
    #ds-thread {
    margin: 0 auto;
    }
    #ds-thread #ds-reset .ds-post-button{
    font-family: “Microsoft YaHei”, 微软雅黑,”Microsoft JhengHei”, 华文细黑,STHeiti,MingLiu;
    position: absolute;
    text-shadow: none;
    font-weight: bold;
    border-bottom-right-radius: 0;
    -webkit-border-bottom-right-radius: 0;
    border: none;
    color: #FFF;
    background-color: #51aded;
    background-image: none;
    box-shadow: none;

    }
    #ds-thread #ds-reset .ds-post-button:hover{
    background-color: #3fa4eb;
    background-image: none;
    }
    #ds-thread #ds-reset .ds-post-button:hover {color: #FFF;}
    #ds-thread #ds-reset .ds-post-options {
    border: 0px;
    border-right: 0;
    border-bottom-left-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    background: transparent;
    margin-top: 12px;
    }
    #ds-thread #ds-reset .ds-textarea-wrapper{
    border: none;
    }
    #ds-thread #ds-reset .ds-powered-by a{
    color: #CFCFCF;
    }
    .ds-recent-visitors img{
    width: 32px;
    height: 32px;
    background: #FFF;
    padding: 2px;
    border: 1px solid #CCC;
    margin: 4px;
    }
    .ujian-hook {
    margin-top: 40px;
    border-left: 4px solid #51aded;
    padding-top: 14px;
    padding-left: 14px;
    background: #E2E2E2;
    }
    #ds-thread #ds-reset .ds-highlight {
    color: #51aded !important;
    }
    #ds-thread #ds-reset .ds-user-name {
    color: #D6D6D6;
    }
    #ds-thread #ds-reset a.ds-unread-comments-count:hover {
    background: #51aded;
    }
    #ds-thread #ds-reset .ds-paginator a:hover, #ds-thread #ds-reset .ds-paginator a.ds-current {
    font-weight: bold;
    color: #51aded;
    }
    #ds-thread #ds-reset .ds-post-like-count {
    color: #51aded;
    }
    ul#ds-recent-comments li.ds-comment a {
    display: inline;
    }

    #ds-smilies-tooltip .ds-smilies-container li{
    background: none;
    padding: 0;
    }
    #ds-smilies-tooltip ul.ds-smilies-tabs li {
    background: none;
    padding: 0;
    }
    #ds-thread #ds-reset #ds-bubble a {
    color: #51aded;
    }

    ul#ds-recent-comments li.ds-comment {
    background:none;
    }
    ul#ds-recent-comments li.ds-comment a {
    color: #51aded;
    background: none;
    padding: 0;
    line-height: 38px;
    border-radius: 0;
    box-shadow: none;
    }
    ul#ds-recent-comments li.ds-comment a:hover{
    color: #51aded;
    }
    ul#ds-recent-comments li.ds-comment a {
    display: inline;
    }
    #ds-thread #ds-reset .ds-textarea-wrapper textarea {
    position: relative;
    z-index: 1;
    border: 0;
    border-bottom: none;
    padding-right: 24px;
    overflow: hidden;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-appearance: none;
    overflow: auto;
    padding: 10px;
    height: 120px;
    min-height: 120px;
    margin: 0;
    resize: none;
    color: #B3B3B3;
    width: 100%;
    min-width: 100%;
    font-family: “STHeiti Light”, 华文细黑,”Microsoft YaHei”, 微软雅黑,”Microsoft JhengHei”,STHeiti,MingLiu;
    }
    #ds-thread #ds-reset .ds-textarea-wrapper textarea:focus {
    color: #B3B3B3;

    }

    #ds-thread #ds-reset .ds-sort a.ds-current, #ds-thread #ds-reset .ds-sort a:active {
    color: #51aded;
    }
    #ds-thread #ds-reset a.ds-comment-context {
    color: #51aded;
    }
    #ds-thread #ds-reset a.ds-comment-context:hover {
    color: #51aded;
    }
    #ds-thread #ds-reset .ds-post-liked a.ds-post-likes {
    color: #51aded;
    }

    #ds-thread #ds-reset a.ds-unread-comments-count {
    display: none;
    background-color: #51aded;
    color: #FFFFFF !important;
    margin-right: 6px;
    padding: 1px 5px;
    font-weight: bold;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4),0 1px 1px rgba(0, 0, 0, 0.3);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    }
    #ds-thread #ds-reset .ds-header {
    font-weight: bold;
    font-size: 14px;
    color: #FFF;
    line-height: 30px;
    padding: 0 12px;
    background: #51aded;
    }
    #ds-thread #ds-reset #ds-hot-posts {
    border: none;
    overflow: hidden;
    margin: 8px 0;
    padding: 0;
    _height: 100%;
    }
    #ds-thread #ds-reset #ds-hot-posts {
    overflow: hidden;
    margin: 8px 0;
    padding: 0;
    _height: 100%;
    background: #F3F3F3;
    }
    #ds-thread #ds-reset ul, #ds-thread #ds-reset ul li {
    background: transparent;
    margin: 0;
    padding: 0;
    }
    .ds-sync{
    display:none !important;
    }
    #ds-thread #ds-reset .ds-post-self {
    border-top: 0px;
    }
    #ds-thread #ds-reset li.ds-post {
    border-top: 0px;
    }
    .ds-comments-tabs {
    display: none !important;
    }
    #ds-thread #ds-reset .ds-sort {
    z-index: 999;
    }
    .ds-post-likes, .ds-post-repost, .ds-post-report {
    display: none !important;
    }
    #ds-thread #ds-reset ul.ds-children .ds-post-self {
    padding-top: 30px;
    }

    #ds-thread #ds-reset .ds-textarea-wrapper {
    background: #e6eaed; none;
    }
    #ds-thread #ds-reset .ds-post-toolbar{
    box-shadow:none;
    }
    .ds-powered-by {
    display: none;
    }
    /* 右上角 */
    #ds-thread #ds-reset .ds-account-control ul{
    background: #e6eaed;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    }
    #ds-thread #ds-reset .ds-account-control ul li a{
    border: none !important;
    text-shadow: none !important;
    }
    #ds-thread #ds-reset .ds-post-self {
    padding: 30px 0;
    }
    ::-webkit-input-placeholder { /* WebKit browsers */
    font-family: “STHeiti Light”, 华文细黑,”Microsoft YaHei”, 微软雅黑,”Microsoft JhengHei”,STHeiti,MingLiu;

    }
    :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    font-family: “STHeiti Light”, 华文细黑,”Microsoft YaHei”, 微软雅黑,”Microsoft JhengHei”,STHeiti,MingLiu;
    }
    ::-moz-placeholder { /* Mozilla Firefox 19+ */
    font-family: “STHeiti Light”, 华文细黑,”Microsoft YaHei”, 微软雅黑,”Microsoft JhengHei”,STHeiti,MingLiu;
    }
    :-ms-input-placeholder { /* Internet Explorer 10+ */
    font-family: “STHeiti Light”, 华文细黑,”Microsoft YaHei”, 微软雅黑,”Microsoft JhengHei”,STHeiti,MingLiu;
    }
    #ds-thread #ds-reset .ds-paginator a.ds-current,#ds-thread #ds-reset .ds-comments,#ds-thread #ds-reset .ds-paginator div.ds-border,#ds-thread #ds-reset .ds-paginator {
    border: 0;
    }
    .ds-icon, .ds-icon-reply{
    display: none !important;
    }
    #ds-thread #ds-reset .ds-comment-body a:hover, #ds-thread #ds-reset .ds-comment-body a:visited ,#ds-thread #ds-reset .ds-sort a:hover{
    color: #51aded;
    }
    #ds-thread #ds-reset .ds-comment-body p{
    line-height: 2em;
    font-size: 16px;
    }
    .ds-comment-footer {
    display: inline-block !important;
    padding: 4px 14px !important;
    background: #e6eaed!important;
    }
    #ds-thread #ds-reset .ds-comment-body {
    padding-left: 70px;
    }
    #ds-thread #ds-reset .ds-comment-body p {
    color: #000;
    }
    /* for 480px or less */
    @media screen and (max-width:720px) {
    #ds-thread{
    width: 90%;
    margin: 0 auto;
    }
    }
    #ds-reset .ds-avatar img{
    width:50px;height:50px; /* 设置图像的长和宽,这里要根据自己的评论框情况更改 */
    border-radius: 27px;/* 设置图像圆角效果, 在这里我直接设置了超过 width/2 的像素,即为圆形了 */
    -webkit-border-radius: 27px;/* 圆角效果:兼容 webkit 浏览器 */
    -moz-border-radius:27px;
    box-shadow: inset 0 -1px 0 #3333sf;/* 设置图像阴影效果 */
    -webkit-box-shadow: inset 0 -1px 0 #3333sf;
    -webkit-transition: 0.4s;
    -webkit-transition: -webkit-transform 0.4s ease-out;
    transition: transform 0.4s ease-out;/* 变化时间设置为 0.4 秒 (变化动作即为下面的图像旋转 360 度)*/
    -moz-transition: -moz-transform 0.4s ease-out;
    }
    #ds-reset .ds-avatar img:hover{/* 设置鼠标悬浮在头像时的 CSS 样式 */
    box-shadow: 0 0 10px #fff; rgba(255,255,255,.6), inset 0 0 20px rgba(255,255,255,1);
    -webkit-box-shadow: 0 0 10px #fff; rgba(255,255,255,.6), inset 0 0 20px rgba(255,255,255,1);
    transform: rotateZ(360deg);/* 图像旋转 360 度 */
    -webkit-transform: rotateZ(360deg);
    -moz-transform: rotateZ(360deg);
    }

多说的个性化设置里有个自定义 CSS,将上面的 CSS 样式代码粘贴进去保存就好了。

2016-7-1 日更新:

再分享两款网络上收集的多说样式:

样式一:

    #ds-thread #ds-reset ul.ds-comments-tabs li.ds-tab a.ds-current {border:0px;color:#848568;text-shadow:none;background:#dddfc2}
    #ds-thread #ds-reset .ds-highlight {font-family:Arial, Helvetica, sans-serif;font-size:14px;font-weight:bold;color:#848568 !important;}
    #ds-thread #ds-reset ul.ds-comments-tabs li.ds-tab a.ds-current:hover {color:#696a52;background:#d4d6ba}
    #ds-thread #ds-reset a.ds-highlight:hover {color:#696a52 !important;}
    #ds-thread {padding-left:30px;}
    #ds-thread #ds-reset li.ds-post,#ds-thread #ds-reset #ds-hot-posts {overflow:visible}
    #ds-thread #ds-reset .ds-post-self {padding:10px 0 10px 10px;}
    #ds-thread #ds-reset li.ds-post,#ds-thread #ds-reset .ds-post-self {border:0 !important;}
    #ds-reset .ds-avatar, #ds-thread #ds-reset ul.ds-children .ds-avatar {top:15px;left:-20px;padding:5px;width:36px;height:36px;box-shadow:-1px 0 1px rgba(0,0,0,.15) inset;border-radius:46px; background:#E5E6D0;}
    #ds-thread .ds-avatar a {display:inline-block;padding:1px; width:32px;height:32px;border:1px solid #b9baa6;border-radius:50%; background-color:#fff !important}
    #ds-thread .ds-avatar a:hover {border-color:#de5a4e}
    #ds-thread .ds-avatar > img {margin:2px 0 0 2px}
    #ds-thread #ds-reset .ds-replybox {box-shadow:none;}
    #ds-thread #ds-reset ul.ds-children .ds-replybox.ds-inline-replybox a.ds-avatar,
    #ds-reset .ds-replybox.ds-inline-replybox a.ds-avatar {left: 0;top: 0; padding: 0;width: 32px !important;height: 32px !important; background: none;box-shadow: none; }
    #ds-reset .ds-replybox.ds-inline-replybox a.ds-avatar img {width: 32px !important;height: 32px !important; border-radius:50%;}
    #ds-reset .ds-replybox a.ds-avatar,
    #ds-reset .ds-replybox .ds-avatar img { padding:0;width:50px !important;height:50px !important; border-radius:5px; }
    #ds-reset .ds-avatar img {width:32px !important;height:32px !important;border-radius:32px;box-shadow:0 1px 3px rgba(0, 0, 0, 0.22);
    -webkit-transition:.4s all ease-in-out;-moz-transition:.4s all ease-in-out;-o-transition:.4s all ease-in-out;-ms-transition:.4s all ease-in-out;transition:.4s all ease-in-out;
    }
    .ds-post-self:hover .ds-avatar img {-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}
    #ds-thread #ds-reset .ds-comment-body {background: #F0F0E3;padding:15px 15px 15px 47px;border-radius:5px; box-shadow:0 1px 2px rgba(0,0,0,.15), 0 1px 0 rgba(255,255,255,.75) inset;}
    #ds-thread #ds-reset ul.ds-children .ds-comment-body {padding-left:15px;}
    #ds-thread #ds-reset .ds-comment-body p{color:#787968}
    #ds-thread #ds-reset .ds-comments a.ds-user-name {font-weight:bold;color:#696A52 !important;}
    #ds-thread #ds-reset .ds-comments a.ds-user-name:hover {color:#D32 !important;}
    #ds-thread #ds-reset #ds-bubble {display:none !important}
    #ds-thread #ds-reset #ds-hot-posts {border:0}
    #ds-reset #ds-hot-posts .ds-gradient-bg {background:none;}
    #ds-thread .ds-powered-by{display:none!important;}

样式二:

#ds-thread {clear: both;position: relative;overflow: visible;_zoom: 1;display: inline-block;width: 100%;color: #3498DB;}#ds-thread #ds-reset {color: #3498DB;}#ds-thread .ds-powered-by{display:none!important;}#ds-thread #ds-reset .ds-comment-body {padding: 20px 20px 20px 20px;border: 1px solid #E2E2E2;list-style: none;background: -webkit-linear-gradient(#ffffff, #fafafa);background: -moz-linear-gradient(#ffffff, #fafafa);border-radius: 5px 5px 5px 5px;-webkit-box-shadow: -3px 1px 13px #ddd;-moz-box-shadow: -3px 1px 13px #ddd;box-shadow: -3px 1px 13px #ddd;}#ds-thread .ds-avatar{margin: 20px 20px 30px 30px;float: rightright;}#ds-thread #ds-reset .ds-paginator {text-align: center;border:0px;}#ds-thread #ds-reset li.ds-post {border:0px;}#ds-thread #ds-reset .ds-comments {border:0px;}#ds-reset .ds-avatar img {display: block;width: 70px;height: 70px;box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);-webkit-border-radius: 50px;-moz-border-radius: 50px;border-radius: 50px;}#ds-thread #ds-reset .ds-comment-header {margin: 8px 0px;line-height: 28px;font-size: 16px;text-transform: uppercase;padding-left: 0px;border-bottom: 3px solid #ddd;}#ds-thread #ds-reset .ds-comment-footer {float: rightright;line-height: 0;}#ds-reset .ds-highlight {color: #2980B9 !important;}#ds-thread #ds-reset .ds-sort a.ds-current, #ds-thread #ds-reset .ds-sort a:active {color: #2980B9;}#ds-thread #ds-reset .ds-login-buttons {display:none}#ds-thread #ds-reset li.ds-tab a.ds-current {display:none}#ds-wrapper #ds-reset .ds-dialog-footer {display:none}#ds-thread #ds-reset #ds-bubble {display:none}#ds-thread #ds-reset .ds-replybox {padding: 0 0 0 120px;}

这两款多说样式截图陌小雨就不贴出来了,自己试一试预览下,选择适合自己的就好。

赠人玫瑰,手有余香。