diff --git a/index.html b/index.html index cadcf29..8a958c0 100644 --- a/index.html +++ b/index.html @@ -1,31 +1,31 @@ - - One cat per day! - - - - - - - - -
- -
-
- - A picture of a cat -
- - - \ No newline at end of file + + One cat per day! + + + + + + + + +
+ +
+
+ + A picture of a cat +
+ + + \ No newline at end of file diff --git a/style.css b/style.css index 167035a..f5c0a58 100644 --- a/style.css +++ b/style.css @@ -3,10 +3,6 @@ padding: 0; } -body { - overflow: hidden; -} - nav { padding: 1em; display: flex; @@ -14,8 +10,8 @@ nav { } header { - height: 15%; width: auto; + margin: auto 0; } header, footer { @@ -61,12 +57,12 @@ main { background-color:#9a6db6; display: flex; justify-content: center; - height: 70%; + margin: auto 0; width: auto; } .cat-img { - height: auto; + height: 510px; width: auto; border-radius: 10px; border: 5px solid #6d5a8c; @@ -74,7 +70,7 @@ main { footer { width: auto; - height: 15%; + margin: auto 0; } footer p {