Mercurial Hosting > freedit
diff src/bbcode/bbcode.css @ 49:f225e82b2bf8
add code bbcode
| author | Franklin Schmidt <fschmidt@gmail.com> | 
|---|---|
| date | Thu, 17 Nov 2022 16:46:21 -0700 | 
| parents | 7ef9222474e2 | 
| children | 0d99cec5142c | 
line wrap: on
 line diff
--- a/src/bbcode/bbcode.css Thu Nov 17 00:11:44 2022 -0700 +++ b/src/bbcode/bbcode.css Thu Nov 17 16:46:21 2022 -0700 @@ -34,3 +34,17 @@ div[bbcode] div[buttons] img { height: 24px; } + +div[from_bbcode] { + white-space: pre-wrap; + line-height: 1.4; +} +div[from_bbcode] code { + display: block; + background-color: #EEE; + padding: 7px; +} +div[from_bbcode] code[inline] { + display: initial; + padding: 1px; +}
