Commit 7545d6167a

7545d6167a95c1601baa7718313c1e2f96b34411

parent: 1ff252b61a

Verified · cmc

cmc <hello@cleberg.net> · 2026-04-06 18:07 UTC

realign homepage and fix post-list CSS

Layout: unified · split

theme/static/styles.css +1 −1
@@ -3,7 +3,7 @@ a, a:visited { color: #0000ff; }
3nav ul { list-style: none; padding: 0; display: flex; flex-direction: row; } 3nav ul { list-style: none; padding: 0; display: flex; flex-direction: row; }
4nav ul li { padding-right: 0.5rem;} 4nav ul li { padding-right: 0.5rem;}
5img { max-width: 100%; } 5img { max-width: 100%; }
6.post-list { padding: 0; } 6.post-list { padding: 0; padding-inline-start: 0; }
7.post-list-item { display: flex; list-style: none; align-items: baseline; } 7.post-list-item { display: flex; list-style: none; align-items: baseline; }
8.post-list-item time { padding-right: 0.5rem; white-space: nowrap; } 8.post-list-item time { padding-right: 0.5rem; white-space: nowrap; }
9.post-list-item a { flex-grow: 1; white-space: normal; } 9.post-list-item a { flex-grow: 1; white-space: normal; }
theme/templates/index.html +10 −8
@@ -6,6 +6,14 @@
6 <p><a href="/uses">Uses</a> &middot; <a href="/now">Now</a></p> 6 <p><a href="/uses">Uses</a> &middot; <a href="/now">Now</a></p>
7</section> 7</section>
8 8
9<section>
10 <h2>Recent Posts</h2>
11 <ul>
12 <!-- BEGIN_POSTS --><!-- END_POSTS -->
13 </ul>
14 <p><a href="/blog/">All Posts &rarr;</a></p>
15</section>
16
9<section> 17<section>
10 <h2>Projects</h2> 18 <h2>Projects</h2>
11 <p>Things I've built.</p> 19 <p>Things I've built.</p>
@@ -14,13 +22,7 @@
14 <li><a href="https://sr.ht/~ccleberg/Rune/">Rune</a>: iOS client for Njalla</li> 22 <li><a href="https://sr.ht/~ccleberg/Rune/">Rune</a>: iOS client for Njalla</li>
15 <li><a href="https://github.com/audit-labs/audit-tools">Audit Tools</a>: Automated scripts for auditors</li> 23 <li><a href="https://github.com/audit-labs/audit-tools">Audit Tools</a>: Automated scripts for auditors</li>
16 </ul> 24 </ul>
17 <p><i>Find my SourceHut and GitHub profile links below.</i></p> 25 <p><i>Find my SourceHut and GitHub profile links below for more projects.</i></p>
18</section>
19
20<section>
21 <h2>Recent Posts</h2>
22 <!-- BEGIN_POSTS --><!-- END_POSTS -->
23 <p><a href="/blog/">All Posts &rarr;</a></p>
24</section> 26</section>
25 27
26<section> 28<section>
@@ -29,7 +31,7 @@
29 <li>Sourcehut (primary): <a href="https://sr.ht/~ccleberg">~ccleberg</a></li> 31 <li>Sourcehut (primary): <a href="https://sr.ht/~ccleberg">~ccleberg</a></li>
30 <li>GitHub (backup): <a href="https://github.com/ccleberg">@ccleberg</a></li> 32 <li>GitHub (backup): <a href="https://github.com/ccleberg">@ccleberg</a></li>
31 <li>Email: <a href="mailto:hello@cleberg.net">hello@cleberg.net</a> (<a href="/gpg.txt">GPG</a>)</li> 33 <li>Email: <a href="mailto:hello@cleberg.net">hello@cleberg.net</a> (<a href="/gpg.txt">GPG</a>)</li>
32 <li>Signal: <span>@cmc.01</span></li> 34 <li>Signal: <a href="https://signal.me/#eu/JYao4TQ7pIOaSk4HwMiaPRP47la4DlKaGnjklHzHJWldg31wG0JDSJYqLjVx9Hou">@cmc.01</a></li>
33 </ul> 35 </ul>
34</section> 36</section>
35{% endblock %} 37{% endblock %}