diff --git a/index.php b/index.php index 58e2baa..4afae39 100644 --- a/index.php +++ b/index.php @@ -34,9 +34,9 @@ -

Baxter facts!

+

Baxter facts!

Baxter is:

-

My favorite photos of Baxter

+

My favorite photos of Baxter

My cat Baxter laying on my chest over a blanket in bed looking at the camera. The many details and patterns of his mackeral tabby fur pattern are fully visible diff --git a/site-resources/assets/bg.png b/site-resources/assets/bg.png new file mode 100644 index 0000000..aef7147 Binary files /dev/null and b/site-resources/assets/bg.png differ diff --git a/style/style.css b/style/style.css index 6a9fb4a..08895dc 100644 --- a/style/style.css +++ b/style/style.css @@ -1,3 +1,8 @@ +:root { + --section-color: #fccce4bb; + --border-color: #f6da92; +} + *, *::before, *::after { margin: 0; padding: 0; @@ -9,6 +14,8 @@ html { } body { + background-image: url("../site-resources/assets/bg.png"); + background-attachment: fixed; display: flex; flex-direction: column; align-items: center; @@ -67,9 +74,15 @@ main { .favorite-baxter-photos { display: grid; - grid-template-rows: 25rem 25rem; + grid-template-rows: 5rem 25rem 25rem; grid-template-columns: 20rem 20rem; justify-items: center; + justify-content: center; +} + +.favorite-baxter-photos h3 { + grid-row: 1/2; + grid-column: 1/3; } .favorite-baxter-photos figure { @@ -85,3 +98,10 @@ main { object-fit: fill; } +section { + background-color: var(--section-color); + padding: 1.25rem; + border: 2px solid var(--border-color); + border-radius: 15px; + width: 50rem; +}