chore: styles improvements for image aspect ratio and line height

This commit is contained in:
2026-01-24 16:30:31 +01:00
parent d6469c00a9
commit ac590ab526
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -42,7 +42,7 @@
body { body {
font-family: 'Open Sans', sans-serif; font-family: 'Open Sans', sans-serif;
font-size: 16px; font-size: 16px;
line-height: normal; line-height: 1.5;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
background-color: var(--background); background-color: var(--background);
+6
View File
@@ -33,6 +33,12 @@ main #content .highlight pre {
padding: 0rem; padding: 0rem;
} }
main #content img {
width: 100%;
aspect-ratio: 4 / 3;
object-fit: cover;
}
@media only screen and (max-width: 1024px) { @media only screen and (max-width: 1024px) {
main #container { main #container {
display: block; display: block;