From 8fa7ddca6d09ab20523a6061d2d039feb7413e7e Mon Sep 17 00:00:00 2001 From: fen Date: Thu, 20 Nov 2014 10:43:19 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=A9=BA=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- var/Widget/Options/Discussion.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/Widget/Options/Discussion.php b/var/Widget/Options/Discussion.php index 999eb1c9..5cec1856 100644 --- a/var/Widget/Options/Discussion.php +++ b/var/Widget/Options/Discussion.php @@ -48,7 +48,7 @@ class Widget_Options_Discussion extends Widget_Abstract_Options implements Widge $commentsShowOptions = array( 'commentsShowCommentOnly' => _t('仅显示评论, 不显示 Pingback 和 Trackback'), - 'commentsMarkdown' => _t('在评论中使用Markdown语法'), + 'commentsMarkdown' => _t('在评论中使用 Markdown 语法'), 'commentsShowUrl' => _t('评论者名称显示时自动加上其个人主页链接'), 'commentsUrlNofollow' => _t('对评论者个人主页链接使用 nofollow 属性'), 'commentsAvatar' => _t('启用 Gravatar 头像服务, 最高显示评级为 %s 的头像', From a0dedafc10acff3c9617eda39d40ce9418fdc6ff Mon Sep 17 00:00:00 2001 From: fen Date: Thu, 20 Nov 2014 10:59:12 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E8=A1=A8=E6=A0=BC=E6=94=AF=E6=8C=81=20fixed?= =?UTF-8?q?=20issue=20#342?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- usr/themes/default/style.css | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/usr/themes/default/style.css b/usr/themes/default/style.css index 8f775b34..292f880d 100644 --- a/usr/themes/default/style.css +++ b/usr/themes/default/style.css @@ -25,14 +25,13 @@ a:hover, a:active { color: #444; } pre, code { - background: #F3F3F0; + background: #F3F3F3; font-family: Menlo, Monaco, Consolas, "Lucida Console", "Courier New", monospace; font-size: .92857em; } code { padding: 2px 4px; color: #B94A48; } pre { - padding: 0; - border: 1px solid #ccc; + padding: 5px; overflow: auto; max-height: 400px; } @@ -47,6 +46,19 @@ blockquote { border-left: 4px solid #F3F3F0; } +table { + border: 1px solid #ddd; + width: 100%; +} +table th, +table td { + padding: 5px 10px; + border: 1px solid #eee; +} +table th { + background: #f3f3f3; +} + h1, h2, h3, h4, h5, h6 { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; } From b54c3fb085ebee90fba295a7f9938807989798e2 Mon Sep 17 00:00:00 2001 From: fen Date: Thu, 20 Nov 2014 11:02:43 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20blockquote=20=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- usr/themes/default/style.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/usr/themes/default/style.css b/usr/themes/default/style.css index 292f880d..49776db0 100644 --- a/usr/themes/default/style.css +++ b/usr/themes/default/style.css @@ -31,7 +31,7 @@ pre, code { } code { padding: 2px 4px; color: #B94A48; } pre { - padding: 5px; + padding: 8px; overflow: auto; max-height: 400px; } @@ -41,9 +41,10 @@ pre code { } blockquote { - margin: 1em 1.5em; + margin: 1em 0; padding-left: 1.5em; - border-left: 4px solid #F3F3F0; + border-left: 4px solid #eee; + color: #666; } table {