Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"version": "2.0.0",
"type": "module",
"description": "Personal website running on Astro and Node.js.",
"original-author": "Tania Rascia",
"author": "Aravind Putrevu",
"license": "MIT",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/astro/Nav.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<a href="/blog">Writing</a>
<a href="/archive">Archive</a>
<a href="/about">About</a>
<button id="dark-mode-button" aria-label="Toggle dark mode">●</button>
<button id="dark-mode-button" aria-label="Toggle dark mode" title="Toggle dark mode">●</button>
</div>
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
import '../style.css';
import '../new-moon.css';
import Nav from '../components/astro/Nav.astro';
import Footer from '../components/astro/Footer.astro';

Expand Down
312 changes: 0 additions & 312 deletions src/new-moon.css

This file was deleted.

8 changes: 7 additions & 1 deletion src/pages/[...slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const description = entry.data.title;
{'tags' in entry.data && entry.data.tags && (
<div class="tags">
{entry.data.tags.map((tag: string) => (
<span class="tag">{tag}</span>
<a href={`/tags/${tag.toLowerCase()}`} class="tag">{tag}</a>
))}
</div>
)}
Expand Down Expand Up @@ -82,6 +82,12 @@ const description = entry.data.title;
padding: 0.25rem 0.75rem;
border-radius: 3px;
font-size: 0.85rem;
text-decoration: none;
}

.tag:hover {
background: var(--lighter-background, var(--light-background));
opacity: 0.8;
}

.post-content {
Expand Down
Loading