Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<link rel="preload" href="assets/fonts/space-grotesk-bold.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="assets/fonts/ibm-plex-mono-latin-400-normal.woff2" as="font" type="font/woff2" crossorigin>
<script src="theme.js"></script>
<link rel="stylesheet" href="styles.css?v=3">
<link rel="stylesheet" href="styles.css?v=4">
<script src="stack.js" defer></script>
<script src="tools.js" defer></script>
</head>
Expand Down
6 changes: 4 additions & 2 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,14 @@ h1 { margin: 0; max-width: 11ch; font-size: clamp(44px, 5.4vw, 80px); line-heigh
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
/* Each card spans four rows of the grid, so names, lines and snippets start level across a row. */
.tool { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; min-width: 0; padding: 24px 24px 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); background: var(--background); }
.tool-head { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
/* Only the logo, name and site take the click, not the empty space across the row between them. */
.tool-head { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; pointer-events: none; }
.tool-head > * { pointer-events: auto; }
.tool-head:hover { text-decoration: none; }
.tool-head:hover .tool-name { text-decoration: underline; text-underline-offset: 4px; }
.tool-head img { width: 28px; height: 28px; }
.tool-head img.wide { width: 34px; }
.tool-name { font-family: "Space Grotesk", sans-serif; font-size: 21px; font-weight: 700; }
.tool-name { margin-left: -12px; padding-left: 12px; font-family: "Space Grotesk", sans-serif; font-size: 21px; font-weight: 700; } /* reaches back over the gap to the logo */
.tool-site { margin-left: auto; color: var(--muted); font-size: 13px; }
.tool-head:hover .tool-site { color: var(--blue); }
.tool-what { display: block; margin-top: 12px; color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.45; }
Expand Down