From 88aa5b27d7804d12c5d687eea91ebe636f006460 Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Mon, 31 Mar 2025 03:57:59 -0600 Subject: [PATCH] More CSS fixes --- public/css/styles.css | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/public/css/styles.css b/public/css/styles.css index ac8dc10..e521eef 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -805,18 +805,12 @@ section.card-grid { 8. POST PAGE ========================================*/ -/* Post page specific layout - matches screenshot 2 */ -main.container { - display: block; - width: 100%; - max-width: 90vw; - padding-left: 1rem; - padding-right: 1rem; -} - main.container article { display: block; width: 100%; + max-width: 700px; /* Limit width for post content */ + margin-left: auto; /* Center the article */ + margin-right: auto; /* Center the article */ line-height: 1.6; text-align: left; } @@ -1115,10 +1109,11 @@ input[type="file"]::-webkit-file-upload-button:hover { text-decoration: none; } -/* Standard container for tool pages */ +/* Standard container for pages */ main.container { max-width: 90vw; padding: 2rem 1rem; + width: 100%; } /* Error message styling */