diff --git a/app/templates/posts/show.html.slim b/app/templates/posts/show.html.slim index 400a673..d46da88 100644 --- a/app/templates/posts/show.html.slim +++ b/app/templates/posts/show.html.slim @@ -7,7 +7,7 @@ article class="h-entry" - if post.photos? - post.photos.each do |photo| figure - img class="u-photo" src=photo["value"] alt=photo["alt"] + img class="u-photo shadow-solid mb-4" src=photo["value"] alt=photo["alt"] figcaption = photo["alt"] div class="e-content" diff --git a/tailwind.config.js b/tailwind.config.js index 7bc3a93..67364e3 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -16,6 +16,9 @@ module.exports = { '5xl': '3.052rem', }, extend: { + boxShadow: { + 'solid': '10px 10px 1px 2px #fce7f3' + }, typograpgy: { emphasis: { css: {