resize image

This commit is contained in:
2026-02-20 15:18:15 +00:00
parent e280a0da69
commit cf64ba0495
+6 -5
View File
@@ -2,18 +2,19 @@
title: "Smart Train" title: "Smart Train"
date: 2026-02-20T12:27:11Z date: 2026-02-20T12:27:11Z
draft: false draft: false
image: ./featured.png image: featured.png
summary: "A 1-2 sentence hook for the project box." summary: "A 1-2 sentence hook for the project box."
tags: ["LXC", "Self-Hosting"] tags: ["LXC", "Self-Hosting"]
--- ---
<style> <style>
.post-content img { /* This targets any image inside the main article area */
width: 10%; section img, .content img, article img {
height: auto; max-width: 50% !important; /* Use !important to override theme defaults */
height: auto !important;
display: block; display: block;
margin: 2rem auto; margin: 2rem auto;
border-radius: 8px; /* Optional: makes them look a bit cleaner */ border-radius: 8px;
} }
</style> </style>