From 19ee91a4d9fd72f01446f36de4e6716f74472504 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Tue, 16 Apr 2024 09:43:53 -0700 Subject: [PATCH] chore: cleanup styles --- package.json | 2 +- src/assets/styles/components/media-grid.css | 4 ++++ src/assets/styles/pages/now.css | 8 -------- src/assets/styles/pages/post.css | 4 ++-- 4 files changed, 7 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 361f7d73..f00d141a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "11.3.8", + "version": "11.3.9", "description": "The source for my personal site. Built using 11ty.", "type": "module", "scripts": { diff --git a/src/assets/styles/components/media-grid.css b/src/assets/styles/components/media-grid.css index 5c83a5df..3e8953b0 100644 --- a/src/assets/styles/components/media-grid.css +++ b/src/assets/styles/components/media-grid.css @@ -7,6 +7,10 @@ margin: var(--sizing-3xl) 0 var(--sizing-lg); } +.default-wrapper > .now-header:first-of-type { + margin-top: 0; +} + .now-header-buttons { margin: 0 0 var(--sizing-lg); diff --git a/src/assets/styles/pages/now.css b/src/assets/styles/pages/now.css index 6a7bceb7..5c823ed9 100644 --- a/src/assets/styles/pages/now.css +++ b/src/assets/styles/pages/now.css @@ -14,14 +14,6 @@ } } -.now-header { - margin: var(--sizing-3xl) 0 var(--sizing-lg); -} - -.default-wrapper > .now-header:first-of-type { - margin-top: 0 !important; -} - .link-list { margin-top: 0; } diff --git a/src/assets/styles/pages/post.css b/src/assets/styles/pages/post.css index 487f3cad..3a50c459 100644 --- a/src/assets/styles/pages/post.css +++ b/src/assets/styles/pages/post.css @@ -9,8 +9,8 @@ hr.footnotes-sep { } .footnotes-list { - margin-bottom: 0 !important; - padding-left: 0 !important; + margin-bottom: 0; + padding-left: 0; & li:last-child { margin-bottom: 0;