diff --git a/src/components/PostList.astro b/src/components/PostList.astro index cfadfb1..4635119 100644 --- a/src/components/PostList.astro +++ b/src/components/PostList.astro @@ -79,8 +79,23 @@ const sortedPosts = sortBy(allPosts, (post) => -post.data.date); width: 100%; border-spacing: 6px 16px; + :global(.timestamp) { + font-family: var(--monofont); + color: var(--smaller-text-color); + font-size: 0.75em; + } + + :global(.tags) { + gap: 4px; + display: inline-flex; + + :global(.tag) { + background-color: inherit; + padding: 0; + } + } + td { - // padding-bottom: 10px; line-height: 1; .title { diff --git a/src/styles/home.scss b/src/styles/home.scss index 00e32f2..e69de29 100644 --- a/src/styles/home.scss +++ b/src/styles/home.scss @@ -1,17 +0,0 @@ -.home.postListing { - .timestamp { - font-family: var(--monofont); - color: var(--smaller-text-color); - font-size: 0.75em; - } - - .tags { - gap: 4px; - display: inline-flex; - - .tag { - background-color: inherit; - padding: 0; - } - } -}