Click to toggle on moble, remove clickable projects

This commit is contained in:
Ian Keane 2026-08-26 17:37:52 -04:00
parent e4a124dfe0
commit 537e279780
3 changed files with 20 additions and 18 deletions

View file

@ -159,7 +159,8 @@ a { color: var(--accent); text-decoration: none; }
transition: background 0.18s, border-left-color 0.18s;
}
.project-card:has(.project-details li):hover {
.project-card:has(.project-details li):hover,
.project-card:has(.project-details li).open {
background: var(--bg-hover);
border-left-color: var(--accent);
}
@ -188,7 +189,8 @@ a { color: var(--accent); text-decoration: none; }
opacity: 0;
transition: max-height 0.28s ease, opacity 0.22s ease;
}
.project-card:hover .project-details {
.project-card:hover .project-details,
.project-card.open .project-details {
max-height: 500px;
opacity: 1;
}
@ -239,7 +241,8 @@ a { color: var(--accent); text-decoration: none; }
opacity: 0;
transition: max-height 0.28s ease, opacity 0.22s ease;
}
.education-card:hover .edu-extras {
.education-card:hover .edu-extras,
.education-card.open .edu-extras {
max-height: 400px;
opacity: 1;
margin-top: 4px;