Updated image sizes

This commit is contained in:
Eduard Urbach 2017-06-10 02:35:07 +02:00
parent c0744d8ba5
commit 41f8c1a978
3 changed files with 7 additions and 4 deletions

View File

@ -1,5 +1,5 @@
component ProfileImage(user *arn.User) component ProfileImage(user *arn.User)
if user.Avatar != "" if user.Avatar != ""
img.profile-image(src=user.Avatar + "?s=640&r=x&d=mm", alt="Profile image") img.profile-image(src=user.Avatar + "?s=500&r=x&d=mm", alt="Profile image")
else else
img.profile-image(src="/images/elements/no-gravatar.svg", alt="Profile image") img.profile-image(src="/images/elements/no-gravatar.svg", alt="Profile image")

View File

@ -67,7 +67,7 @@ animation cover-animation
.image-container .image-container
flex 1 flex 1
max-width 320px max-width 250px
.intro-container .intro-container
vertical vertical
@ -77,6 +77,9 @@ animation cover-animation
padding-left calc(content-padding * 2) padding-left calc(content-padding * 2)
max-width 900px max-width 900px
#nick
margin-bottom 1rem
// Categories // Categories
.profile-category .profile-category

View File

@ -9,8 +9,8 @@ mixin grid-cell
height 16vw height 16vw
min-width 90px min-width 90px
min-height 127px min-height 127px
max-width 200px max-width 142px
max-height 282px max-height 201px
border-radius 3px border-radius 3px
background-size cover background-size cover