From 2a167cf836f91005f211b73dc1250ac964b9357d Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Tue, 29 Aug 2023 15:10:47 -0500 Subject: [PATCH] refactor(style): move img properties to all img --- assets/style/article.css | 5 ----- assets/style/style.css | 3 +++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/assets/style/article.css b/assets/style/article.css index a4eea33..5d721a6 100644 --- a/assets/style/article.css +++ b/assets/style/article.css @@ -10,11 +10,6 @@ article > blockquote { align-self: center; } -article > p > img { - margin-left: 50%; - transform: translateX(-50%); - max-height: 75vh; - max-width: min(90vw, 800px); } .article-name { diff --git a/assets/style/style.css b/assets/style/style.css index 502ea76..2a5675b 100644 --- a/assets/style/style.css +++ b/assets/style/style.css @@ -184,6 +184,9 @@ img { overflow: scroll; max-height: 75vh; max-width: min(95vw, 125%); + margin-left: 50%; + transform: translateX(-50%); + border-radius: 15px; } h1,