WP酷 WP酷
  • 主题
  • 教程
  • 插件
  • 官方 QQ 群
  • 建站推荐
  • 联系
  • nicetheme® 奈思主题
  • 注册
    登录
立即登录
  • 请到 [后台->外观->菜单] 中设置菜单
首页 › WordPress 教程 › amaze UI – 简灰多说CSS样式分享

amaze UI – 简灰多说CSS样式分享

PCDotFan8年前

amaze UI - 简灰多说CSS样式分享-WP酷

 来自国内超优秀前端框架 amaze UI 的 Web 组件~WP酷目前在用的CSS样式就是这款——简灰风格,与其他同类型主题搭配一定是一个很不错的选择哦!

 

使用截图:

amaze UI - 简灰多说CSS样式分享-WP酷

 

 

将以下代码加入至多说→个性化设置→自定义CSS代码:

/* Duoshuo Comments Style for Amaze UI by Minwe*/
#ds-thread #ds-reset .ds-post-button {
font-family: Microsoft JHenghei, Microsoft YaHei, "Helvetica Neue",Helvetica,Arial,sans-serif; }
#ds-thread #ds-reset .ds-textarea-wrapper textarea, #ds-thread #ds-reset .ds-textarea-wrapper .ds-hidden-text {
display: block;
font-family: Microsoft JHenghei, Microsoft YaHei , "Helvetica Neue",Helvetica,Arial,sans-serif;}
#ds-thread #ds-reset .ds-meta {
  border-bottom-color: #eee;
}
/* Like button */
#ds-thread #ds-reset a.ds-like-thread-button {
  border: 1px solid #ddd;
  background: #f8f8f8;
  border-radius: 2px;
}
/* Comments counter */
#ds-thread #ds-reset li.ds-tab a.ds-current {
  border: 1px solid #ddd;
  background-color: #f8f8f8;
  border-radius: 2px;
}
#ds-thread #ds-reset #ds-hot-posts {
  border-color: #eee;
  border-width: 0 0 1px;
  margin: 10px 0;
  padding-bottom: 15px;
  border-radius: 0;
}
/* Main avatar */
#ds-reset .ds-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  padding: 1px;
  background-color: #fff;
}
/* Comments list */
#ds-thread #ds-reset .ds-comments {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 10px 0 20px;
  margin-bottom: 5px;
}
#ds-thread #ds-reset li.ds-post {
  border-top: none;
}
#ds-thread #ds-reset .ds-post-self {
  padding: 10px 2px;
}
#ds-thread #ds-reset .ds-comment-body {
  position: relative;
  margin-left: 62px;
  border: 1px solid #ddd;
  padding: 0 10px 10px!important;
  border-radius: 2px;
}
#ds-thread #ds-reset .ds-comment-body:before,
#ds-thread #ds-reset .ds-comment-body:after {
  position: absolute;
  top: 8px;
  left: -8px;
  right: 100%;
  width: 0;
  height: 0;
  display: block;
  content: " ";
  border-color: transparent;
  border-style: solid solid dotted;
  border-width: 8px 8px 8px 0;
  pointer-events: none;
}
#ds-thread #ds-reset .ds-comment-body:before {
  border-right-color: #dedede;
  z-index: 1;
}
#ds-thread #ds-reset .ds-comment-body:after {
  border-right-color: #f8f8f8;
  margin-left: 1px;
  z-index: 2;
}
#ds-thread #ds-reset .ds-comment-header {
  background-color: #f8f8f8;
  padding: 10px;
  margin-left: -10px;
  margin-right: -10px;
  border-bottom: 1px solid #eee;
  font-weight: 500;
  margin-bottom: 10px;
  font-size: 14px;
}
#ds-thread #ds-reset .ds-comment-body p {
  font-size: 14px;
}
#ds-thread #ds-reset .ds-comment-footer {
  margin-top: 15px;
  font-size: 13px;
}
/* Nested */
#ds-thread #ds-reset #ds-ctx {
  font-size: 13px;
  margin-bottom: 15px;
}
#ds-reset #ds-ctx .ds-ctx-entry .ds-avatar {
  border-radius: 50%;
}
/* Comment textarea */
#ds-thread #ds-reset .ds-textarea-wrapper {
  background-image: none;
  border-top-right-radius: 2px;
  border-top-left-radius: 2px;
  border-color: #ddd;
}
#ds-reset .ds-gradient-bg {
  background: #f8f8f8;
}
#ds-thread #ds-reset .ds-post-options {
  border-bottom-left-radius: 2px;
  border-color: #ddd;
  height: 36px;
}
#ds-thread #ds-reset .ds-sync {
  line-height: 34px;
}
#ds-thread #ds-reset .ds-toolbar-buttons {
  top: 8px;
  left: 10px;
}
#ds-thread #ds-reset .ds-textarea-wrapper textarea {
  font-size: 14px;
}
/* Post Butoon */
#ds-thread #ds-reset .ds-post-button {
  border-bottom-right-radius: 2px;
  background: #3bb4f2;
  color: #fff;
  text-shadow: none;
  box-shadow: none;
  border: 1px solid #ddd;
  height: 38px;
}
#ds-thread #ds-reset .ds-post-button:hover {
  background: #0f9ae0;
  color: #fff;
  text-shadow: none;
}
#ds-thread #ds-reset .ds-post-button:focus,
#ds-thread #ds-reset .ds-post-button:active {
  outline: 0;
}
#ds-thread #ds-reset .ds-paginator {
  margin-bottom: 20px;
}
#ds-thread #ds-reset .ds-paginator a:hover,
#ds-thread #ds-reset .ds-paginator a.ds-current {
  border-radius: 2px;
  border-color: #ddd;
}
/** Icon - Dependence FontAwesome */
.ds-icon:before,
.ds-add-emote:before,
.ds-toolbar-button:before {
  display: inline-block;
  font-family: "FontAwesome";
  font-weight: normal;
  font-style: normal;
  vertical-align: baseline;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.ds-icon-heart,
.ds-icon-reply,
.ds-icon-like,
.ds-icon-share,
.ds-icon-report,
.ds-icon-delete,
.ds-icon-settings {
  line-height: 13px !important;
  background-image: none !important;
}
.ds-icon-heart:before {
  content: "\f004";
  color: #dd514c;
}
.ds-icon-reply:before {
  content: "\f112";
}
.ds-icon-like:before {
  content: "\f08a";
}
.ds-icon-share:before {
  content: "\f064";
}
.ds-icon-report:before {
  content: "\f06a";
}
.ds-icon-delete:before {
  content: "\f00d";
}
.ds-icon-settings {
  font-size: 12px !important;
}
.ds-icon-settings:before {
  content: "\f013";
}
.ds-add-emote,
.ds-toolbar-button {
  line-height: 19px !important;
  background: none !important;
  font-size: 18px !important;
}
.ds-add-emote:before {
  content: "\f118";
}
.ds-add-image:before {
  content: "\f03e";
}
/* Narrow */
#ds-thread.ds-narrow #ds-reset .ds-comment-body {
  margin-left: 45px;
}

 

 

#CSS#多说
3
分享

本站下载管理系统「dl.mywpku.com」因年久失修而永久关闭。若需获得往年主题,请至 WP酷的百度网盘(提取码: 5rbm) 自行搜索下载。默认解压密码为「www.mywpku.com」。

对您造成的不便,敬请谅解!

PCDotFan 站长
文章 435评论 859
相关文章
  • [6.0 更新中文汉化]极度流行的SEO插件 – WordPress SEO by Yoast
  • WordPress 新用户注册邮件链接提示「您的密码重设链接无效」
  • AMP – 为 WordPress 移动站点操作全球访问优化
  • 去除谷歌服务 – WordPress 国外主题全方位加速
  • 使用 WP-CLI 简化 WordPress 操作流程
  • WordPress 基础开发 – 一探 WordPress Hook 机制及示例应用
  • 优化静态资源 – WordPress 国外主题全方位加速
  • WordPress 实现微信登录
评论 (17)
再想想
  • LuSir

    已使用。谢谢 http://www.lufuli.com 为福利而生!

    7年前
  • gg

    ai shuai ge

    7年前
    • ff

      @gg nishi ?

      7年前
  • mobanhou.com

    已使用。谢谢 http://www.mobanhou.com 为福利而生!模板猴,程序员的兄弟

    7年前
  • PHP程序员雷雪松

    AmazeUI还是很不错的。

    6年前
PCDotFan
站长
若无特别注明,则默认我发布的所有文章均为内容原创 / 翻译原创,转载时请保留来源。
435文章
859评论
3K获赞
猜你喜欢
如何确立对博客的定位
10年前
Uazoh7 – 精美Bootstrap主红色调WordPress企业主题
8年前
修改WordPress默认后台登录样式 天空蓝代码分享
10年前
  • 杂记
  • WordPress 付费主题推荐
Copyright © 2023 WP酷. Designed by nicetheme. 琼ICP备13002067号-1