From 1aa6ba843499d64648d42de058d14c475fd621d1 Mon Sep 17 00:00:00 2001 From: KhalTech Date: Tue, 26 Nov 2019 21:34:54 +0100 Subject: [PATCH] Fixed the navigation bar and changed the header --- index.html | 10 +++++++--- styles/index.css | 21 +++++++++++---------- 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/index.html b/index.html index 2c2bf04..71b8b24 100644 --- a/index.html +++ b/index.html @@ -12,22 +12,26 @@
+ + +
diff --git a/styles/index.css b/styles/index.css index 5476019..1028fd7 100644 --- a/styles/index.css +++ b/styles/index.css @@ -5,6 +5,15 @@ background-color: rgb(0, 0, 0); } + span.name{ + float: left; + padding: 20px; + color: #fff; + padding-top: 15px; + font-size: 20px; + font-weight: bolder; + padding-left: 40px; + } .scroll_button{ position: fixed; @@ -99,15 +108,7 @@ div.btn-container{ width: 100%; } - span.name{ - float: left; - padding: 20px; - color: #fff; - padding-top: 15px; - font-size: 20px; - font-weight: bolder; - padding-left: 40px; - } + li{ display: inline-block; text-align: right; @@ -117,7 +118,7 @@ } ul.nav-list{ - margin-right: 120px; + float: right; } ul li { font-weight: lighter;