aboutsummaryrefslogtreecommitdiffstats
path: root/view/css
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2018-02-19 11:11:31 +0100
committerGitHub <noreply@github.com>2018-02-19 11:11:31 +0100
commitfac5d81790262c0583d42f442018157066c3bf3f (patch)
treef877f4b3a336f691d0665f5f2e2857cb33cef4f8 /view/css
parentb56633e1d6d36de4a65ef07f9ee64a9e98a79c2b (diff)
parentc444e40c016c0faaec604335093b19661b3585b7 (diff)
downloadvolse-hubzilla-fac5d81790262c0583d42f442018157066c3bf3f.tar.gz
volse-hubzilla-fac5d81790262c0583d42f442018157066c3bf3f.tar.bz2
volse-hubzilla-fac5d81790262c0583d42f442018157066c3bf3f.zip
Merge pull request #981 from anaqreon/dev
Update code tag styling so bbcode [code] blocks and wiki markdown ...
Diffstat (limited to 'view/css')
-rw-r--r--view/css/mod_wiki.css21
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