From c2cf116a49083f2e6b90f85521054abc124678af Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Sat, 18 Feb 2023 17:01:43 +1100 Subject: [PATCH] Update images --- app/templates/posts/show.html.slim | 2 +- tailwind.config.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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: {