Commit 565d74d03e

565d74d03e5635f700fcc464afc79c1192402a8e

parent: a6ee2e0ca7

Verified · cmc

cmc <hello@cleberg.net> · 2026-08-12 01:49 UTC

Give tables a border and cells some padding

Collapsed 1px borders on the table and its cells, so a shared edge draws
one line rather than two, and enough padding that text is not flush
against it. Headers align left with the rest of the column.

The dark scheme dials the border back to #444; #ccc against the near-black
background was louder than the borders around it.

Layout: unified · split

theme/static/styles.css +4
@@ -9,6 +9,9 @@ img { max-width: 100%; }
99.post-list-item a { flex-grow: 1; white-space: normal; }
1010.post-list-year { list-style: none; margin-top: 1rem; margin-bottom: 0.5rem; font-weight: bold; }
1111.skip-link { display: none; }
12table { border-collapse: collapse; }
13table, th, td { border: 1px solid #ccc; }
14th, td { padding: 0.25rem 0.5rem; text-align: left; }
1215footer { margin: 2rem 0;}
1316pre, blockquote { margin: 1rem 0; padding: 0.5rem; background-color: #eee; }
1417pre { overflow: auto; white-space: pre; }
@@ -20,4 +23,5 @@ code { color: #942192; }
2023 a, a:visited { color: #68A9F8; }
2124 code { color: #ff68e1; }
2225 pre, blockquote { background-color: black; }
26 table, th, td { border-color: #444; }
2327}