Share new avatar styling.

This commit is contained in:
flash 2018-09-19 08:51:52 +02:00
parent 876d4c45a7
commit 971a4d83b7
3 changed files with 7 additions and 4 deletions

View file

@ -9,4 +9,10 @@
max-height: 200px; max-height: 200px;
max-width: 200px; max-width: 200px;
box-sizing: content-box; box-sizing: content-box;
&--new {
border-radius: 2px;
border: initial;
box-shadow: 0 1px 4px #111;
}
} }

View file

@ -23,9 +23,6 @@
&__avatar { &__avatar {
width: 120px; width: 120px;
height: 120px; height: 120px;
border-radius: 2px;
border: initial;
box-shadow: 0 1px 4px #111;
} }
&__details { &__details {

View file

@ -14,7 +14,7 @@
<div class="profile" id="profile"> <div class="profile" id="profile">
<div class="profile__header"> <div class="profile__header">
<div class="profile__header__details"> <div class="profile__header__details">
<div class="avatar profile__header__avatar" style="background-image:url('{{ image }}')"></div> <div class="avatar avatar--new profile__header__avatar" style="background-image:url('{{ image }}')"></div>
<div class="profile__header__details__content"> <div class="profile__header__details__content">
<div class="profile__header__username" style="{{ profile.user_colour|html_colour({ <div class="profile__header__username" style="{{ profile.user_colour|html_colour({