diff --git a/usr/themes/replica/archive.php b/usr/themes/replica/archive.php index cbc5c630..e9764d3b 100644 --- a/usr/themes/replica/archive.php +++ b/usr/themes/replica/archive.php @@ -7,7 +7,7 @@

title() ?>

author(); ?> - date('F j, Y'); ?> + date('F j, Y'); ?> category(','); ?>
@@ -21,7 +21,7 @@ - pageNav(); ?> + pageNav('« 前一页', '后一页 »'); ?>
need('sidebar.php'); ?> diff --git a/usr/themes/replica/comments.php b/usr/themes/replica/comments.php index cb8c7a86..8127af7d 100644 --- a/usr/themes/replica/comments.php +++ b/usr/themes/replica/comments.php @@ -1,9 +1,9 @@
comments()->to($comments); ?> have()): ?> -

commentsNum(_t('当前暂无评论'), _t('仅有一条评论'), _t('已有 %d 条评论')); ?> »

+

commentsNum(_t('暂无评论'), _t('仅有 1 条评论'), _t('已有 %d 条评论')); ?>

- pageNav(); ?> + pageNav('« 前一页', '后一页 »'); ?> listComments(); ?> @@ -16,10 +16,10 @@ cancelReply(); ?>
-

»

+

user->hasLogin()): ?> -

Logged in as user->screenName(); ?>. »

+

user->screenName(); ?>. »

@@ -27,15 +27,15 @@

- +

- +

-

-

+

+

diff --git a/usr/themes/replica/index.php b/usr/themes/replica/index.php index c090e447..b691ff72 100644 --- a/usr/themes/replica/index.php +++ b/usr/themes/replica/index.php @@ -27,7 +27,7 @@ - pageNav(); ?> + pageNav('« 前一页', '后一页 »'); ?> need('sidebar.php'); ?> diff --git a/usr/themes/replica/page.php b/usr/themes/replica/page.php index 75d764fe..b0e92b8f 100644 --- a/usr/themes/replica/page.php +++ b/usr/themes/replica/page.php @@ -2,7 +2,7 @@
-

title() ?>

+

title() ?>

content(); ?>
diff --git a/usr/themes/replica/post.php b/usr/themes/replica/post.php index 05963f2e..ca4a8ab2 100644 --- a/usr/themes/replica/post.php +++ b/usr/themes/replica/post.php @@ -2,16 +2,16 @@
-

title() ?>

+

title() ?>

content(); ?>
-
: tags(', ', true, 'none'); ?>
+

tags(', ', true, 'none'); ?>

need('comments.php'); ?> diff --git a/usr/themes/replica/sidebar.php b/usr/themes/replica/sidebar.php index c5024d75..60c01ede 100644 --- a/usr/themes/replica/sidebar.php +++ b/usr/themes/replica/sidebar.php @@ -9,17 +9,19 @@ + options->sidebarBlock) || in_array('ShowRecentComments', $this->options->sidebarBlock)): ?>

+ options->sidebarBlock) || in_array('ShowCategory', $this->options->sidebarBlock)): ?>
diff --git a/usr/themes/replica/style.css b/usr/themes/replica/style.css index d2894c83..dde527d2 100644 --- a/usr/themes/replica/style.css +++ b/usr/themes/replica/style.css @@ -39,7 +39,8 @@ pre, code { font-family: Menlo, Monaco, Consolas, "Lucida Console", "Courier New", monospace; } -input[type="text"], input[type="email"], input[type="url"] { +input[type="text"], input[type="email"], input[type="url"], +textarea { padding: 5px; border: 1px solid #E3E3E0; width: 100%; @@ -49,6 +50,9 @@ input[type="text"], input[type="email"], input[type="url"] { -moz-box-sizing: border-box; box-sizing: border-box; } +textarea { + resize: vertical; +} /* ------------------ * header @@ -115,6 +119,8 @@ input[type="text"], input[type="email"], input[type="url"] { border-bottom: 1px solid #E9E9E6; } .post-title { + margin: .83em 0; + font-size: 1.5em; } .post-meta { margin-top: -0.5em; @@ -134,6 +140,28 @@ input[type="text"], input[type="email"], input[type="url"] { } /* = pages nav */ + +.page-navigator { + list-style: none; + margin: 30px 0 0; + padding: 0; + text-align: center; +} +.page-navigator li { + display: inline; + margin: 0 10px; +} +.page-navigator a { + display: inline-block; + padding: 0 5px; + height: 24px; + line-height: 24px; +} + +.page-navigator .current a { + color: #444; +} + /* ------------------ * comment list * --------------- */ @@ -176,7 +204,7 @@ ol.comment-list li .comment-reply a { border: none; color: #aaa; } -ol.comment-list li .comment-reply a: hover { +ol.comment-list li .comment-reply a:hover { color: #444; } .comment-meta { @@ -206,7 +234,6 @@ ol.comment-list li .respond { padding-top: 10px; } #comment-form { - padding-right: 8px; } .respond .cancel-comment-reply { float: right; @@ -215,7 +242,7 @@ ol.comment-list li .respond { border: none; color: #aaa; } -.respond .cancel-comment-reply a: hover { +.respond .cancel-comment-reply a:hover { color: #444; } #comment-form label { @@ -226,20 +253,14 @@ ol.comment-list li .respond { color: #C04E37; padding-left: 5px; } -#comment-form .text { - width: 100%; - margin-right: 15px; -} -#comment-form textarea { - width: 100%; - height: 180px; -} /* ------------------ * sidebar * --------------- */ #sidebar { padding-top: 20px; + word-break: break-all; + word-wrap: break-word; } .widget { margin-bottom: 30px; @@ -265,7 +286,7 @@ ol.comment-list li .respond { padding-bottom: 30px; line-height: 1.5; text-align: center; - color: #666; + color: #888; } #footer a { }