Added opencourseware box on course about page

This commit is contained in:
Kyle Fiedler
2012-09-06 14:19:18 -04:00
parent 8312ddf01d
commit bd199ef5c3
4 changed files with 56 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -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 {

View File

@@ -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>