From b8ca84fb1531f271e9e541fb22c4aa09c6239309 Mon Sep 17 00:00:00 2001 From: Jacob Hilker Date: Wed, 12 Mar 2014 16:15:22 -0400 Subject: [PATCH] add hack to make code blocks look normal, a fix should be made to html2text, but I couldnt find a quick way of doing so --- karmaworld/assets/css/global.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/karmaworld/assets/css/global.css b/karmaworld/assets/css/global.css index 9b90d6a..b277ffb 100644 --- a/karmaworld/assets/css/global.css +++ b/karmaworld/assets/css/global.css @@ -698,6 +698,20 @@ a.activity_target:hover padding-left: 30px; } +/* + * Hack to make the wrongly added code blocks look normal. Html2text should not + * actually make these code blocks, but does when users have whitespace in d + * ocuments. Longterm fix should be in Html2text. + */ +code +{ + font-family: "MuseoSlab-500"; + font-size: 15px; + font-weight: normal; + color: black; +} + + /* GLOBAL FOOTER */ footer#global_footer -- 2.25.1