mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
parent
357cb9f201
commit
b6b019621a
2 changed files with 12 additions and 5 deletions
|
@ -190,20 +190,27 @@
|
|||
|
||||
.user-image {
|
||||
@include box-sizing(border-box);
|
||||
display: table;
|
||||
position: relative;
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
float: left;
|
||||
margin-left: 40px;
|
||||
margin-right: 20px;
|
||||
border-radius: 60px;
|
||||
text-align: center;
|
||||
border-radius: 100%;
|
||||
overflow: hidden;
|
||||
border: 5px solid #fff;
|
||||
background: $darkgrey;
|
||||
z-index: 2;
|
||||
|
||||
img {
|
||||
.img {
|
||||
display: block;
|
||||
line-height: 0;
|
||||
border-radius: 100%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image: url(/shared/img/default-user-profile-picture.jpg);
|
||||
background-size: cover;
|
||||
background-position: center center;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<fieldset class="user-details-top">
|
||||
|
||||
<figure class="user-image">
|
||||
<img id="user-image" src="{{#if image}}{{image}}{{else}}/shared/img/default-user-profile-picture.jpg{{/if}}" title="{{name}}" />
|
||||
<a id="user-image" class="img" {{#if image}}style="background-image: url({{image}});"{{/if}} href="#"><span class="hidden">{{name}}'s Picture</span></a>
|
||||
<button class="edit-user-image js-modal-image">Edit Picture</button>
|
||||
</figure>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue