Style cards

This commit is contained in:
Madison Scott-Clary
2017-09-06 14:27:19 -06:00
parent c99d4f846f
commit ce46d6cde2
2 changed files with 5 additions and 2 deletions

View File

@ -4,7 +4,7 @@ layout: home-page
<ol class="post-card-box clearfix">
{% for post in paginator.posts %}
<li>
<div class="post-card{% cycle ' light-purple', ' light-gray', '', ' light-purple' %}">
<div class="post-card{% cycle ' light-purple', '', ' light-gray', ' light-pink' %}">
<a href="{{post.url | prepend: site.baseurl}}" class="post-card-image"{% if post.img %} style="background-image: url( {{ "/assets/img/" | prepend: site.baseurl | append : post.img}} )"{% endif %}>
</a>