From 82c874b17fafb2bd87f622dc61338f3513801860 Mon Sep 17 00:00:00 2001 From: rasmita404 Date: Thu, 14 Oct 2021 12:13:50 +0530 Subject: [PATCH 1/4] made the project section responsive --- style.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/style.css b/style.css index 628a860..68fc252 100644 --- a/style.css +++ b/style.css @@ -42,6 +42,8 @@ hr{ } .primary-link { + display: inline-block; + position: relative; background-color:var(--primary-color); padding:1rem; border-radius:1rem; @@ -49,6 +51,8 @@ hr{ } .secondary-link { + display: inline-block; + position: relative; padding:1rem; border: 1.5px solid var(--primary-color); border-radius:1rem; @@ -103,12 +107,14 @@ nav{ margin-bottom: 2rem; } .section p,ul,pre,ol{ + position: relative; max-width: 620px; margin:auto; } .section { + position: relative; padding:2rem; /* padding-bottom: 1rem;; */ margin:1rem 0rem;; From 36f398351a9625440adba1b38bb4ffefe2786f2f Mon Sep 17 00:00:00 2001 From: Anuranjan Srivastava Date: Thu, 14 Oct 2021 18:36:40 +0530 Subject: [PATCH 2/4] Checking Something --- style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index 68fc252..13d3773 100644 --- a/style.css +++ b/style.css @@ -167,9 +167,9 @@ padding-bottom:1rem; } .center-container { - padding: 2rem; + padding: 3rem; } .mb-2 { margin-bottom: 2rem !important; -} \ No newline at end of file +} From 14a2e48740297a028c601b2d2b8c642c32c701c7 Mon Sep 17 00:00:00 2001 From: Anuranjan Srivastava Date: Thu, 14 Oct 2021 18:46:25 +0530 Subject: [PATCH 3/4] Update Style.css Decrease the padding --- style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style.css b/style.css index 2bc5cfb..e638b4c 100644 --- a/style.css +++ b/style.css @@ -170,7 +170,7 @@ padding-bottom:1rem; } .center-container { - padding: 3rem; + padding: 2rem; } .mb-2 { From 53675e5507a715057f85536ed56c3910ed12b8d6 Mon Sep 17 00:00:00 2001 From: Anuranjan Srivastava Date: Thu, 14 Oct 2021 18:50:19 +0530 Subject: [PATCH 4/4] Update Style.css --- style.css | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/style.css b/style.css index e638b4c..9df68c2 100644 --- a/style.css +++ b/style.css @@ -45,8 +45,7 @@ hr{ } .primary-link { - display: inline-block; - position: relative; + background-color:var(--primary-color); padding:1rem; border-radius:1rem; @@ -54,8 +53,7 @@ hr{ } .secondary-link { - display: inline-block; - position: relative; + padding:1rem; border: 1.5px solid var(--primary-color); border-radius:1rem; @@ -110,7 +108,7 @@ nav{ margin-bottom: 2rem; } .section p,ul,pre,ol{ - position: relative; + max-width: 620px; margin:auto; }