Allow to disable the round avatar (#612)

This commit is contained in:
Gabriel 2020-04-19 00:31:01 +02:00 committed by GitHub
parent 09bbb35651
commit 2e3ba13c81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 1 deletions

View file

@ -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 {