Hide profile image on mobile devices

This commit is contained in:
Santiago Lo Coco 2022-03-14 14:32:52 -03:00
parent b35abee0c8
commit 224fd442eb
2 changed files with 8 additions and 0 deletions

View File

@ -14,11 +14,13 @@ layout: default
{% if page.profile -%}
<div class="rel-1z profile float-{%- if page.profile.align == 'left' -%}left{%- else -%}right{%- endif -%}">
{%- if page.profile.image %}
<div class="prof-image">
{%- assign profile_image_path = page.profile.image | prepend: 'assets/img/' -%}
{% include figure.html
path=profile_image_path
class="img-fluid z-dept-1 rounded"
alt=page.profile.image -%}
</div>
{% endif -%}
{%- if page.profile.address %}
<div class="address">

View File

@ -88,6 +88,12 @@ boldtext {
}
}
@media (max-width: 600px) {
.prof-image {
display: none;
}
}
.post-description {
margin-bottom: 1rem;
font-size: 0.9rem;