Authored by xuqi

作者点击添加链接

@@ -6,18 +6,13 @@ @@ -6,18 +6,13 @@
6 border-bottom: 1px solid #e0e0e0; 6 border-bottom: 1px solid #e0e0e0;
7 background: #fff; 7 background: #fff;
8 8
9 - > * { 9 + a > * {
10 margin-left: 30rem / $pxConvertRem; 10 margin-left: 30rem / $pxConvertRem;
11 } 11 }
12 12
13 - .avatar-container {  
14 - float: left;  
15 - position: relative;  
16 - top: 50%;  
17 - margin-top: -33rem / $pxConvertRem;  
18 - }  
19 -  
20 .avatar { 13 .avatar {
  14 + float: left;
  15 + margin-top: 20rem / $pxConvertRem;
21 width: 50rem / $pxConvertRem; 16 width: 50rem / $pxConvertRem;
22 height: 50rem / $pxConvertRem; 17 height: 50rem / $pxConvertRem;
23 @include border-radius(50rem / $pxConvertRem); 18 @include border-radius(50rem / $pxConvertRem);
@@ -27,7 +22,6 @@ @@ -27,7 +22,6 @@
27 float: left; 22 float: left;
28 font-size: 28rem / $pxConvertRem; 23 font-size: 28rem / $pxConvertRem;
29 color: #000; 24 color: #000;
30 - text-decoration: none;  
31 } 25 }
32 26
33 .intro { 27 .intro {
1 {{# author}} 1 {{# author}}
2 - <div class="article-author partial clearfix">  
3 - <a class="avatar-container" href="{{url}}"> 2 + <div class="article-author partial">
  3 + <a class="clearfix" href="{{url}}">
4 <img class="avatar" src="{{avatar}}"> 4 <img class="avatar" src="{{avatar}}">
5 - </a>  
6 - <a class="name" href="{{url}}">{{name}}</a> 5 + <span class="name">{{name}}</span>
7 <span class="intro">{{intro}}</span> 6 <span class="intro">{{intro}}</span>
  7 + </a>
8 </div> 8 </div>
9 {{/ author}} 9 {{/ author}}