From 04532eb8c764394b35bbb9da523c72698338559a Mon Sep 17 00:00:00 2001 From: nikitaisrani1 <81084105+nikitaisrani1@users.noreply.github.com> Date: Thu, 14 Sep 2023 23:44:59 +0530 Subject: [PATCH 1/2] Update index.html --- index.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 939899f..a5dfe2a 100644 --- a/index.html +++ b/index.html @@ -28,15 +28,17 @@
+
- +

Welcome to SynBio

@@ -56,4 +58,4 @@

Welcome to SynBio

- \ No newline at end of file + From 4ee3782eba587113be253c5bd1dab5a6ce00bfd0 Mon Sep 17 00:00:00 2001 From: nikitaisrani1 <81084105+nikitaisrani1@users.noreply.github.com> Date: Thu, 14 Sep 2023 23:45:21 +0530 Subject: [PATCH 2/2] Update site.css --- site.css | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 58 insertions(+), 3 deletions(-) diff --git a/site.css b/site.css index 70d47a8..18bcf03 100644 --- a/site.css +++ b/site.css @@ -26,7 +26,7 @@ header { padding: 10px; } -nav a:visited, +/* nav a:visited, nav a:link { color: #fff; text-decoration: none; @@ -41,14 +41,69 @@ nav>ul>li { display: inline-block; list-style: none; margin: 0 5px 0 5px; +} */ +/* Reset default list styles */ +ul.nav-list { + list-style-type: none; + margin: 0; + padding: 0; } -main { +/* Style the navigation bar */ +.navbar { + background-color: #a493c0; + padding: 10px; +} + +/* Style the navigation items */ +.nav-item { + display: inline-block; + list-style: none; + margin: 0 5px 0 5px; + margin-left: 150px; +} + +/* Style the logo */ +.nav-item.logo img { + height: 40px; + /* Adjust the height as needed */ + vertical-align: middle; +} + +.nav-item a { + color: #fff; + text-decoration: none; +} + +.nav-item a:visited, +.nav-item a:link { + color: #fff; +} + +.nav-item a:hover { + color: #f6aeae; + /* Change color on hover */ +} +/* main { display: block; background-image: url("images/background.png"); padding-top: 3em; padding-bottom: 3em; min-height: 85%; + align-items: center; + margin-left: auto; + margin-right: auto; +} */ +main { + display: flex; + justify-content: center; + /* Center horizontally */ + align-items: center; + /* Center vertically */ + background-image: url("images/background.png"); + padding-top: 3em; + padding-bottom: 3em; + min-height: 85%; } footer { @@ -121,4 +176,4 @@ article { border: solid 1px #f6aeae; border-radius: 3px; color: #fff; -} \ No newline at end of file +}