From: Jacob Hilker Date: Wed, 12 Mar 2014 20:15:22 +0000 (-0400) Subject: add hack to make code blocks look normal, a fix should be made to html2text, but... X-Git-Tag: release-20150131~148^2~1^2~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b8ca84fb1531f271e9e541fb22c4aa09c6239309;p=oweals%2Fkarmaworld.git 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 --- 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