Skip to content

Open-source skills for designing and reviewing software with AI agents

Refine skill catalog spacing and tablet layout

n3wth2e8fa5ea5f4a
diff --git a/site/screenshots/full-dark.png b/site/screenshots/full-dark.png
index 5ac0e34..e102d77 100644
Binary files a/site/screenshots/full-dark.png and b/site/screenshots/full-dark.png differ
diff --git a/site/screenshots/full-light.png b/site/screenshots/full-light.png
index 3d7d07f..744fa29 100644
Binary files a/site/screenshots/full-light.png and b/site/screenshots/full-light.png differ
diff --git a/site/screenshots/mobile-dark.png b/site/screenshots/mobile-dark.png
index 536454d..51c625e 100644
Binary files a/site/screenshots/mobile-dark.png and b/site/screenshots/mobile-dark.png differ
diff --git a/site/screenshots/mobile.png b/site/screenshots/mobile.png
index 6f14bf4..c86e4ec 100644
Binary files a/site/screenshots/mobile.png and b/site/screenshots/mobile.png differ
diff --git a/site/src/components/Model.astro b/site/src/components/Model.astro
index a67a42f..8f1c2e8 100644
--- a/site/src/components/Model.astro
+++ b/site/src/components/Model.astro
@@ -74,7 +74,7 @@ const essay =
padding-block-start: clamp(32px, 5vw, 48px);
}
- @media (max-width: 820px) {
+ @media (max-width: 640px) {
.pair,
.human {
grid-template-columns: 1fr;
diff --git a/site/src/components/Skills.astro b/site/src/components/Skills.astro
index 76ddf64..df2939e 100644
--- a/site/src/components/Skills.astro
+++ b/site/src/components/Skills.astro
@@ -82,11 +82,6 @@ const skills = [
</span>
<span class="list-item-supporting-text">{skill.body}</span>
</span>
- <span class="list-item-trailing">
- <svg viewBox="0 -960 960 960" aria-hidden="true">
- <path d="m216-160-56-56 464-464H360v-80h400v400h-80v-264L216-160Z" />
- </svg>
- </span>
</a>
</li>
))
@@ -105,12 +100,11 @@ const skills = [
text-decoration: none;
--container-shape: var(--md-sys-shape-corner-md);
--label-text: var(--md-sys-typescale-title-lg);
- --top-space: 22px;
- --bottom-space: 24px;
+ --top-space: 14px;
+ --bottom-space: 16px;
--leading-space: 8px;
--trailing-space: 8px;
- --between-space: 24px;
- --trailing-icon-size: 22px;
+ --between-space: 16px;
align-items: center;
/* Keep the first and last rows' hover corners consistent with the middle rows. */
border-radius: var(--container-shape);
@@ -129,20 +123,16 @@ const skills = [
}
.skill-heading {
- display: flex;
+ display: grid;
+ grid-template-columns: 8.5rem minmax(0, 1fr);
align-items: baseline;
- flex-wrap: wrap;
gap: 4px 12px;
}
- .skills .list-item-trailing {
- align-self: center;
- }
-
.skills .list-item-supporting-text {
max-inline-size: 56ch;
margin-block-start: 2px;
- text-wrap: balance;
+ text-wrap: pretty;
}
.cmd {
@@ -151,11 +141,14 @@ const skills = [
color: var(--md-sys-color-on-surface-variant);
}
- @media (max-width: 760px) {
+ @media (max-width: 560px) {
+ .skill-heading {
+ grid-template-columns: 1fr;
+ row-gap: 0;
+ }
+
.skills .list-item {
- --between-space: 16px;
- --top-space: 18px;
- --bottom-space: 20px;
+ align-items: flex-start;
}
}
</style>