Tweaks to project index

This commit is contained in:
Ben Visness 2024-07-05 12:47:55 -05:00
parent ab545c1caf
commit ffcaf6c463
3 changed files with 12 additions and 3 deletions

View File

@ -8551,11 +8551,16 @@ span.icon-rss::before {
border-radius: 5px;
}
.project-card-logo {
--image-size: 8rem;
--image-size: 5rem;
width: var(--image-size);
height: var(--image-size);
object-fit: cover;
}
@media screen and (min-width: 35em) {
.project-card-logo {
--image-size: 8rem;
}
}
.project-header-img {
width: 100%;
height: var(--height-5);

View File

@ -66,11 +66,15 @@
}
.project-card-logo {
--image-size: 8rem;
--image-size: 5rem;
width: var(--image-size);
height: var(--image-size);
object-fit: cover;
@media screen and (min-width: 35em) {
--image-size: 8rem;
}
}
.project-header-img {

View File

@ -2,7 +2,7 @@
{{ define "content" }}
<div class="flex justify-center">
<div class="pv3 mw-site flex flex-column g3">
<div class="pv3 ph3 ph0-ns mw-site flex flex-column g3">
<h2 class="f3">Featured Projects</h2>
<div class="post-content">
<p>Inspired by Handmade Hero, the Handmade Network community has produced a wide variety of fantastic projects, including apps, debuggers, editors, libraries, and even programming languages.</p>