Added opencourseware box on course about page
This commit is contained in:
BIN
lms/static/images/link-icon.png
Normal file
BIN
lms/static/images/link-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 326 B |
BIN
lms/static/images/opencourseware.png
Normal file
BIN
lms/static/images/opencourseware.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
@@ -335,13 +335,43 @@
|
||||
|
||||
.course-sidebar {
|
||||
@include box-sizing(border-box);
|
||||
@include box-shadow(inset 0 0 3px 0 rgba(0,0,0, 0.15));
|
||||
border: 1px solid rgb(200,200,200);
|
||||
border-top: none;
|
||||
float: left;
|
||||
padding: 16px 20px 30px;
|
||||
width: flex-grid(4);
|
||||
|
||||
> section {
|
||||
@include box-shadow(inset 0 0 3px 0 rgba(0,0,0, 0.15));
|
||||
border: 1px solid rgb(200,200,200);
|
||||
|
||||
&.course-summary {
|
||||
padding: 16px 20px 30px;
|
||||
margin-bottom: 40px;
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
&.additional-resources {
|
||||
padding: 30px;
|
||||
|
||||
.opencourseware {
|
||||
text-indent: -9999px;
|
||||
background: url('../images/opencourseware.png') 0 0 no-repeat;
|
||||
width: 266px;
|
||||
height: 31px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
li {
|
||||
list-style: none;
|
||||
padding-left: 29px;
|
||||
background: url('../images/link-icon.png') left center no-repeat;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
header {
|
||||
margin-bottom: 30px;
|
||||
padding-bottom: 16px;
|
||||
@@ -441,6 +471,13 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
h1 {
|
||||
font: 1em $serif;
|
||||
letter-spacing: 0;
|
||||
color: #999;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.important-dates {
|
||||
|
||||
@@ -151,6 +151,21 @@
|
||||
% endif
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<section class="additional-resources">
|
||||
<header>
|
||||
<h1>Additional Resources</h1>
|
||||
</header>
|
||||
|
||||
<section>
|
||||
<h2 class="opencourseware">MITOpenCourseware</h2>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="#">18.03: Differential Equations</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user