fix: links no longer have underline, and fixed cursor on project title/links

This commit is contained in:
Codetrauma
2025-05-27 18:48:29 +02:00
parent c94f26b75f
commit 318d0fd095
4 changed files with 5 additions and 5 deletions

View File

@@ -37,7 +37,7 @@ const ProjectCard: React.FC<ProjectCardProps> = ({
{(links.website || links.github || links.discord) && (
<div className={styles.cardFooter}>
{links.github && (
<a aria-label="GitHub" href={links.github} rel="noopener noreferrer" target="_blank">
<a aria-label="GitHub" className={styles.cardFooterLink} href={links.github} rel="noopener noreferrer" target="_blank">
<IconGithub />
</a>
)}

View File

@@ -46,6 +46,7 @@
font-size: 24px;
line-height: 33px;
margin-bottom: 1rem;
cursor: default;
}
.cardDescription {
@@ -62,6 +63,7 @@
.cardFooter a {
color: inherit;
text-decoration: none;
cursor: pointer;
}
.cardFooter svg {

View File

@@ -31,7 +31,7 @@
.blogCard:hover {
transform: translateY(-5px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
text-decoration: none; /* Ensure no underline on hover */
text-decoration: none;
}
.blogTitle,
@@ -40,7 +40,7 @@
.blogAuthors,
.blogExcerpt,
.blogReadMoreButton {
text-decoration: none; /* Remove underline from text elements */
text-decoration: none;
}
.blogTitle {

View File

@@ -25,7 +25,6 @@
/* Brighter link colors for light mode */
--ifm-link-color: #0056B3;
--ifm-link-hover-color: #003D80;
--ifm-link-decoration: underline;
}
/* Dark mode */
[data-theme='dark'] {
@@ -90,7 +89,6 @@
/* Additional dark mode overrides */
[data-theme='dark'] {
/* Ensure text is readable in dark mode */
color: var(--ifm-color-content);
}