Permalink
Browse files

quickly submit

  • Loading branch information...
hxhb committed Feb 9, 2017
1 parent b324c1e commit 6cd73d0f76f76040560adff9bb2683d2018af18b
Showing with 34 additions and 7 deletions.
  1. +9 −7 themes/next/layout/_macro/post.swig
  2. +25 −0 themes/next/source/css/_schemes/Mist/_posts-expanded.styl
@@ -243,15 +243,17 @@
{% endif %}
</div>

<div align="center">
{% if not is_index %}
<div class="copyright">
<p><span>
<b>本文地址:</b><a href="{{ url_for(page.path) }}" title="{{ page.title }}">{{ page.permalink }}</a><br/><b>转载请注明出处,谢谢!</b>
</span></p>
{% if not is_index %}
<div class="copyright" style="clear:both;">
<span>本文标题:</span><a href="{{ url_for(post.path) }}">{{ post.title }}</a><br/>
<span>文章作者:</span><a href="/" title="访问 {{ theme.author }} 的个人博客">{{ theme.author }}</a><br/>
<span>发布时间:</span>{{ post.date.format("YYYY年M月D日 HH时MM分") }}<br/>
<span>本文字数:</span><span class="page-count">本文一共有{{ wordcount(page.content) }}字</span><br/>
<span>原始链接:</span><a href="{{ url_for(post.path) }}" title="{{ post.title }}">{{ post.permalink }}</a><br/>
<span>许可协议:</span><i class="fa fa-creative-commons"></i> <a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/" title="Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)">Attribution-NonCommercial 4.0</a><br/>
<span>转载请保留以上信息,谢谢!</span>
</div>
{% endif %}
</div>

<div>
{% if not is_index %}
@@ -61,3 +61,28 @@
&:hover { border-bottom-color: $black-deep; }
}
}

.copyright {
width: 85%;
margin: 0px auto;
max-width: 45em;
word-break: break-all;
font-size: .93em;
line-height: 1.6em;
padding: .5em 1.8em;
background: rgba(255, 255, 255, .4)
border: 1px solid lightgray;
span {
color: #B5B5B5;
font-weight: bold;
margin-right: 1em;
}
a {
color: gray;
&:hover {
font-weight: bold;
color: #a3d2a3;
text-decoration: underline;
};
}
}

0 comments on commit 6cd73d0

Please sign in to comment.