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