From 1a9fad427ddfbccacbe191ab7040aea48b04cc13 Mon Sep 17 00:00:00 2001 From: Ananya Date: Sun, 9 Oct 2022 13:01:30 +0530 Subject: [PATCH] Added border,padding; Resized images; Prevent Horizontal Scroll; Appealing styles added --- css/style.css | 6 +++++- index.html | 47 ++++++++++++++++++++++++++++------------------- 2 files changed, 33 insertions(+), 20 deletions(-) diff --git a/css/style.css b/css/style.css index 7e00b12..04f40bb 100644 --- a/css/style.css +++ b/css/style.css @@ -12,6 +12,8 @@ body { background-color: #c0c0c0; + border: 20pt solid black; + padding: 15pt; } /* .body-div { @@ -69,6 +71,8 @@ body { max-width: 1200px; max-height: 500px; object-fit: cover; + width: 80%; + height: 80%; } /* // IMAGE */ @@ -87,7 +91,7 @@ body { } .about-section p { - text-align: justify left; + text-align: center; padding: 20px; font-weight: 30px; font-family: 'Lato', sans-serif; diff --git a/index.html b/index.html index 3850bd6..edebc68 100644 --- a/index.html +++ b/index.html @@ -24,6 +24,7 @@ Game Of Thrones - Blog +
@@ -31,7 +32,7 @@
+ +