diff --git a/.eleventy.js b/.eleventy.js index 019fd46..df22350 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -128,7 +128,7 @@ module.exports = function (eleventyConfig) { eleventyConfig.addHandlebarsHelper( "sitelen", (file, alt) => - `${alt}` + `${alt}` ); // image shortcode - reduce filesize etc diff --git a/public/stylesheet-toki-wan.css b/public/stylesheet-toki-wan.css index 97033fa..5883c17 100644 --- a/public/stylesheet-toki-wan.css +++ b/public/stylesheet-toki-wan.css @@ -40,8 +40,10 @@ h1 { text-align: justify; } -.nimi img { +p:has(.image) { + align-self: center; +} +.nimi .image img { max-width: 100%; max-height: 20rem; - margin: 0 auto; }