update layout style

This commit is contained in:
afc163 2016-03-09 18:42:50 +08:00
parent 6d9f26088b
commit 3151a121ba
2 changed files with 9 additions and 2 deletions

View File

@ -698,9 +698,15 @@ footer ul li > a {
margin-left: 1em;
}
.subtitle {
font-size: 80%;
font-weight: normal;
font-family: "Helvetica Neue", Helvetica;
}
.toc {
font-size: 14px;
margin-bottom: 20px;
margin: 20px 0;
background: #fbfbfb;
border-left: 2px solid #eee;
}

View File

@ -17,7 +17,8 @@
{% block content %}
<section class="main-container">
<article class="markdown">
<h1>{{ post.title }} {{ post.meta.subtitle }}</h1>
<h1>{{ post.title }} <span class="subtitle">{{ post.meta.subtitle }}</span></h1>
{{ post.meta.description }}
<div class="toc">{{ post.toc }}</div>
{{ post.html|add_anchor }}
</article>