From 184aeaac99bf220d6abb4f620542eb4984cfd4c9 Mon Sep 17 00:00:00 2001 From: Faris Date: Sun, 1 Dec 2024 17:11:36 +0200 Subject: [PATCH] modified CSS --- portfolio.css | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/portfolio.css b/portfolio.css index 8b62963..1ead2f8 100644 --- a/portfolio.css +++ b/portfolio.css @@ -25,6 +25,10 @@ header { font-size: 1.8em; } +.navi { + position: sticky; +} + .navi a { text-decoration: none; color: black; @@ -51,8 +55,8 @@ section { max-height: 46rem; display: flex; align-items: center; - background: rgb(14, 14, 14); - justify-content: space-between; + justify-content: space-around; + background: rgb(14, 14, 14, 0.99); } .main h2 { @@ -179,6 +183,10 @@ section { margin-top: 10px; } +#projects { + background-color: #f9f9f9; +} + #projects .content { display: flex; flex-direction: row;