Minor footer styling

This commit is contained in:
Cassidy Williams
2024-02-29 23:58:31 -06:00
parent de4eb89d17
commit 2396305f27
3 changed files with 10 additions and 1 deletions

View File

@@ -9,5 +9,6 @@ const today = new Date();
footer { footer {
padding: 25px; padding: 25px;
text-align: center; text-align: center;
font-size: 0.8rem;
} }
</style> </style>

View File

@@ -2,7 +2,7 @@
const { tags, all } = Astro.props; const { tags, all } = Astro.props;
--- ---
{all && <h3>View posts by tag</h3>} {all && <h3 class="tag-title">View posts by tag</h3>}
<div class=`${all && "tags"}`> <div class=`${all && "tags"}`>
{ {
tags && tags &&

View File

@@ -58,6 +58,11 @@ body.dark-mode nav {
background: var(--transblack); background: var(--transblack);
} }
.tag-title {
font-weight: 400;
color: var(--black);
}
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
::selection { ::selection {
background-color: #0f0f0f; background-color: #0f0f0f;
@@ -90,6 +95,9 @@ body.dark-mode nav {
body .tag { body .tag {
color: var(--gray); color: var(--gray);
} }
.tag-title {
color: var(--white);
}
} }
h2, h2,