From a5ca24deeb1bacb6b8e9415461cb7dd355c6b777 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Fri, 8 Oct 2021 13:45:05 +0200 Subject: [PATCH] feat: made the pages a bit responsive --- src/ePortfolio/index.md | 4 ++-- src/index.md | 4 ++-- src/scss/eportfolio.scss | 6 ++++++ src/scss/style.scss | 6 ++++++ 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/ePortfolio/index.md b/src/ePortfolio/index.md index b416934..0e08c01 100755 --- a/src/ePortfolio/index.md +++ b/src/ePortfolio/index.md @@ -16,8 +16,8 @@ Hi, my name's Laurent Fainsin, and I'm currently an M1 engineering student at [E You can email me at : -- [laurentfainsin@protonmail.com](mailto:laurentfainsin@protonmail.com) -- [laurent.fainsin@etu.inp-n7.fr](mailto:laurent.fainsin@etu.inp-n7.fr) +- [laurentfainsin@protonmail.com](mailto:laurentfainsin@protonmail.com) +- [laurent.fainsin@etu.inp-n7.fr](mailto:laurent.fainsin@etu.inp-n7.fr) You can reach me via : diff --git a/src/index.md b/src/index.md index 66b0df2..0fd4282 100755 --- a/src/index.md +++ b/src/index.md @@ -18,8 +18,8 @@ Nothing worth showing for now. Come back later. You can email me at : -- [laurentfainsin@protonmail.com](mailto:laurentfainsin@protonmail.com) -- [laurent.fainsin@etu.inp-n7.fr](mailto:laurent.fainsin@etu.inp-n7.fr) +- [laurentfainsin@protonmail.com](mailto:laurentfainsin@protonmail.com) +- [laurent.fainsin@etu.inp-n7.fr](mailto:laurent.fainsin@etu.inp-n7.fr) You can reach me via : diff --git a/src/scss/eportfolio.scss b/src/scss/eportfolio.scss index 28cb2af..80981d9 100644 --- a/src/scss/eportfolio.scss +++ b/src/scss/eportfolio.scss @@ -9,7 +9,13 @@ nav { } } +h1, +h2 { + height: auto; +} + #btn-back { + margin-top: 2rem; display: flex; justify-content: center; gap: .2rem; diff --git a/src/scss/style.scss b/src/scss/style.scss index 10f5df8..4498f14 100755 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -101,3 +101,9 @@ nav { margin: 0.5rem 0 2rem 0; } } + +@media only screen and (max-width: 64rem) { + body { + width: calc(100% - 4rem); + } +}