fix: place cv li elements inside ul

This commit is contained in:
Troy 2025-03-02 23:03:46 +00:00
parent 4ef95c8cf8
commit b6ea5bea05
Signed by: troy
GPG key ID: DFC06C02ED3B4711
3 changed files with 4 additions and 29 deletions

View file

@ -30,7 +30,4 @@ export default defineConfig({
}, },
}, },
}, },
experimental: {
responsiveImages: true,
},
}); });

View file

@ -268,7 +268,7 @@ const sortedEducation = [...education].sort((a, b) => a.id - b.id);
<section <section
class="animate-reveal flex min-h-0 flex-col gap-y-3 opacity-0 [animation-delay:0.4s]" class="animate-reveal flex min-h-0 flex-col gap-y-3 opacity-0 [animation-delay:0.4s]"
> >
<h2 class="text-xl font-bold">Skills & Tools</h2><div <h2 class="text-xl font-bold">Skills & Tools</h2><ul
class="flex flex-wrap gap-1" class="flex flex-wrap gap-1"
> >
{ {
@ -278,18 +278,18 @@ const sortedEducation = [...education].sort((a, b) => a.id - b.id);
</li> </li>
)) ))
} }
</div> </ul>
</section> </section>
<section <section
class="animate-reveal flex min-h-0 scroll-mb-16 flex-col gap-y-3 opacity-0 [animation-delay:0.5s]" class="animate-reveal flex min-h-0 scroll-mb-16 flex-col gap-y-3 opacity-0 [animation-delay:0.5s]"
> >
<h2 class="text-xl font-bold">Projects</h2> <h2 class="text-xl font-bold">Projects</h2>
<ol <ol
class="-mx-3 grid grid-cols-1 gap-3 md:grid-cols-2 lg:grid-cols-3 print:grid-cols-3 print:gap-2" class="grid grid-cols-1 gap-3 md:grid-cols-2 lg:grid-cols-3 print:grid-cols-3 print:gap-2"
> >
{ {
sortedProjects.map((project) => ( sortedProjects.map((project) => (
<li class="flex flex-col overflow-hidden rounded-lg p-3"> <li class="flex flex-col overflow-hidden">
<div class="flex flex-col space-y-1.5"> <div class="flex flex-col space-y-1.5">
<div class="space-y-1"> <div class="space-y-1">
<> <>

View file

@ -56,25 +56,3 @@
text-decoration: var(--shiki-dark-text-decoration) !important; text-decoration: var(--shiki-dark-text-decoration) !important;
} }
} }
@utility container {
margin-inline: auto;
padding-inline: 2rem;
margin-inline: auto;
}
@media print {
body {
background: none;
color: black;
}
header,
footer,
main {
max-width: unset !important;
}
header,
footer {
display: none;
}
}