aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-05-29 17:06:45 -0400
committerAndrew Manning <tamanning@zoho.com>2016-05-29 17:06:45 -0400
commit3e6af5c87692b5dbefd59d7b2350670d4e1cb3a4 (patch)
tree62ea2191cfe5ff4aeed55211a82dae3de0859eac /view/theme
parent75b169f391d7d6a5c140e74603e87897b39e8344 (diff)
downloadvolse-hubzilla-3e6af5c87692b5dbefd59d7b2350670d4e1cb3a4.tar.gz
volse-hubzilla-3e6af5c87692b5dbefd59d7b2350670d4e1cb3a4.tar.bz2
volse-hubzilla-3e6af5c87692b5dbefd59d7b2350670d4e1cb3a4.zip
Hacked Parsedown and Markdown to add class inline-code to <code> blocks for proper inline code rendering. Stopped using Parsedown even though Markdown is slower, hence extra delay when previewing pages.
Diffstat (limited to 'view/theme')
-rw-r--r--view/theme/redbasic/css/style.css9
1 files changed, 9 insertions, 0 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 1c2e8cdb2..ae712e3d4 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -120,6 +120,15 @@ code {
color: #000;
}
+.inline-code {
+ font-size: 1em;
+ padding: 0;
+ border: 0;
+ background: #FFF;
+ display: inline;
+ color: #000;
+}
+
pre {
background: #F5F5F5;
color: #333;