From a11948db9cedfb5e8c5260af87924ac9bc2e28ac Mon Sep 17 00:00:00 2001 From: fen Date: Mon, 28 Oct 2013 20:47:26 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=93=E6=9E=84=E8=B0=83=E6=95=B4=EF=BC=8C?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=93=BE=E6=8E=A5=E4=B8=8B=E5=88=92=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- usr/themes/default/404.php | 2 +- usr/themes/default/archive.php | 12 ++++----- usr/themes/default/author.php | 10 ++++---- usr/themes/default/category.php | 12 ++++----- usr/themes/default/index.php | 16 ++++++------ usr/themes/default/post.php | 10 ++++---- usr/themes/default/search.php | 12 ++++----- usr/themes/default/style.css | 45 +++++++++++++++++++++++++-------- usr/themes/default/tag.php | 12 ++++----- 9 files changed, 78 insertions(+), 53 deletions(-) diff --git a/usr/themes/default/404.php b/usr/themes/default/404.php index 9aca33b0..0dec5a9b 100644 --- a/usr/themes/default/404.php +++ b/usr/themes/default/404.php @@ -6,7 +6,7 @@

404 -

-

+

diff --git a/usr/themes/default/archive.php b/usr/themes/default/archive.php index 6d451735..dda31c95 100644 --- a/usr/themes/default/archive.php +++ b/usr/themes/default/archive.php @@ -6,12 +6,12 @@ next()): ?>

title() ?>

- +
content('阅读剩余部分...'); ?>
diff --git a/usr/themes/default/author.php b/usr/themes/default/author.php index 9fa38a8b..735f2856 100644 --- a/usr/themes/default/author.php +++ b/usr/themes/default/author.php @@ -7,11 +7,11 @@ next()): ?>

title() ?>

- +
content('阅读剩余部分...'); ?>
diff --git a/usr/themes/default/category.php b/usr/themes/default/category.php index b0d2ddfc..ed4d6b23 100644 --- a/usr/themes/default/category.php +++ b/usr/themes/default/category.php @@ -7,12 +7,12 @@ next()): ?>

title() ?>

- +
content('阅读剩余部分...'); ?>
diff --git a/usr/themes/default/index.php b/usr/themes/default/index.php index 8e03b904..d3ea7c92 100644 --- a/usr/themes/default/index.php +++ b/usr/themes/default/index.php @@ -3,8 +3,8 @@ * 这是 Typecho 0.9 系统的一套默认皮肤 * * @package Typecho Replica Theme - * @author fen - * @version 1.0 + * @author Typecho Team + * @version 1.2 * @link http://typecho.org */ @@ -15,12 +15,12 @@ next()): ?>

title() ?>

- +
content('阅读剩余部分...'); ?>
diff --git a/usr/themes/default/post.php b/usr/themes/default/post.php index 9561f6e3..ffe6a5b8 100644 --- a/usr/themes/default/post.php +++ b/usr/themes/default/post.php @@ -3,11 +3,11 @@

title() ?>

- +
content(); ?>
diff --git a/usr/themes/default/search.php b/usr/themes/default/search.php index 0b1975bc..807df70d 100644 --- a/usr/themes/default/search.php +++ b/usr/themes/default/search.php @@ -7,12 +7,12 @@ next()): ?>

title() ?>

- +
content('阅读剩余部分...'); ?>
diff --git a/usr/themes/default/style.css b/usr/themes/default/style.css index 67dba33b..bcca08a3 100644 --- a/usr/themes/default/style.css +++ b/usr/themes/default/style.css @@ -1,9 +1,9 @@ /* ------------------------------------ * Typecho Default Theme * - * @author fen1211@gmail.com - * @link http: //typecho.net/ - * @update 2009-03-29 14: 30 + * @author Typecho Team + * @link http: //typecho.org/ + * @update 2013-10-28 * --------------------------------- */ @@ -14,7 +14,7 @@ body { background-color: #FFF; color: #444; /*font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;*/ - font-family: "Droid Serif", Georgia, "Times New Roman", serif; + font-family: "Droid Serif", Georgia, "Times New Roman", STHeiti, serif; font-size: 81.25%; } @@ -22,9 +22,8 @@ a { color: #3354AA; text-decoration: none; } -a:hover { +a:hover, a:active { color: #444; - text-decoration: underline; } pre, code { padding: 2px 4px; @@ -53,6 +52,7 @@ h1, h2, h3 { input[type="text"], input[type="email"], input[type="url"], +input[type="password"], textarea { padding: 5px; border: 1px solid #E9E9E9; @@ -68,6 +68,21 @@ textarea { } +/* Special link style */ +.post-meta a, +.post-content a, +.widget a, +.comment-content a { + border-bottom: 1px solid #EEE; +} + +.post-meta a:hover, +.post-content a:hover, +.widget a:hover, +.comment-content a { + border-bottom-color: transparent; +} + /* ------------------ * Header * --------------- */ @@ -146,15 +161,21 @@ textarea { } .post-meta { margin-top: -0.5em; + padding: 0; color: #999; font-size: .92857em; text-align: center; } -.post-meta i { +.post-meta li { display: inline-block; - margin: 0 8px; - height: 12px; - border-right: 1px solid #EEE; + margin: 0 8px 0 0; + padding-left: 12px; + border-left: 1px solid #EEE; +} +.post-meta li:first-child { + margin-left: 0; + padding-left: 0; + border: none; } .post-content { line-height: 1.5; @@ -167,6 +188,10 @@ textarea { font-size: 1em; } +.protected .text { + width: 50%; +} + /* Page nav */ .page-navigator { diff --git a/usr/themes/default/tag.php b/usr/themes/default/tag.php index f6967fa6..fb3a507a 100644 --- a/usr/themes/default/tag.php +++ b/usr/themes/default/tag.php @@ -7,12 +7,12 @@ next()): ?>