From bf42d752a96c141826bf7353c5cf84c9f1decadf Mon Sep 17 00:00:00 2001 From: Giovanni-Josserand Date: Sun, 21 Sep 2025 18:23:06 +0200 Subject: [PATCH] set projects section responsive --- src/components/Projects/Projects.css | 6 +++++- src/components/SingleProject/SingleProject.css | 14 ++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/src/components/Projects/Projects.css b/src/components/Projects/Projects.css index 7d6c056..ee99303 100644 --- a/src/components/Projects/Projects.css +++ b/src/components/Projects/Projects.css @@ -55,4 +55,8 @@ .projects-back-link { text-align: center; margin-bottom: 3rem; -} \ No newline at end of file +} + + + + diff --git a/src/components/SingleProject/SingleProject.css b/src/components/SingleProject/SingleProject.css index dcc671e..4b24b48 100644 --- a/src/components/SingleProject/SingleProject.css +++ b/src/components/SingleProject/SingleProject.css @@ -122,4 +122,18 @@ margin-left : 2em; font-weight: bold; font-style: italic; +} + + +@media (max-width: 1366px) { + .single-project { + width: 47%; + } +} + + +@media (max-width: 768px) { + .single-project { + width: 90%; + } } \ No newline at end of file