Permalink
Browse files

缩小字体、添加分类、标签栏目

  • Loading branch information...
1 parent 75c0c9b commit e0a5521dbdcab627968c659886e1ad657216cad2 @henryyan committed May 21, 2012
Showing with 14 additions and 6 deletions.
  1. +2 −0 _layouts/master.html
  2. +2 −1 categories.html
  3. BIN images/categories.gif
  4. BIN images/tags.gif
  5. +8 −4 stylesheets/master.css
  6. +2 −1 tags.html
@@ -74,6 +74,8 @@
<ul>
<li><a href='/' id='home-link' title='Home'>首页</a></li>
<li><a href='/blog.html' id='blog-link' title='Blog'>博客</a></li>
+ <li><a href='/categories.html' id='categories-link' title='Categories'>分类</a></li>
+ <li><a href='/tags.html' id='tags-link' title='Tags'>标签</a></li>
<li><a href='/about.html' id='about-link' title='About'>关于</a></li>
<li><a href='http://github.com/henryyan' target='_blank' title='GitHub' rel='me' id='github-link'>GitHub</a></li>
<li><a href='http://weibo.com/kafeituzi' title='微博' target='_blank' id='weibo-link'>微博</a></li>
View
@@ -6,7 +6,8 @@
---
{% include JB/setup %}
-<ul class="tag_box inline">
+<h2>文章分类统计</h2>
+<ul class="categories tag_box inline">
{% assign categories_list = site.categories %}
{% include JB/categories_list %}
</ul>
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -5,7 +5,7 @@ body {
color: #353B40;
margin: 0;
padding: 0;
- font-size: 1.1em;
+ font-size: 1em;
}
a {
@@ -73,6 +73,8 @@ a:visited {
#menu ul li a#weibo-link { background-image: url(/images/weibo.gif); }
#menu ul li a#home-link { background-image: url(/images/home.gif); }
#menu ul li a#docs-link { background-image: url(/images/docs.gif); }
+#menu ul li a#categories-link { background-image: url(/images/categories.gif); }
+#menu ul li a#tags-link { background-image: url(/images/tags.gif); }
#content {
padding: 2em 0;
@@ -81,7 +83,7 @@ a:visited {
#content h2 {
margin: 0 0 0.5em 0;
color: black;
- font-size: 1.5em;
+ font-size: 1.2em;
}
#content p {
@@ -145,7 +147,7 @@ div.post h3 {
color: black;
margin: 1em 0 0.7em 0;
font-weight: normal;
- font-size: 1.4em;
+ font-size: 1em;
}
pre {
@@ -329,4 +331,6 @@ a img { border: 0; }
font-style: italic;
background: yellow;
padding: .5em;
-}
+}
+
+
View
@@ -6,7 +6,8 @@
---
{% include JB/setup %}
-<ul class="tag_box inline">
+<h2>文章标签统计</h2>
+<ul class="tags tag_box inline">
{% assign tags_list = site.tags %}
{% include JB/tags_list %}
</ul>

0 comments on commit e0a5521

Please sign in to comment.