From a979a2726882edb14d8f1d2b8f927d4f86caeba4 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sun, 7 Apr 2024 12:15:18 -0700 Subject: [PATCH] fix: spacing --- package.json | 2 +- src/assets/styles/components/media-grid.css | 6 +- src/assets/styles/components/pagefind.css | 115 -------------------- 3 files changed, 6 insertions(+), 117 deletions(-) delete mode 100644 src/assets/styles/components/pagefind.css diff --git a/package.json b/package.json index 5257137f..f2bc985b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "9.8.1", + "version": "9.8.2", "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 5bfec5eb..092f08d5 100644 --- a/src/assets/styles/components/media-grid.css +++ b/src/assets/styles/components/media-grid.css @@ -19,7 +19,7 @@ } .now__section--header-buttons > button { - margin-bottom: 0 !important; + margin-bottom: var(--sizing-sm) !important; } .now__section--header-buttons > button:last-of-type { @@ -120,4 +120,8 @@ .now__section--header-buttons { margin: var(--sizing-3xl) 0 var(--sizing-lg); } + + .now__section--header-buttons > button { + margin-bottom: 0 !important; + } } \ No newline at end of file diff --git a/src/assets/styles/components/pagefind.css b/src/assets/styles/components/pagefind.css deleted file mode 100644 index ee1c7ebc..00000000 --- a/src/assets/styles/components/pagefind.css +++ /dev/null @@ -1,115 +0,0 @@ -.pagefind-ui { - margin-bottom: var(--sizing-base); - --pagefind-ui-primary: var(--accent-color); - --pagefind-ui-text: var(--text-color); - --pagefind-ui-background: var(--color-lightest); - --pagefind-ui-border: var(--gray-light); - --pagefind-ui-tag: var(--gray-light); - --pagefind-ui-border-width: 1px; - --pagefind-ui-border-radius: 0; - --pagefind-ui-image-border-radius: 0; - --pagefind-ui-image-box-ratio: 3 / 2; - --pagefind-ui-font: var(--font-sans); -} - -.pagefind-ui, -.pagefind-ui__filter-name, -.pagefind-ui__filter-label, -.pagefind-ui__result-excerpt, -.pagefind-ui__message, -.pagefind-ui__button { - font-size: var(--font-size-base) !important; -} - -.pagefind-ui__result-excerpt { - word-break: break-word !important; -} - -.pagefind-ui__form:before { - opacity: 1 !important; - top: calc(19px * var(--pagefind-ui-scale)) !important; -} - -.pagefind-ui__result-title { - color: var(--accent-color); - font-size: var(--font-size-2xl); - line-height: var(--line-height-2xl); - font-weight: var(--font-weight-bold); - margin: 0; - transition-property: color; - transition-timing-function: var(--transition-ease-in-out); - transition-duration: var(--transition-duration-default); -} - -.pagefind-ui__result-title:hover, -.pagefind-ui__result-title:focus, -.pagefind-ui__result-title:active { - color: var(--accent-color-hover); -} - -.pagefind-ui__results-area { - margin-bottom: var(--sizing-base); -} - -:is(input[type="text"], input[type="search"]).pagefind-ui__search-input { - padding-left: 2.375rem !important; - padding-top: 0 !important; - padding-bottom: 0 !important; - height: 42px !important; -} - -.pagefind-ui__search-clear { - color: var(--text-color); - background-color: transparent !important; -} - -.pagefind-ui__search-clear:hover, -.pagefind-ui__search-clear:focus, -.pagefind-ui__search-clear:active { - color: var(--accent-color-hover) !important; -} - -.pagefind-ui__result-title { - margin-bottom: var(--sizing-xs) !important; -} - -.pagefind-ui__result-link { - font-size: var(--font-size-2xl) !important; - color: var(--accent-color) !important; -} - -.pagefind-ui__result-link:hover, -.pagefind-ui__result-link:focus, -.pagefind-ui__result-link:active { - color: var(--accent-color-hover) !important; -} - -.pagefind-ui__button { - color: var(--color-lightest) !important; - line-height: var(--line-height-base); - border-radius: var(--rounded-full) !important; - padding: var(--sizing-sm) var(--sizing-lg) !important; - margin: 0 var(--sizing-xs) var(--sizing-md) 0; - cursor: pointer !important; - height: unset !important; - background-color: var(--accent-color) !important; - transition-property: background-color; - transition-timing-function: var(--transition-ease-in-out); - transition-duration: var(--transition-duration-default); -} - -.pagefind-ui__search-clear { - height: calc(48px * var(--pagefind-ui-scale)) !important; -} - -.pagefind-ui__button:hover, -.pagefind-ui__button:active, -.pagefind-ui__button:focus { - color: var(--color-lightest) !important; - background-color: var(--accent-color-hover) !important; -} - -.pagefind__placeholder { - height: 42px !important; - font-weight: var(--font-weight-bold); -} \ No newline at end of file