diff options
| author | Christian Cleberg <[email protected]> | 2026-03-16 21:13:47 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-03-16 21:13:47 -0500 |
| commit | b0b66ae57045c2a02282ecfeca63d5442b5fea41 (patch) | |
| tree | dcae785221ba2fff37ef7ebf26e5ab29c2ed7cf3 /theme/static/styles.css | |
| parent | b3591bd8b04c6945d7ec51cb64cfc7ad3dc618d1 (diff) | |
| download | cleberg.net-b0b66ae57045c2a02282ecfeca63d5442b5fea41.tar.gz cleberg.net-b0b66ae57045c2a02282ecfeca63d5442b5fea41.tar.bz2 cleberg.net-b0b66ae57045c2a02282ecfeca63d5442b5fea41.zip | |
fix blog post wrapping
Diffstat (limited to 'theme/static/styles.css')
| -rw-r--r-- | theme/static/styles.css | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/theme/static/styles.css b/theme/static/styles.css index 28fa747..74040e6 100644 --- a/theme/static/styles.css +++ b/theme/static/styles.css @@ -3,8 +3,10 @@ a, a:visited { color: #0000ff; } nav ul { list-style: none; padding: 0; display: flex; flex-direction: row; } nav ul li { padding-right: 0.5rem;} img { max-width: 100%; } -.post-list-item { display: flexbox; list-style: none; } -.post-list-item time { padding-right: 0.5rem; } +.post-list { padding: 0; } +.post-list-item { display: flex; list-style: none; align-items: baseline; } +.post-list-item time { padding-right: 0.5rem; white-space: nowrap; } +.post-list-item a { flex-grow: 1; white-space: normal; } .post-list-year { list-style: none; margin-top: 1rem; margin-bottom: 0.5rem; font-weight: bold; } .skip-link { display: none; } footer { margin: 2rem 0;} |
