diff --git a/lms/static/sass/course/wiki/_wiki.scss b/lms/static/sass/course/wiki/_wiki.scss index ead58bf6a6..912b416ff6 100644 --- a/lms/static/sass/course/wiki/_wiki.scss +++ b/lms/static/sass/course/wiki/_wiki.scss @@ -567,29 +567,79 @@ section.wiki { background: #f00 !important; } + .cheatsheet { + float: right; + position: relative; + top: -26px; + font-size: 12px; + } + #cheatsheetLink { - text-align:right; - display: float; + text-align: right; + display: float; } #cheatsheetModal { - width: 350px; - margin-left: 100px; - margin-top: -100px; - } + width: 950px; + margin-left: -450px; + margin-top: -100px; + + .left-column { + margin-right: 10px; + } + + .left-column, + .right-column { + float: left; + width: 450px; + } + + .close-btn { + display: block; + position: absolute; + top: -8px; + right: -8px; + width: 30px; + height: 30px; + border-radius: 30px; + border: 1px solid #ccc; + @include linear-gradient(top, #eee, #d2d2d2); + font-size: 22px; + line-height: 28px; + color: #333; + text-align: center; + @include box-shadow(0 1px 0 #fff inset, 0 1px 2px rgba(0, 0, 0, .2)); + } + } #cheatsheet-body { - background: #FFF; - text-align: left; - padding: 10px; + background: #fff; + text-align: left; + padding: 20px; + font-size: 14px; + @include clearfix; + + h3 { + font-weight: bold; + } + + ul { + list-style: circle; + line-height: 1.4; + color: #333; + } + } + + #cheatsheet-body section + section { + margin-top: 40px; } #cheatsheet-body pre{ - color: #000; - text-align: left; - background: #EEE; - margin:10px; - padding: 10px; + color: #000; + text-align: left; + background: #eee; + padding: 10px; + font-size: 12px; } /*----------------- diff --git a/lms/templates/wiki/base.html b/lms/templates/wiki/base.html index a346be0e3e..5c7381ac05 100644 --- a/lms/templates/wiki/base.html +++ b/lms/templates/wiki/base.html @@ -42,9 +42,12 @@ diff --git a/lms/templates/wiki/includes/cheatsheet.html b/lms/templates/wiki/includes/cheatsheet.html index d58920b814..429c1ea22e 100644 --- a/lms/templates/wiki/includes/cheatsheet.html +++ b/lms/templates/wiki/includes/cheatsheet.html @@ -1,53 +1,56 @@ - + + + +