结构调整,增加链接下划线

This commit is contained in:
fen 2013-10-28 20:47:26 +08:00
parent 1eee4fba3b
commit a11948db9c
9 changed files with 78 additions and 53 deletions

View File

@ -6,7 +6,7 @@
<h2 class="post-title">404 - <?php _e('页面没找到'); ?></h2>
<p><?php _e('你想查看的页面已被转移或删除了,要不要搜索看看:'); ?></p>
<form method="post">
<p><input type="text" name="s" class="text" /></p>
<p><input type="text" name="s" class="text" autofocus /></p>
<p><button type="submit" class="submit"><?php _e('搜索'); ?></button></p>
</form>
</div>

View File

@ -6,12 +6,12 @@
<?php while($this->next()): ?>
<article class="post">
<h2 class="post-title"><a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h2>
<div class="post-meta">
<?php _e('作者:'); ?><a href="<?php $this->author->permalink(); ?>"><?php $this->author(); ?></a> <i></i>
<?php _e('时间:'); ?><?php $this->date('F j, Y'); ?> <i></i>
<?php _e('分类:'); ?><?php $this->category(','); ?> <i></i>
<a href="<?php $this->permalink() ?>#comments"><?php $this->commentsNum('评论', '1 条评论', '%d 条评论'); ?></a>
</div>
<ul class="post-meta">
<li><?php _e('作者:'); ?><a href="<?php $this->author->permalink(); ?>"><?php $this->author(); ?></a></li>
<li><?php _e('时间:'); ?><?php $this->date('F j, Y'); ?></li>
<li><?php _e('分类:'); ?><?php $this->category(','); ?></li>
<li><a href="<?php $this->permalink() ?>#comments"><?php $this->commentsNum('评论', '1 条评论', '%d 条评论'); ?></a></li>
</ul>
<div class="post-content">
<?php $this->content('阅读剩余部分...'); ?>
</div>

View File

@ -7,11 +7,11 @@
<?php while($this->next()): ?>
<article class="post">
<h2 class="post-title"><a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h2>
<div class="post-meta">
<?php _e('作者:'); ?><a href="<?php $this->author->permalink(); ?>"><?php $this->author(); ?></a> <i></i>
<?php _e('时间:'); ?><?php $this->date('F j, Y'); ?> <i></i>
<?php _e('分类:'); ?><?php $this->category(','); ?>
</div>
<ul class="post-meta">
<li><?php _e('作者:'); ?><a href="<?php $this->author->permalink(); ?>"><?php $this->author(); ?></a></li>
<li><?php _e('时间:'); ?><?php $this->date('F j, Y'); ?></li>
<li><?php _e('分类:'); ?><?php $this->category(','); ?></li>
</ul>
<div class="post-content">
<?php $this->content('阅读剩余部分...'); ?>
</div>

View File

@ -7,12 +7,12 @@
<?php while($this->next()): ?>
<article class="post">
<h2 class="post-title"><a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h2>
<div class="post-meta">
<?php _e('作者:'); ?><a href="<?php $this->author->permalink(); ?>"><?php $this->author(); ?></a> <i></i>
<?php _e('时间:'); ?><?php $this->date('F j, Y'); ?> <i></i>
<?php _e('分类:'); ?><?php $this->category(','); ?> <i></i>
<a href="<?php $this->permalink() ?>#comments"><?php $this->commentsNum('评论', '1 条评论', '%d 条评论'); ?></a>
</div>
<ul class="post-meta">
<li><?php _e('作者:'); ?><a href="<?php $this->author->permalink(); ?>"><?php $this->author(); ?></a></li>
<li><?php _e('时间:'); ?><?php $this->date('F j, Y'); ?></li>
<li><?php _e('分类:'); ?><?php $this->category(','); ?></li>
<li><a href="<?php $this->permalink() ?>#comments"><?php $this->commentsNum('评论', '1 条评论', '%d 条评论'); ?></a></li>
</ul>
<div class="post-content">
<?php $this->content('阅读剩余部分...'); ?>
</div>

View File

@ -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 @@
<?php while($this->next()): ?>
<article class="post">
<h2 class="post-title"><a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h2>
<div class="post-meta">
<?php _e('作者:'); ?><a href="<?php $this->author->permalink(); ?>"><?php $this->author(); ?></a> <i></i>
<?php _e('时间:'); ?><?php $this->date('F j, Y'); ?> <i></i>
<?php _e('分类:'); ?><?php $this->category(','); ?> <i></i>
<a href="<?php $this->permalink() ?>#comments"><?php $this->commentsNum('评论', '1 条评论', '%d 条评论'); ?></a>
</div>
<ul class="post-meta">
<li><?php _e('作者:'); ?><a href="<?php $this->author->permalink(); ?>"><?php $this->author(); ?></a></li>
<li><?php _e('时间:'); ?><?php $this->date('F j, Y'); ?></li>
<li><?php _e('分类:'); ?><?php $this->category(','); ?></li>
<li><a href="<?php $this->permalink() ?>#comments"><?php $this->commentsNum('评论', '1 条评论', '%d 条评论'); ?></a></li>
</ul>
<div class="post-content">
<?php $this->content('阅读剩余部分...'); ?>
</div>

View File

@ -3,11 +3,11 @@
<div class="col-mb-12 col-8" id="main">
<article class="post">
<h1 class="post-title"><a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h1>
<div class="post-meta">
<?php _e('作者:'); ?><?php $this->author(); ?> <i></i>
<?php _e('时间:'); ?><?php $this->date('F j, Y'); ?> <i></i>
<?php _e('分类:'); ?><?php $this->category(','); ?>
</div>
<ul class="post-meta">
<li><?php _e('作者:'); ?><?php $this->author(); ?></li>
<li><?php _e('时间:'); ?><?php $this->date('F j, Y'); ?></li>
<li><?php _e('分类:'); ?><?php $this->category(','); ?></li>
</ul>
<div class="post-content">
<?php $this->content(); ?>
</div>

View File

@ -7,12 +7,12 @@
<?php while($this->next()): ?>
<article class="post">
<h2 class="post-title"><a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h2>
<div class="post-meta">
<?php _e('作者:'); ?><a href="<?php $this->author->permalink(); ?>"><?php $this->author(); ?></a> <i></i>
<?php _e('时间:'); ?><?php $this->date('F j, Y'); ?> <i></i>
<?php _e('分类:'); ?><?php $this->category(','); ?> <i></i>
<a href="<?php $this->permalink() ?>#comments"><?php $this->commentsNum('评论', '1 条评论', '%d 条评论'); ?></a>
</div>
<ul class="post-meta">
<li><?php _e('作者:'); ?><a href="<?php $this->author->permalink(); ?>"><?php $this->author(); ?></a></li>
<li><?php _e('时间:'); ?><?php $this->date('F j, Y'); ?></li>
<li><?php _e('分类:'); ?><?php $this->category(','); ?></li>
<li><a href="<?php $this->permalink() ?>#comments"><?php $this->commentsNum('评论', '1 条评论', '%d 条评论'); ?></a></li>
</ul>
<div class="post-content">
<?php $this->content('阅读剩余部分...'); ?>
</div>

View File

@ -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 {

View File

@ -7,12 +7,12 @@
<?php while($this->next()): ?>
<article class="post">
<h2 class="post-title"><a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h2>
<div class="post-meta">
<?php _e('作者:'); ?><a href="<?php $this->author->permalink(); ?>"><?php $this->author(); ?></a> <i></i>
<?php _e('时间:'); ?><?php $this->date('F j, Y'); ?> <i></i>
<?php _e('分类:'); ?><?php $this->category(','); ?> <i></i>
<a href="<?php $this->permalink() ?>#comments"><?php $this->commentsNum('评论', '1 条评论', '%d 条评论'); ?></a>
</div>
<ul class="post-meta">
<li><?php _e('作者:'); ?><a href="<?php $this->author->permalink(); ?>"><?php $this->author(); ?></a></li>
<li><?php _e('时间:'); ?><?php $this->date('F j, Y'); ?></li>
<li><?php _e('分类:'); ?><?php $this->category(','); ?></li>
<li><a href="<?php $this->permalink() ?>#comments"><?php $this->commentsNum('评论', '1 条评论', '%d 条评论'); ?></a></li>
</ul>
<div class="post-content">
<?php $this->content('阅读剩余部分...'); ?>
</div>