This commit is contained in:
Zhongwei Sun 2015-02-05 10:37:15 +08:00
commit b1973f3bd7
3 changed files with 10 additions and 7 deletions

View file

@ -10,7 +10,9 @@
/* Imports */ /* Imports */
@import url("reset.css"); @import url("reset.css");
/*
@import url("pygment.css"); @import url("pygment.css");
*/
@import url("typogrify.css"); @import url("typogrify.css");
/***** Global *****/ /***** Global *****/
@ -99,7 +101,8 @@ li { margin-top: 0.5em;}
margin-bottom: 1px; margin-bottom: 1px;
} }
.readmore { float: right } .readmore {
}
dl {margin: 0 0 1.5em 0;} dl {margin: 0 0 1.5em 0;}
dt {font-weight: bold;} dt {font-weight: bold;}
@ -111,8 +114,8 @@ pre {
-webkit-border-radius: 5px; -webkit-border-radius: 5px;
display: block; display: block;
padding: 0.5em; padding: 0.5em;
background: #4dd6f9; background: #001f3f;
color: #0f0f0e; color: hsla(210, 100%, 75%, 1.0);
margin-bottom: 1em; margin-bottom: 1em;
font-family: monospace, Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; font-family: monospace, Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
overflow-x: auto; overflow-x: auto;

View file

@ -1,17 +1,17 @@
<footer class="post-info"> <footer class="post-info">
<abbr class="published" title="{{ article.date.isoformat() }}"> <abbr class="published" title="{{ article.date.isoformat() }}">
Published: {{ article.locale_date }} 发布于: {{ article.locale_date }}
</abbr> </abbr>
{% if article.modified %} {% if article.modified %}
<br /> <br />
<abbr class="modified" title="{{ article.modified.isoformat() }}"> <abbr class="modified" title="{{ article.modified.isoformat() }}">
Updated: {{ article.locale_modified }} 更新于: {{ article.locale_modified }}
</abbr> </abbr>
{% endif %} {% endif %}
{% if article.authors %} {% if article.authors %}
<address class="vcard author"> <address class="vcard author">
By {% for author in article.authors %} 作者: {% for author in article.authors %}
<a class="url fn" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a> <a class="url fn" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>
{% endfor %} {% endfor %}
</address> </address>

View file

@ -36,7 +36,7 @@
<div class="entry-content"> <div class="entry-content">
{% include 'article_infos.html' %} {% include 'article_infos.html' %}
{{ article.summary }} {{ article.summary }}
<a class="readmore" href="{{ SITEURL }}/{{ article.url }}">read more</a> <a class="readmore" href="{{ SITEURL }}/{{ article.url }}">阅读全文</a>
{% include 'comments.html' %} {% include 'comments.html' %}
</div><!-- /.entry-content --> </div><!-- /.entry-content -->
</article></li> </article></li>