Authored by 沈志敏

调整样式

... ... @@ -3,7 +3,7 @@
<span class="setting icon icon-setting" id="setting"></span>
<a class="user-info" id="user-info" href='/home/mydetails'>
<span class="user-avatar" {{#if head_ico}} style="background-image: url('{{head_ico}}');" {{/if}}></span>
<br><span class="username">{{nickname}}</span>
<span class="username">{{nickname}}</span>
</a>
</div>
<div class="my-order">
... ...
... ... @@ -32,38 +32,29 @@
.user-avatar {
display: inline-block;
position: relative;
top: 100px;
top: 150px;
width: 200px;
height: 200px;
border-radius: 50%;
border: 6px solid #a7a8a9;
margin: 0 auto;
border: 3px solid #b0b0b0;
background: resolve("home/user-icon.png");
background-size: 100%;
}
.username {
display: inline-block;
display: block;
padding: 0 16px;
text-overflow: ellipsis;
overflow: hidden;
position: relative;
margin: 0 auto;
top: 60px;
white-space: nowrap;
font-size: 32px;
max-width: 260px;
}
}
.login-btn {
display: inline-block;
top: 40px;
left: 194px;
width: 244px;
height: 82px;
line-height: 82px;
color: #fff;
border: 4px solid #fff;
margin: 150px auto;
}
.my-order {
margin-bottom: 30px;
border-top: 1px solid #e0e0e0;
... ...