From 4067148658cccd0c55aec7f24a1f0d9fc7d27afd Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Wed, 17 Apr 2024 09:32:19 -0700 Subject: [PATCH] fix: spacing --- package.json | 2 +- src/assets/styles/base/index.css | 10 ++++++++++ src/assets/styles/index.css | 1 - src/assets/styles/pages/links.css | 9 --------- src/links.html | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 src/assets/styles/pages/links.css diff --git a/package.json b/package.json index fd9993a9..cd8196bb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "11.4.15", + "version": "11.4.16", "description": "The source for my personal site. Built using 11ty.", "type": "module", "scripts": { diff --git a/src/assets/styles/base/index.css b/src/assets/styles/base/index.css index 456b341a..93f58f26 100644 --- a/src/assets/styles/base/index.css +++ b/src/assets/styles/base/index.css @@ -414,6 +414,16 @@ li { margin-bottom: 0; } } + + &.reduced-spacing { + margin-top: 0; + margin-bottom: var(--sizing-3xl); + padding-left: 0; + + & li:first-of-type { + margin-top: 0; + } + } } .link-list-header { diff --git a/src/assets/styles/index.css b/src/assets/styles/index.css index 41073bdb..dcf06c36 100644 --- a/src/assets/styles/index.css +++ b/src/assets/styles/index.css @@ -19,7 +19,6 @@ @import url('./pages/about.css') layer(page); @import url('./pages/blogroll.css') layer(page); @import url('./pages/contact.css') layer(page); -@import url('./pages/links.css') layer(page); @import url('./pages/now.css') layer(page); @import url('./pages/post.css') layer(page); @import url('./pages/webrings.css') layer(page); diff --git a/src/assets/styles/pages/links.css b/src/assets/styles/pages/links.css deleted file mode 100644 index f1e6c714..00000000 --- a/src/assets/styles/pages/links.css +++ /dev/null @@ -1,9 +0,0 @@ -.default-wrapper > .link-list { - margin-top: 0; - margin-bottom: var(--sizing-3xl); - padding-left: 0; - - & li:first-of-type { - margin-top: 0; - } -} \ No newline at end of file diff --git a/src/links.html b/src/links.html index 37f810b5..ef2ecb4a 100644 --- a/src/links.html +++ b/src/links.html @@ -5,7 +5,7 @@ pagination: data: links size: 30 --- -