Share new avatar styling.
This commit is contained in:
parent
876d4c45a7
commit
971a4d83b7
3 changed files with 7 additions and 4 deletions
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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({
|
||||||
|
|
Loading…
Add table
Reference in a new issue