diff --git a/_sass/_posts.scss b/_sass/_posts.scss index d15e846..1d50191 100755 --- a/_sass/_posts.scss +++ b/_sass/_posts.scss @@ -8,6 +8,16 @@ border-bottom: thin solid #f3f3f3; } +.post { + box-sizing: border-box; + padding: 15px; + + &:hover { + box-shadow: 0 5px 5px #DADADA; + transition: box-shadow .2s; + } +} + .posts .post:last-child { border-bottom: none; margin-bottom: .375em; diff --git a/index.html b/index.html index 2da9ac2..2e98bb5 100755 --- a/index.html +++ b/index.html @@ -12,8 +12,9 @@
{% for post in paginator.posts %}
- -

{{ post.title }}

+ +

{{ post.title }}

+

{% if post.summary %} {{ post.summary }} @@ -21,6 +22,7 @@ {{ post.excerpt }} {% endif %}

+
{% endfor %}