From bf8f634a638b6d928207a2b4dc490dcf0ed00258 Mon Sep 17 00:00:00 2001 From: Dhananjay Balan Date: Sun, 11 Feb 2024 22:19:54 +0100 Subject: [PATCH] [blog] scale images properly --- css/pages.css | 6 +++--- css/theme.css | 1 + pages/about.md | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/css/pages.css b/css/pages.css index 7eb6c96..3997d65 100644 --- a/css/pages.css +++ b/css/pages.css @@ -6,19 +6,19 @@ body { max-width: 1000px; padding: 1em; text-align: left; - font-size: 16pt; + font-size: 14pt; } h1 { font-weight: normal; font-family: Charter, "Bitstream Charter", "Sitka Text", Cambria, serif; - font-size: 38pt; + font-size: 36pt; font-weight: bold; } h2 { font-family: Charter, "Bitstream Charter", "Sitka Text", Cambria, serif; - font-size: 24pt; + font-size: 22pt; margin-top: 1.5em; font-weight: bold; } diff --git a/css/theme.css b/css/theme.css index 47a1309..bd1641c 100644 --- a/css/theme.css +++ b/css/theme.css @@ -155,6 +155,7 @@ code { img { max-width: 100%; margin: 0px; + height: auto; } figure { diff --git a/pages/about.md b/pages/about.md index aaf5ad3..a77558f 100644 --- a/pages/about.md +++ b/pages/about.md @@ -1,7 +1,7 @@ # [Dhananjay Balan](https://dbalan.in) -![](./images/profile.jpg){height=400px} +![](./images/profile.jpg) Interested in **all things technology**. Easily nerd-sniped, especially when related to old tech, photography, cooking or biking.