diff --git a/cms/static/sass/_course-info.scss b/cms/static/sass/_course-info.scss index 2ec22ebfea..f36172c4df 100644 --- a/cms/static/sass/_course-info.scss +++ b/cms/static/sass/_course-info.scss @@ -88,6 +88,40 @@ background: #f6f6f6; padding: 20px; } + + ol, ul { + margin: 1em 0; + padding: 0 0 0 1em; + color: $baseFontColor; + + li { + margin-bottom: 0.708em; + } + } + + ol { + list-style: decimal outside none; + } + + ul { + list-style: disc outside none; + } + + pre { + margin: 1em 0; + color: $baseFontColor; + font-family: monospace, serif; + font-size: 1em; + white-space: pre-wrap; + word-wrap: break-word; + } + + code { + color: $baseFontColor; + font-family: monospace, serif; + background: none; + padding: 0; + } } .new-update-button { diff --git a/lms/static/sass/course/_info.scss b/lms/static/sass/course/_info.scss index 20e75dbe0d..bfd90505cf 100644 --- a/lms/static/sass/course/_info.scss +++ b/lms/static/sass/course/_info.scss @@ -65,6 +65,11 @@ div.info-wrapper { list-style-type: disc; } + > ol { + list-style: decimal outside none; + padding: 0 0 0 1em; + } + li { margin-bottom: lh(.5); }