From 61de4c028a7fc8c1ca2e6c04d02b5277d31ab9d3 Mon Sep 17 00:00:00 2001 From: Brian Talbot Date: Fri, 1 Feb 2013 09:41:51 -0500 Subject: [PATCH] temporary style sync up for course info lists - more work needs to be done once xmodule renders this HTML (in Studio backlog) --- cms/static/sass/_course-info.scss | 34 +++++++++++++++++++++++++++++++ lms/static/sass/course/_info.scss | 5 +++++ 2 files changed, 39 insertions(+) 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); }