Commit 25cfb84c authored by Gabriel Engel's avatar Gabriel Engel

fix logo sizes

parent 3a2ee2e5
<a class="card--blog card--blog__image{% if include.post.dateEvent %} event{% endif %}" href='{% if include.post.extUrl %} {{include.post.extUrl}} {% else %} {{ include.post.url | remove: "index.html" }} {% endif %}' >
<div class="card--blog__cover" style="{% if include.post.bgColor %}background-color: #{{include.post.bgColor}};{% endif %}{% unless include.post.bgSize == 'logo' %}{% if include.post.bgImage %}background-image: url('{{ include.post.bgImage }}'); background-size: {{ include.post.bgSize }};{% else %}background-image: url('/images/blog/post.jpg');{% endif %}{% endunless %}">
<div class="card--blog__cover" style="{% if include.post.bgColor %}background-color: #{{include.post.bgColor}};{% endif %}{% unless include.post.bgSize == 'logo' %}{% if include.post.bgImage %}background-image: url('{{ include.post.bgImage }}');{% if include.post.bgSize %}background-size: {{ include.post.bgSize }};{% endif %}{% else %}background-image: url('/images/blog/post.jpg');{% endif %}{% endunless %}">
{% if include.post.bgImage and include.post.bgSize == 'logo'%}
<img class="card--blog__img-cover" src="{{include.post.bgImage}}" alt="go to post">
{% endif %}
......
......@@ -127,7 +127,7 @@
.card--blog__cover {
width: 100%;
height: 193px;
background-size: 100%;
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
transition: background-size 1s;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment