From 7e619616381e2f57fe3c6f08b5c0576daaa3f74f Mon Sep 17 00:00:00 2001 From: Kelvin Samuel Date: Mon, 20 Sep 2021 23:25:45 +0700 Subject: [PATCH] Modified Home Page Layout --- Style-index.css | 7 +++--- index.html | 63 ++++++++++++++++++++++++------------------------- 2 files changed, 34 insertions(+), 36 deletions(-) diff --git a/Style-index.css b/Style-index.css index 01798b7..57dd890 100644 --- a/Style-index.css +++ b/Style-index.css @@ -5,7 +5,7 @@ body { background-color: #1b1c1e; } -.nav-color { +.comp-color { background-color: #212226; } @@ -17,13 +17,12 @@ body { .carousel-inner{ margin-top: -3%; width: 1400px; - margin-left: 5%; + margin-left: 4%; } .banner{ width: 100%; margin-top: 30px; - margin-left: 12.5%; } .banner_item{ @@ -319,7 +318,7 @@ body { background-size: cover; background-position: center center ; margin-top: 3%; - margin-left: 5%; + margin-left: 4%; } .main_slider_content{ diff --git a/index.html b/index.html index ffdfecb..3cec03d 100644 --- a/index.html +++ b/index.html @@ -16,37 +16,36 @@ - +