Authored by xuqi

作者点击添加链接

... ... @@ -6,18 +6,13 @@
border-bottom: 1px solid #e0e0e0;
background: #fff;
> * {
a > * {
margin-left: 30rem / $pxConvertRem;
}
.avatar-container {
float: left;
position: relative;
top: 50%;
margin-top: -33rem / $pxConvertRem;
}
.avatar {
float: left;
margin-top: 20rem / $pxConvertRem;
width: 50rem / $pxConvertRem;
height: 50rem / $pxConvertRem;
@include border-radius(50rem / $pxConvertRem);
... ... @@ -27,7 +22,6 @@
float: left;
font-size: 28rem / $pxConvertRem;
color: #000;
text-decoration: none;
}
.intro {
... ...
{{# author}}
<div class="article-author partial clearfix">
<a class="avatar-container" href="{{url}}">
<div class="article-author partial">
<a class="clearfix" href="{{url}}">
<img class="avatar" src="{{avatar}}">
</a>
<a class="name" href="{{url}}">{{name}}</a>
<span class="name">{{name}}</span>
<span class="intro">{{intro}}</span>
</a>
</div>
{{/ author}}
\ No newline at end of file
... ...