Some 188-specific styling + default styling for static tabs
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
@import "course/textbook";
|
||||
@import "course/profile";
|
||||
@import "course/gradebook";
|
||||
@import "course/tabs";
|
||||
|
||||
// instructor
|
||||
@import "course/instructor/instructor";
|
||||
|
||||
@@ -35,7 +35,7 @@ div.syllabus {
|
||||
|
||||
padding: 5px 10px;
|
||||
|
||||
&.day, &.due {
|
||||
&.day, &.due, &.slides {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
|
||||
13
lms/static/sass/course/_tabs.scss
Normal file
13
lms/static/sass/course/_tabs.scss
Normal file
@@ -0,0 +1,13 @@
|
||||
div.static_tab_wrapper {
|
||||
|
||||
padding: 2em 2.5em;
|
||||
|
||||
h1 {
|
||||
@extend .top-header
|
||||
}
|
||||
|
||||
section {
|
||||
margin: 0px 0px 20px;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,5 +1,36 @@
|
||||
body.cs188 {
|
||||
|
||||
.course-staff {
|
||||
.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%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.course-content{
|
||||
|
||||
.project {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<%inherit file="/main.html" />
|
||||
<%block name="bodyclass">${course.css_class}</%block>
|
||||
<%namespace name='static' file='/static_content.html'/>
|
||||
|
||||
<%block name="headextra">
|
||||
|
||||
Reference in New Issue
Block a user