Commit 31ff5f28 by kimth

Merge pull request #755 from MITx/feature/arjun/188_styling

Some 188-specific styling + default styling for static tabs
parents ae06f13b 015328ed
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
@import "course/textbook"; @import "course/textbook";
@import "course/profile"; @import "course/profile";
@import "course/gradebook"; @import "course/gradebook";
@import "course/tabs";
// instructor // instructor
@import "course/instructor/instructor"; @import "course/instructor/instructor";
......
...@@ -35,7 +35,7 @@ div.syllabus { ...@@ -35,7 +35,7 @@ div.syllabus {
padding: 5px 10px; padding: 5px 10px;
&.day, &.due { &.day, &.due, &.slides {
white-space: nowrap; white-space: nowrap;
} }
......
div.static_tab_wrapper {
padding: 2em 2.5em;
h1 {
@extend .top-header
}
section {
margin: 0px 0px 20px;
}
}
body.cs188 { body.cs188 {
.course-content{ .due_dates {
li {
.project { .assignment {
ul, ol { float: left;
margin-top: 3px; }
list-style: disc; .due_date {
ul, ol { float: right;
margin: 0px; &.next {
} font-weight: bold;
}
} }
}
}
li.past {
.assignment, .due_date {
text-decoration: line-through;
&, a {
color: #999999;
h3, h4 {
font-weight: bold;
a {
color: inherit;
}
} }
a:hover{
h4 { color: #666666;
font-size: 1em;
} }
}
}
li.next {
border-bottom: 2px solid $blue;
.assignment, .due_date {
&, a {
font-weight: bold;
}
}
}
}
p, .code_snippet { .course-staff {
margin-bottom: 1.416em; .teacher {
margin-bottom: 40px;
h3 {
color: $base-font-color;
font-family: $sans-serif;
font-weight: 700;
margin-bottom: 15px;
text-transform: none;
}
.teacher-image {
background: rgb(255,255,255);
border: 1px solid rgb(200,200,200);
height: 115px;
float: left;
margin: 0 15px 0px 0;
overflow: hidden;
padding: 1px;
width: 115px;
img {
display: block;
min-height: 100%;
max-width: 100%;
} }
}
}
}
.choicegroup { .course-content{
input[type=checkbox], input[type=radio] {
margin-right: 5px; .project {
} ul, ol {
margin-top: 3px;
list-style: disc;
ul, ol {
margin: 0px;
} }
}
}
h3, h4 {
font-weight: bold;
a {
color: inherit;
}
} }
h4 {
font-size: 1em;
}
p, .code_snippet {
margin-bottom: 1.416em;
}
.choicegroup {
input[type=checkbox], input[type=radio] {
margin-right: 5px;
}
}
}
} }
<%inherit file="/main.html" /> <%inherit file="/main.html" />
<%block name="bodyclass">${course.css_class}</%block>
<%namespace name='static' file='/static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%block name="headextra"> <%block name="headextra">
......
<%inherit file="/main.html" /> <%inherit file="/main.html" />
<%block name="bodyclass">${course.css_class}</%block>
<%namespace name='static' file='/static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%block name="headextra"> <%block name="headextra">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment