mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 19:49:59 +08:00
update layout style
This commit is contained in:
parent
6d9f26088b
commit
3151a121ba
@ -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;
|
||||
}
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user