From 0ca56186b85a561dc466728868c183dd9bddaf5e Mon Sep 17 00:00:00 2001 From: zepp Date: Thu, 2 Jan 2025 00:33:17 -0500 Subject: [PATCH] styling in regards to appearance. background colors and image --- index.php | 4 ++-- site-resources/assets/bg.png | Bin 0 -> 2275 bytes style/style.css | 22 +++++++++++++++++++++- 3 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 site-resources/assets/bg.png 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:

    @@ -75,9 +75,9 @@
-

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 0000000000000000000000000000000000000000..aef714708abda99df6e136f9f02d1f39d1ed11d1 GIT binary patch literal 2275 zcmV<92pso`P) zKWyDZ9LFzFwulaa4*Y3Cgb+!UIhA09X2?*)@B$K%G9U&j6fvMo5d`Q|F+dfGi6K&v zAa4K$A`x0PklGoQAcR6wiYgTt0&Ga(cmCPud*`#Ceg4^ZzIPv4mY;ojx#zEczx(Uo zjh)>4oB7M$XCJ_RVSaJ?*`=Y0kFM|k@Z(K5Sbp)1y8rmMKjVYP9<2LSbd32eHY=yM zkeSgcjX0yX|6;R5Z(#ZLP0iKqOYv1RnX^Xhs@UVUGtdU8qE=~<05*6g#A8twSyx44 z_n5GqfkA8(b>QJs(|_(|IIio-A@c?1ZqLwNvh3!qM0jlZSd`_Ubmec%Qx4AKhPdGX z>{)i}PkOBG!QtMuPlT>mHH$rbbgA<93OmLh;%b4-tX0socckIlRI)s-<-@gBoBef` zo&cA`W`#9dmrO)Yfq&MP;;mz^=~d=Qci1JW3@wQr$h^HWyE{dlH(0HWi~4HTEac}P zK!gKLuRI4BY@Hh0-KAY9>dI1FL302HEZZA|qDqg78%i^^g7)bRzJKXldJ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)002ovPDHLkV1lI literal 0 HcmV?d00001 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; +}