From e3818a18b31f086d271c68e32de16ab58e758365 Mon Sep 17 00:00:00 2001 From: WillJeynes Date: Wed, 29 May 2024 23:25:20 +0100 Subject: [PATCH] Fix image at wierd resolutions --- _sass/basically-basic/_committee.scss | 11 +++++++++++ index.md | 1 + 2 files changed, 12 insertions(+) diff --git a/_sass/basically-basic/_committee.scss b/_sass/basically-basic/_committee.scss index 06a123b..1939482 100644 --- a/_sass/basically-basic/_committee.scss +++ b/_sass/basically-basic/_committee.scss @@ -66,12 +66,23 @@ max-width: 1115px; } +.cent { + display: flex; + justify-content: center; /* Centers horizontally */ +} + @media screen and (max-width: 1175px) { .homeitem { + width:100%; max-width: 100%; padding: 18px; margin: 4px; } + + .homeitem img { + width: 100%; + max-width: 480px; + } } \ No newline at end of file diff --git a/index.md b/index.md index 60752c2..2777f95 100644 --- a/index.md +++ b/index.md @@ -19,6 +19,7 @@ items: The main languages and technologies I know are C#, Java, Ruby and Linux. - "": + class: cent content: | ![Headshot of me](assets/images/me.jpg) - "Work":