From 5e9974f39132483cf14ac09e928f540d9f44db3d Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Fri, 1 Mar 2024 16:25:04 -0800 Subject: [PATCH] fix: selectors --- package.json | 2 +- src/assets/styles/index.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 59a54f80..2810cb11 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "7.0.9", + "version": "7.0.10", "description": "The source for my personal site. Built using 11ty and hosted on Netlify.", "type": "module", "scripts": { diff --git a/src/assets/styles/index.css b/src/assets/styles/index.css index 49a23b0d..67e84b5e 100644 --- a/src/assets/styles/index.css +++ b/src/assets/styles/index.css @@ -335,7 +335,7 @@ article [rel="author"] { margin-bottom: .25rem; } -article p:first-child { +article p:first-of-type { margin-top: .4rem; } @@ -473,7 +473,7 @@ li { margin: 0 0 .25rem; } - article p:first-child { + article p:first-of-type { margin-top: .75rem; }