Mercurial Hosting > luan
diff website/src/site.css @ 1926:4206242c7a13
better css
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 23 Apr 2025 15:34:48 -0600 |
parents | f44dcb3fedf7 |
children | 12957bc6fa07 |
line wrap: on
line diff
--- a/website/src/site.css Mon Apr 21 13:06:14 2025 -0600 +++ b/website/src/site.css Wed Apr 23 15:34:48 2025 -0600 @@ -76,16 +76,12 @@ } code { - font-size: 16px; - font-weight: bold; + background-color: #DDD; + white-space: pre-wrap; + word-wrap: break-word; + padding: 2px; } code[block] { - font-size: initial; - font-weight: initial; - background-color: #DDD; - padding: 2px; - white-space: pre-wrap; - word-wrap: break-word; display: block; padding: 1em; margin-top: 1em; @@ -94,3 +90,6 @@ code[block]:first-line { line-height: 0; } +code[block]:first-line { + line-height: 0; +}