diff options
author | Andrew Manning <tamanning@zoho.com> | 2018-02-18 10:09:05 -0500 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2018-02-18 10:09:05 -0500 |
commit | c444e40c016c0faaec604335093b19661b3585b7 (patch) | |
tree | 609e69779bda6a858994ad5418087e9a98e4e476 /view | |
parent | 547ef772ab1bcdf9cff1ad6d0593f3d27bb33d73 (diff) | |
download | volse-hubzilla-c444e40c016c0faaec604335093b19661b3585b7.tar.gz volse-hubzilla-c444e40c016c0faaec604335093b19661b3585b7.tar.bz2 volse-hubzilla-c444e40c016c0faaec604335093b19661b3585b7.zip |
Update code tag styling so bbcode [code] blocks and wiki markdown inline code render nicely.
Diffstat (limited to 'view')
-rw-r--r-- | view/css/mod_wiki.css | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/view/css/mod_wiki.css b/view/css/mod_wiki.css index 4e4c71e1d..e0b02b414 100644 --- a/view/css/mod_wiki.css +++ b/view/css/mod_wiki.css @@ -48,3 +48,24 @@ td i { padding-right: 10px; } +pre code { + background: #F5F5F5; + font-family: Courier, monospace; + font-size: 1em; + padding: 1em 1.5em; + display: block; + white-space: pre-wrap; +} + +code { + background: #F5F5F5; + font-family: Courier, monospace; + font-size: 1em; + display: inline; + padding: 0.2em 0.2em; + white-space: pre-wrap; +} + +#wiki-content-container code { + background: #F5F5F5; +}
\ No newline at end of file |