From 16335808a489bb51813876c43eeac23a521623d2 Mon Sep 17 00:00:00 2001 From: Emily Kanarek Date: Sat, 17 Feb 2024 12:41:49 -0500 Subject: [PATCH 1/8] Completed assignment --- index.html | 2 +- style.css | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 8a618dd71..a8a629a25 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ Exceptional Realty Group - Luxury Homes - About - +
diff --git a/style.css b/style.css index 1b1899382..244c464d6 100644 --- a/style.css +++ b/style.css @@ -3,3 +3,41 @@ body { height: 100%; margin: 0; } + +h1 { + text-align: center; +} + +nav a { + padding: 0 10px; + background-color: beige; +} + +nav { + text-align: center; +} + +img { + display: block; + margin-left: auto; + margin-right: auto; +} + +figcaption { + font-size: smaller; + text-align: center; +} + +#featured-property p { + width: 800px; + margin-left: auto; + margin-right: auto; + text-align: center; +} + +#details div { + float: left; + background-color: beige; + text-align: center; + width: 25%; +} From 45c01b2e8151696eeda407251a73fad97ba375de Mon Sep 17 00:00:00 2001 From: Emily Kanarek Date: Thu, 1 May 2025 12:56:16 -0400 Subject: [PATCH 2/8] Reset previous solutions --- index.html | 4 ++-- style.css | 40 +--------------------------------------- 2 files changed, 3 insertions(+), 41 deletions(-) diff --git a/index.html b/index.html index a8a629a25..ccbb197cb 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ Exceptional Realty Group - Luxury Homes - About - +
@@ -63,4 +63,4 @@

Follow

- + \ No newline at end of file diff --git a/style.css b/style.css index 244c464d6..f59a80207 100644 --- a/style.css +++ b/style.css @@ -2,42 +2,4 @@ body { width: 100%; height: 100%; margin: 0; -} - -h1 { - text-align: center; -} - -nav a { - padding: 0 10px; - background-color: beige; -} - -nav { - text-align: center; -} - -img { - display: block; - margin-left: auto; - margin-right: auto; -} - -figcaption { - font-size: smaller; - text-align: center; -} - -#featured-property p { - width: 800px; - margin-left: auto; - margin-right: auto; - text-align: center; -} - -#details div { - float: left; - background-color: beige; - text-align: center; - width: 25%; -} +} \ No newline at end of file From e9e95268c34be04802a12d66b9388246737f507a Mon Sep 17 00:00:00 2001 From: Emily Kanarek Date: Thu, 1 May 2025 12:57:10 -0400 Subject: [PATCH 3/8] Add link to stylesheet --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index ccbb197cb..2e367ad53 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ Exceptional Realty Group - Luxury Homes - About - +
From 922c555aeaeb6c3323ca154e58c9ae163e4e92f1 Mon Sep 17 00:00:00 2001 From: Emily Kanarek Date: Thu, 1 May 2025 12:59:43 -0400 Subject: [PATCH 4/8] Center h1 and img elements --- style.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/style.css b/style.css index f59a80207..f089ca686 100644 --- a/style.css +++ b/style.css @@ -2,4 +2,13 @@ body { width: 100%; height: 100%; margin: 0; +} + +h1 { + text-align: center; +} + +img { + display: block; + margin: auto; } \ No newline at end of file From 219baaf28dfd1e82ea4a77b54b08076412ca81d1 Mon Sep 17 00:00:00 2001 From: Emily Kanarek Date: Thu, 1 May 2025 13:02:45 -0400 Subject: [PATCH 5/8] Style nav links --- style.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/style.css b/style.css index f089ca686..5315c70e3 100644 --- a/style.css +++ b/style.css @@ -11,4 +11,14 @@ h1 { img { display: block; margin: auto; +} + +nav { + text-align: center; +} + +nav a { + padding-left: 10px; + padding-right: 10px; + background: rgb(224, 167, 167); } \ No newline at end of file From 1fee8d7b47a19acd875cbbfc91c0e843bd610636 Mon Sep 17 00:00:00 2001 From: Emily Kanarek Date: Thu, 1 May 2025 13:03:54 -0400 Subject: [PATCH 6/8] Style image caption --- style.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/style.css b/style.css index 5315c70e3..99444154e 100644 --- a/style.css +++ b/style.css @@ -21,4 +21,9 @@ nav a { padding-left: 10px; padding-right: 10px; background: rgb(224, 167, 167); +} + +figcaption { + text-align: center; + font-size: 0.9em; } \ No newline at end of file From 2409a544234a700fca4f5c6ea5e70b018c549915 Mon Sep 17 00:00:00 2001 From: Emily Kanarek Date: Thu, 1 May 2025 13:05:21 -0400 Subject: [PATCH 7/8] Style text block --- style.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/style.css b/style.css index 99444154e..62f2d7e97 100644 --- a/style.css +++ b/style.css @@ -26,4 +26,11 @@ nav a { figcaption { text-align: center; font-size: 0.9em; +} + +#featured-property p { + width: 800px; + display: block; + margin: auto; + text-align: center; } \ No newline at end of file From 8fd750f6058cafbcddf37b5782fc834ed1635f04 Mon Sep 17 00:00:00 2001 From: Emily Kanarek Date: Thu, 1 May 2025 13:06:45 -0400 Subject: [PATCH 8/8] Style bottom divs --- style.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/style.css b/style.css index 62f2d7e97..b3cc8324c 100644 --- a/style.css +++ b/style.css @@ -33,4 +33,11 @@ figcaption { display: block; margin: auto; text-align: center; +} + +#details div { + float: left; + background: rgb(224, 167, 167); + text-align: center; + width: 25%; } \ No newline at end of file