Mercurial Hosting > luan
diff website/src/site.css @ 1812:f44dcb3fedf7
docs - add code block
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 10 Jun 2024 14:41:48 -0600 |
parents | 2fbca5c84422 |
children | 4206242c7a13 |
line wrap: on
line diff
--- a/website/src/site.css Wed May 15 18:02:28 2024 -0600 +++ b/website/src/site.css Mon Jun 10 14:41:48 2024 -0600 @@ -62,8 +62,8 @@ font-size: 14px; } -h4 code { - font-size: 1.4em; +h4 { + font-size: 1.1em; } div[footer] { @@ -74,3 +74,23 @@ height: 1em; vertical-align: top; } + +code { + font-size: 16px; + font-weight: bold; +} +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; + margin-bottom: 1em; +} +code[block]:first-line { + line-height: 0; +}