Allow to disable the round avatar (#612)
This commit is contained in:
parent
09bbb35651
commit
2e3ba13c81
3 changed files with 10 additions and 1 deletions
|
@ -174,16 +174,20 @@ img {
|
|||
}
|
||||
.navbar-custom .avatar-container .avatar-img-border {
|
||||
width: 100%;
|
||||
display: inline-block;
|
||||
{% if site.round-avatar | default: true %}
|
||||
border-radius: 50%;
|
||||
margin-left: -50%;
|
||||
display: inline-block;
|
||||
box-shadow: 0 0 8px rgba(0, 0, 0, .8);
|
||||
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .8);
|
||||
-moz-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
|
||||
{% endif %}
|
||||
}
|
||||
.navbar-custom .avatar-container .avatar-img {
|
||||
width: 100%;
|
||||
{% if site.round-avatar | default: true %}
|
||||
border-radius: 50%;
|
||||
{% endif %}
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
@ -199,9 +203,11 @@ img {
|
|||
|
||||
.navbar-custom .avatar-container .avatar-img-border {
|
||||
width: 100%;
|
||||
{% if site.round-avatar | default: true %}
|
||||
box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
|
||||
-webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
|
||||
-moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
|
||||
{% endif %}
|
||||
}
|
||||
|
||||
.navbar-custom .avatar-container .avatar-img {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue