Browse Source

Fix site style

pull/1146/head
afc163 9 years ago
parent
commit
235c1e38cb
  1. 8
      site/static/style.less
  2. 2
      site/templates/code.html
  3. 6
      site/templates/demos.html

8
site/static/style.less

@ -940,6 +940,7 @@ footer ul li > a {
transition: all 0.3s ease;
color: #999;
background: #fff;
user-select: none;
}
.code-box.expand .collapse {
@ -1540,10 +1541,9 @@ a.entry-link:hover .anticon-smile {
.main-container {
margin-left: 0;
}
.markdown > * {
width: 100%!important;
> .markdown > * {
width: 100%!important;
}
}
.main-wrapper {

2
site/templates/code.html

@ -9,6 +9,6 @@
<a href="#{{post.meta.id|removeCodeBoxIdPrefix}}">{{ post.title }}</a>
</div>
{{ post.meta.description }}
<span class="collapse anticon anticon-circle-o-right" unselectable="none" style="-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;"></span>
<span class="collapse anticon anticon-circle-o-right" unselectable="none"></span>
</div>
</div>

6
site/templates/demos.html

@ -3,12 +3,6 @@
<h2 class="component-demos">
代码演示
<i class="anticon anticon-appstore icon-all" title="展开全部代码"></i>
{%- if post.meta.sketch %}
<a class="sketch-link" href="{{ post.meta.sketch }}" target="_blank">
<i class="anticon anticon-download"></i>
Sketch 下载
</a>
{%- endif %}
</h2>
<div class="code-boxes">
{%- if post.meta.cols == 1 %}

Loading…
Cancel
Save