Commit e0f01aa8 by Galen Frechette

cleans up course info/profile page

parent 9d4043e4
.grid-container { .course-info {
display: none; .container {
margin-bottom: 60px;
> * {
float: left;
height: 20px;
} }
.grid { header.course-profile {
background: #FFD3DC; background: rgb(240,240,240);
margin-right: flex-gutter(); @include background-image(linear-gradient(-90deg, rgb(230,230,230), rgb(245,245,245)));
width: flex-grid(1); @include box-shadow(0 1px 80px 0 rgba(0,0,0, 0.5));
border-bottom: 1px solid rgb(200,200,200);
@include box-shadow(inset 0 1px 5px 0 rgba(0,0,0, 0.1));
overflow: hidden;
width: 100%;
.intro-inner-wrapper {
@include clearfix;
margin: 0 auto;
max-width: 1200px;
padding: 40px 0px 40px;
position: relative;
width: flex-grid(12);
&:last-child { &::before {
margin-right: 0px; @include background-image(radial-gradient(50% 50%, ellipse closest-side, rgba(#fff, 1), rgba(#fff, 0)));
}; content: "";
display: block;
height: 200%;
left: 0px;
position: absolute;
top: 80px;
width: flex-grid(8);
z-index: 1;
} }
.gutter { .intro {
background: #E3FFDA; @include clearfix;
display:none; float: left;
width: $fg-gutter(); margin-right: flex-gutter();
} position: relative;
} width: flex-grid(8);
z-index: 2;
.container { > hgroup {
//@include inline-block;
//padding: 0 30px;
position: relative;
} hr {
@include background-image(linear-gradient(180deg, rgba(200,200,200, 0) 0%,
rgba(200,200,200, 1) 50%,
rgba(200,200,200, 1)));
border: none;
height: 1px;
margin: 10px 0;
position: relative;
.course-info { &::after {
h1, h2, h3, h4, h5, h6 { @include background-image(linear-gradient(180deg, rgba(255,255,255, 0) 0%,
font-family: $sans-serif; rgba(255,255,255, 0.6) 50%,
font-weight: bold; rgba(255,255,255, 0.6)));
bottom: -1px;
content: "";
display: block;
height: 1px;
position: absolute;
width: 100%;
} }
font-size: 16px;
> * {
@include box-sizing(border-box);
margin-top: 20px;
} }
a { h1 {
font-family: $serif; font: bold 2.8rem/3.2rem $sans-serif;
font-size: 16px; margin-bottom: 0px;
} text-shadow: 0 1px rgba(255,255,255, 0.6);
//text-align: center;
section { span {
color: $lighter-base-font-color;
display: none;
font: 300 1.2rem/3rem $sans-serif;
}
} }
h2 { h2 {
font-size: 2em; //text-align: center;
}
h3 { a {
font-size: 1.4em; color: $lighter-base-font-color;
} font: italic bold 1.4rem/1.6rem $sans-serif;
text-shadow: 0 1px rgba(255,255,255, 0.6);
p { &:hover {
// color: rgb(102,102,102); color: $blue;
} }
header {
background: rgb(240,240,240);
border: 1px solid rgb(200,200,200);
@include border-radius(4px);
@include box-shadow(inset 0 0 1px 1px rgb(255,255,255));
padding: 20px;
padding-left: flex-grid(1) + flex-gutter() * 2;
padding-right: flex-grid(4) + flex-gutter();
position: relative;
width: flex-grid(12);
> img {
float: left;
max-height: 86px;
max-width: flex-grid(1) + flex-gutter();
@include position(absolute, 10px 0 0 10px);
vertical-align: middle;
} }
h2 {
margin-bottom: .5em;
.course-number {
color: $lighter-base-font-color;
} }
} }
h3 {
} }
.course-abstract { .actions {
display: none; float: left;
} padding-top: 5px;
position: relative;
width: flex-grid(4);
z-index: 2;
.button { a.register {
@include button(simple, $blue); @include button(shiny, $blue);
@include box-sizing(border-box); @include box-sizing(border-box);
@include border-bottom-left-radius(0px); @include border-radius(3px);
@include border-top-left-radius(0px);
display: block; display: block;
font-size: 1.6em; font: italic 1.2rem/1.6rem $serif;
left: flex-grid(8) + flex-gutter(); margin-bottom: 10px;
padding-top: 1.5em; padding: 10px 0px;
@include position(absolute, -1px -1px -1px 0); text-transform: uppercase;
text-align: center; text-align: center;
vertical-align: middle; width: flex-grid(12);
} }
} // header
.sidebar {
background: white;
float: right;
margin: 93px 0 0 flex-gutter();
padding: 0 0 20px flex-gutter();
padding-bottom: 20px;
position: relative;
width: flex-grid(4);
.faded-vertical-divider { .social-sharing {
@include background-image(linear-gradient(90deg, rgba(255,255,255, 0) 0%, rgba(200,200,200, 0.6) 10%, rgb(200,200,200) 50%, rgba(200,200,200, 0.6) 90%, rgba(255,255,255, 0))); background: rgb(230,230,230);
@include position(absolute, 0px 0 0px 0px); height: 40px;
}
}
} }
h3 {
color: #999;
font-size: 1em;
margin-bottom: .5em;
} }
.course-staff { .container {
clear: none; @include clearfix;
position: relative;
.teacher {
margin-bottom: 1em;
.teacher-image { nav {
// display: none; border-bottom: 1px solid rgb(220,220,220);
float: left; @include box-sizing(border-box);
margin: 0 10px 5px 0; @include clearfix;
margin-bottom: 40px;
//text-align: center;
width: flex-grid(12);
img { &::after {
} @extend .faded-hr-divider;
content: "";
display: none;
} }
.teacher-name { a {
color: rgb(100,100,100); color: $lighter-base-font-color;
font-size: 1.5em; @include inline-block;
font-weight: bold; font: normal 1.2rem/1.6rem $sans-serif;
line-height: 1.3em; padding: 30px 20px;
text-align: center;
&:hover, &.active {
background: rgb(240,240,240);
color: $base-font-color;
} }
} }
} // .course-staff
} }
.main-content-wrap { h2 {
float: right; color: $lighter-base-font-color;
margin-top: 40px; margin-bottom: 20px;
padding-bottom: 20px; text-transform: uppercase;
width: flex-grid(8);
.video {
iframe {
border: 10px solid rgb(106,106,106);
@include border-radius(10px);
display: block;
margin: 0 auto 20px;
}
} }
.course-description {
@include box-sizing(border-box);
margin-bottom: 40px;
position: relative;
h3 { h3 {
font-size: 2em; color: $base-font-color;
font-weight: bold; font-weight: 300;
margin-bottom: 1em; font-family: $sans-serif;
margin-bottom: 10px;
}
} }
.course-times { .details {
background: #F0F0F0;
@include border-radius(4px);
color: #7A7A7A;
font-size: .8em;
padding: .3em 1em;
@include position(absolute, 0px 0px 0 0);
text-shadow: -1px -1px 0px #e9e9e9;
.start, .length, .final {
float: left; float: left;
margin-right: 1em; margin-right: flex-gutter();
width: flex-grid(8);
strong { .inner-wrapper {
display: block; //padding: 0 60px;
}
}
.start { > section {
&::after {
@extend .faded-hr-divider;
content: "";
display: none;
margin-top: 60px;
} }
margin-bottom: 60px;
.length {
p + h2 {
margin-top: 40px;
} }
.final {
margin: 0;
} }
} // .course-times
} }
ul.tabs { .course-staff {
list-style-type: none; .teacher {
font-size: 0; margin-bottom: 30px;
padding: 0;
margin-top: 40px;
li {
background: #eee;
@include border-radius(2px);
display: inline-block;
color: #444;
font-size: 16px;
font-weight: bold;
margin-right: 10px;
padding: .3em 1em;
&.enabled { &::after {
color: #fff; @extend .faded-hr-divider;
@include linear-gradient($blue, darken($blue, 5%)); content: "";
display: block;
margin-top: 30px;
} }
&:hover { &:last-child {
cursor: pointer; &::after {
background: #ddd; display: none;
}
}
&.enabled { .teacher-image {
@include linear-gradient(darken($blue, 5%), darken($blue, 10%)); background: rgb(255,255,255);
color: #fff; border: 1px solid rgb(200,200,200);
float: left;
margin: 0 15px 15px 0;
padding: 1px;
} }
} }
} }
} }
.tabs-content { .course-sidebar {
@include box-sizing(border-box);
section.tab { float: left;
display: none; padding-top: 40px;
margin-top: 0; width: flex-grid(4);
padding-top: 30px;
h3 { h3 {
margin-bottom: .5em; color: $lighter-base-font-color;
font-size: 1.5em; font-family: $serif;
font-weight: bold; font-weight: 300;
} margin-bottom: 15px;
text-transform: uppercase;
} }
section { > section {
margin-top: 30px; border: 1px solid rgb(220,220,220);
color: #666; @include border-radius(4px);
} background: rgb(245,245,245);
} margin-bottom: 20px;
padding: 15px;
.syllabus { &.dates {
p {
border-bottom: 1px solid rgb(220,220,220);
margin-bottom: 15px;
margin-top: 0px;
padding-bottom: 5px;
ul { &:last-child {
list-style: none outside; border: none;
line-height: 1.5em; margin: 0;
padding: 0;
}
li { > span {
margin-left: 20px;
}
}
} }
} }
} //.syllabus
.faq { .media {
ul { border: 1px solid rgb(200,200,200);
list-style: none outside; @include box-sizing(border-box);
margin-bottom: 20px;
padding: 1px;
width: flex-grid(12);
li { .hero {
margin-bottom: 1em; height: 180px;
overflow: hidden;
p { img {
margin-left: 2em; min-width: 100%;
}
} }
} }
} // .faq
.more-info {
p {
margin-left: 2em;
} }
} }
} //.main-info-wrap
} }
...@@ -57,16 +57,6 @@ ...@@ -57,16 +57,6 @@
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
p {
color: $base-font-color;
display: none;
font: normal 1rem/1.6rem $sans-serif;
overflow: hidden;
text-shadow: 0 1px rgba(255,255,255, 0.6);
text-overflow: ellipsis;
white-space: nowrap;
}
} }
.info-link { .info-link {
......
...@@ -362,7 +362,7 @@ a:link, a:visited { ...@@ -362,7 +362,7 @@ a:link, a:visited {
.container:after { .container:after {
clear: both; } clear: both; }
.faded-hr-divider, .horizontal-divider, .modal .inner-wrapper header hr::after, .modal .inner-wrapper form .honor-code-summary hr::after { .faded-hr-divider, .horizontal-divider, .modal .inner-wrapper header hr::after, .modal .inner-wrapper form .honor-code-summary hr::after, .course-info .container nav::after, .course-info .details .inner-wrapper > section::after, .course-info .details .course-staff .teacher::after {
background-image: -webkit-linear-gradient(180deg, rgba(200, 200, 200, 0) 0%, #c8c8c8 50%, rgba(200, 200, 200, 0)); background-image: -webkit-linear-gradient(180deg, rgba(200, 200, 200, 0) 0%, #c8c8c8 50%, rgba(200, 200, 200, 0));
background-image: -moz-linear-gradient(180deg, rgba(200, 200, 200, 0) 0%, #c8c8c8 50%, rgba(200, 200, 200, 0)); background-image: -moz-linear-gradient(180deg, rgba(200, 200, 200, 0) 0%, #c8c8c8 50%, rgba(200, 200, 200, 0));
background-image: -ms-linear-gradient(180deg, rgba(200, 200, 200, 0) 0%, #c8c8c8 50%, rgba(200, 200, 200, 0)); background-image: -ms-linear-gradient(180deg, rgba(200, 200, 200, 0) 0%, #c8c8c8 50%, rgba(200, 200, 200, 0));
...@@ -1785,14 +1785,6 @@ header.app { ...@@ -1785,14 +1785,6 @@ header.app {
text-shadow: 0 1px rgba(255, 255, 255, 0.6); text-shadow: 0 1px rgba(255, 255, 255, 0.6);
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; } white-space: nowrap; }
.highlighted-courses .courses .course header.course-preview > a hgroup p, .find-courses .courses .course header.course-preview > a hgroup p {
color: #3c3c3c;
display: none;
font: normal 1rem/1.6rem "Open Sans", Verdana, Geneva, sans-serif;
overflow: hidden;
text-shadow: 0 1px rgba(255, 255, 255, 0.6);
text-overflow: ellipsis;
white-space: nowrap; }
.highlighted-courses .courses .course header.course-preview > a .info-link, .find-courses .courses .course header.course-preview > a .info-link { .highlighted-courses .courses .course header.course-preview > a .info-link, .find-courses .courses .course header.course-preview > a .info-link {
border-left: 1px solid rgba(150, 150, 150, 0.5); border-left: 1px solid rgba(150, 150, 150, 0.5);
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
...@@ -3394,276 +3386,283 @@ nav.course-material { ...@@ -3394,276 +3386,283 @@ nav.course-material {
text-align: center; text-align: center;
z-index: 2; } z-index: 2; }
.grid-container { .course-info .container {
display: none; } margin-bottom: 60px; }
.grid-container > * { .course-info header.course-profile {
float: left;
height: 20px; }
.grid-container .grid {
background: #FFD3DC;
margin-right: 2.024%;
width: 6.478%; }
.grid-container .grid:last-child {
margin-right: 0px; }
.grid-container .gutter {
background: #E3FFDA;
display: none;
width: 25px; }
.course-info {
font-size: 16px; }
.course-info h1, .course-info h2, .course-info h3, .course-info h4, .course-info h5, .course-info h6 {
font-family: "Open Sans", Verdana, Geneva, sans-serif;
font-weight: bold; }
.course-info > * {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin-top: 20px; }
.course-info a {
font-family: Georgia, Cambria, "Times New Roman", Times, serif;
font-size: 16px; }
.course-info h2 {
font-size: 2em; }
.course-info h3 {
font-size: 1.4em; }
.course-info header {
background: #f0f0f0; background: #f0f0f0;
border: 1px solid #c8c8c8; background-image: -webkit-linear-gradient(-90deg, #e6e6e6, #f5f5f5);
-webkit-border-radius: 4px; background-image: -moz-linear-gradient(-90deg, #e6e6e6, #f5f5f5);
-moz-border-radius: 4px; background-image: -ms-linear-gradient(-90deg, #e6e6e6, #f5f5f5);
-ms-border-radius: 4px; background-image: -o-linear-gradient(-90deg, #e6e6e6, #f5f5f5);
-o-border-radius: 4px; background-image: linear-gradient(-90deg, #e6e6e6, #f5f5f5);
border-radius: 4px; -webkit-box-shadow: 0 1px 80px 0 rgba(0, 0, 0, 0.5);
-webkit-box-shadow: inset 0 0 1px 1px white; -moz-box-shadow: 0 1px 80px 0 rgba(0, 0, 0, 0.5);
-moz-box-shadow: inset 0 0 1px 1px white; box-shadow: 0 1px 80px 0 rgba(0, 0, 0, 0.5);
box-shadow: inset 0 0 1px 1px white; border-bottom: 1px solid #c8c8c8;
padding: 20px; -webkit-box-shadow: inset 0 1px 5px 0 rgba(0, 0, 0, 0.1);
padding-left: 10.526%; -moz-box-shadow: inset 0 1px 5px 0 rgba(0, 0, 0, 0.1);
padding-right: 34.008%; box-shadow: inset 0 1px 5px 0 rgba(0, 0, 0, 0.1);
overflow: hidden;
width: 100%; }
.course-info header.course-profile .intro-inner-wrapper {
zoom: 1;
margin: 0 auto;
max-width: 1200px;
padding: 40px 0px 40px;
position: relative; position: relative;
width: 100%; } width: 100%; }
.course-info header > img { .course-info header.course-profile .intro-inner-wrapper:before, .course-info header.course-profile .intro-inner-wrapper:after {
content: "";
display: table; }
.course-info header.course-profile .intro-inner-wrapper:after {
clear: both; }
.course-info header.course-profile .intro-inner-wrapper::before {
background-image: -webkit-radial-gradient(50% 50%, ellipse closest-side, white, rgba(255, 255, 255, 0));
background-image: -moz-radial-gradient(50% 50%, ellipse closest-side, white, rgba(255, 255, 255, 0));
background-image: -ms-radial-gradient(50% 50%, ellipse closest-side, white, rgba(255, 255, 255, 0));
background-image: -o-radial-gradient(50% 50%, ellipse closest-side, white, rgba(255, 255, 255, 0));
background-image: radial-gradient(50% 50%, ellipse closest-side, white, rgba(255, 255, 255, 0));
content: "";
display: block;
height: 200%;
left: 0px;
position: absolute;
top: 80px;
width: 65.992%;
z-index: 1; }
.course-info header.course-profile .intro-inner-wrapper .intro {
zoom: 1;
float: left; float: left;
max-height: 86px; margin-right: 2.024%;
max-width: 8.502%; position: relative;
width: 65.992%;
z-index: 2; }
.course-info header.course-profile .intro-inner-wrapper .intro:before, .course-info header.course-profile .intro-inner-wrapper .intro:after {
content: "";
display: table; }
.course-info header.course-profile .intro-inner-wrapper .intro:after {
clear: both; }
.course-info header.course-profile .intro-inner-wrapper .intro > hgroup {
position: relative; }
.course-info header.course-profile .intro-inner-wrapper .intro > hgroup hr {
background-image: -webkit-linear-gradient(180deg, rgba(200, 200, 200, 0) 0%, #c8c8c8 50%, #c8c8c8);
background-image: -moz-linear-gradient(180deg, rgba(200, 200, 200, 0) 0%, #c8c8c8 50%, #c8c8c8);
background-image: -ms-linear-gradient(180deg, rgba(200, 200, 200, 0) 0%, #c8c8c8 50%, #c8c8c8);
background-image: -o-linear-gradient(180deg, rgba(200, 200, 200, 0) 0%, #c8c8c8 50%, #c8c8c8);
background-image: linear-gradient(180deg, rgba(200, 200, 200, 0) 0%, #c8c8c8 50%, #c8c8c8);
border: none;
height: 1px;
margin: 10px 0;
position: relative; }
.course-info header.course-profile .intro-inner-wrapper .intro > hgroup hr::after {
background-image: -webkit-linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.6));
background-image: -moz-linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.6));
background-image: -ms-linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.6));
background-image: -o-linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.6));
background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.6));
bottom: -1px;
content: "";
display: block;
height: 1px;
position: absolute; position: absolute;
top: 10px; width: 100%; }
left: 10px; .course-info header.course-profile .intro-inner-wrapper .intro > hgroup h1 {
vertical-align: middle; } font: bold 2.8rem/3.2rem "Open Sans", Verdana, Geneva, sans-serif;
.course-info header h2 { margin-bottom: 0px;
margin-bottom: .5em; } text-shadow: 0 1px rgba(255, 255, 255, 0.6); }
.course-info header h2 .course-number { .course-info header.course-profile .intro-inner-wrapper .intro > hgroup h1 span {
color: #a0a0a0; } color: #a0a0a0;
.course-info header .course-abstract { display: none;
display: none; } font: 300 1.2rem/3rem "Open Sans", Verdana, Geneva, sans-serif; }
.course-info header .button { .course-info header.course-profile .intro-inner-wrapper .intro > hgroup h2 a {
border: 1px solid #0d72a2; color: #a0a0a0;
-webkit-border-radius: 3px; font: italic bold 1.4rem/1.6rem "Open Sans", Verdana, Geneva, sans-serif;
-moz-border-radius: 3px; text-shadow: 0 1px rgba(255, 255, 255, 0.6); }
-ms-border-radius: 3px; .course-info header.course-profile .intro-inner-wrapper .intro > hgroup h2 a:hover {
-o-border-radius: 3px; color: #1d9dd9; }
border-radius: 3px; .course-info header.course-profile .intro-inner-wrapper .actions {
-webkit-box-shadow: inset 0 1px 0 0 #61b8e1; float: left;
-moz-box-shadow: inset 0 1px 0 0 #61b8e1; padding-top: 5px;
box-shadow: inset 0 1px 0 0 #61b8e1; position: relative;
width: 31.984%;
z-index: 2; }
.course-info header.course-profile .intro-inner-wrapper .actions a.register {
border: 1px solid #002e88;
border-bottom: 1px solid #001e5f;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
-o-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: inset 0 1px 0 0 #42bae5;
-moz-box-shadow: inset 0 1px 0 0 #42bae5;
box-shadow: inset 0 1px 0 0 #42bae5;
color: white; color: white;
display: inline; display: inline;
font-size: 11px; font-size: 14px;
font-weight: bold; font-weight: bold;
background-color: #1d9dd9; background-color: #1d9dd9;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #1d9dd9), color-stop(100%, #0e7cb0)); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #1d9dd9), color-stop(50%, #006bb8), color-stop(50%, #0052a9), color-stop(100%, #0057ab));
background-image: -webkit-linear-gradient(top, #1d9dd9, #0e7cb0); background-image: -webkit-linear-gradient(top, #1d9dd9 0%, #006bb8 50%, #0052a9 50%, #0057ab 100%);
background-image: -moz-linear-gradient(top, #1d9dd9, #0e7cb0); background-image: -moz-linear-gradient(top, #1d9dd9 0%, #006bb8 50%, #0052a9 50%, #0057ab 100%);
background-image: -ms-linear-gradient(top, #1d9dd9, #0e7cb0); background-image: -ms-linear-gradient(top, #1d9dd9 0%, #006bb8 50%, #0052a9 50%, #0057ab 100%);
background-image: -o-linear-gradient(top, #1d9dd9, #0e7cb0); background-image: -o-linear-gradient(top, #1d9dd9 0%, #006bb8 50%, #0052a9 50%, #0057ab 100%);
background-image: linear-gradient(top, #1d9dd9, #0e7cb0); background-image: linear-gradient(top, #1d9dd9 0%, #006bb8 50%, #0052a9 50%, #0057ab 100%);
padding: 6px 18px 7px; padding: 7px 20px 8px;
text-shadow: 0 1px 0 #076794; text-align: center;
-webkit-background-clip: padding-box; text-decoration: none;
text-shadow: 0 -1px 1px #001067;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
-webkit-border-bottom-left-radius: 0px; -webkit-border-radius: 3px;
-moz-border-bottom-left-radius: 0px; -moz-border-radius: 3px;
-moz-border-radius-bottomleft: 0px; -ms-border-radius: 3px;
-ms-border-bottom-left-radius: 0px; -o-border-radius: 3px;
-o-border-bottom-left-radius: 0px; border-radius: 3px;
border-bottom-left-radius: 0px;
-webkit-border-top-left-radius: 0px;
-moz-border-top-left-radius: 0px;
-moz-border-radius-topleft: 0px;
-ms-border-top-left-radius: 0px;
-o-border-top-left-radius: 0px;
border-top-left-radius: 0px;
display: block; display: block;
font-size: 1.6em; font: italic 1.2rem/1.6rem Georgia, Cambria, "Times New Roman", Times, serif;
left: 68.016%; margin-bottom: 10px;
padding-top: 1.5em; padding: 10px 0px;
position: absolute; text-transform: uppercase;
top: -1px;
right: -1px;
bottom: -1px;
text-align: center; text-align: center;
vertical-align: middle; } width: 100%; }
.course-info header .button:hover { .course-info header.course-profile .intro-inner-wrapper .actions a.register:hover {
-webkit-box-shadow: inset 0 1px 0 0 #35a6db;
-moz-box-shadow: inset 0 1px 0 0 #35a6db;
box-shadow: inset 0 1px 0 0 #35a6db;
cursor: pointer; cursor: pointer;
background-color: #1e8bbe; background-color: #108ec7;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #1e8bbe), color-stop(100%, #0e72a1)); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #108ec7), color-stop(50%, #005fa6), color-stop(50%, #004897), color-stop(100%, #004d9a));
background-image: -webkit-linear-gradient(top, #1e8bbe, #0e72a1); background-image: -webkit-linear-gradient(top, #108ec7 0%, #005fa6 50%, #004897 50%, #004d9a 100%);
background-image: -moz-linear-gradient(top, #1e8bbe, #0e72a1); background-image: -moz-linear-gradient(top, #108ec7 0%, #005fa6 50%, #004897 50%, #004d9a 100%);
background-image: -ms-linear-gradient(top, #1e8bbe, #0e72a1); background-image: -ms-linear-gradient(top, #108ec7 0%, #005fa6 50%, #004897 50%, #004d9a 100%);
background-image: -o-linear-gradient(top, #1e8bbe, #0e72a1); background-image: -o-linear-gradient(top, #108ec7 0%, #005fa6 50%, #004897 50%, #004d9a 100%);
background-image: linear-gradient(top, #1e8bbe, #0e72a1); } background-image: linear-gradient(top, #108ec7 0%, #005fa6 50%, #004897 50%, #004d9a 100%); }
.course-info header .button:active { .course-info header.course-profile .intro-inner-wrapper .actions a.register:active {
border: 1px solid #0d72a2; -webkit-box-shadow: inset 0 0 20px 0 #00295f, 0 1px 0 white;
-webkit-box-shadow: inset 0 0 8px 4px #0d6892, inset 0 0 8px 4px #0d6892, 0 1px 1px 0 #eeeeee; -moz-box-shadow: inset 0 0 20px 0 #00295f, 0 1px 0 white;
-moz-box-shadow: inset 0 0 8px 4px #0d6892, inset 0 0 8px 4px #0d6892, 0 1px 1px 0 #eeeeee; box-shadow: inset 0 0 20px 0 #00295f, 0 1px 0 white; }
box-shadow: inset 0 0 8px 4px #0d6892, inset 0 0 8px 4px #0d6892, 0 1px 1px 0 #eeeeee; } .course-info header.course-profile .intro-inner-wrapper .actions .social-sharing {
.course-info .sidebar, .course-info section.course-index { background: #e6e6e6;
background: white; height: 40px; }
float: right; .course-info .container {
margin: 93px 0 0 2.024%; zoom: 1; }
padding: 0 0 20px 2.024%; .course-info .container:before, .course-info .container:after {
padding-bottom: 20px; content: "";
position: relative; display: table; }
width: 31.984%; } .course-info .container:after {
.course-info .sidebar .faded-vertical-divider, .course-info section.course-index .faded-vertical-divider, .course-info .sidebar .vertical-divider, .course-info section.course-index .vertical-divider, .course-info .sidebar header.app .divider, header.app .course-info .sidebar .divider, .course-info section.course-index header.app .divider, header.app .course-info section.course-index .divider, .course-info .sidebar footer nav .copyright a.logo::after, footer nav .copyright .course-info .sidebar a.logo::after, .course-info section.course-index footer nav .copyright a.logo::after, footer nav .copyright .course-info section.course-index a.logo::after, .course-info .sidebar footer nav ol li::after, footer nav ol .course-info .sidebar li::after, .course-info section.course-index footer nav ol li::after, footer nav ol .course-info section.course-index li::after, .course-info .sidebar .home .university-partners .partners li.partner::before, .home .university-partners .partners .course-info .sidebar li.partner::before, .course-info section.course-index .home .university-partners .partners li.partner::before, .home .university-partners .partners .course-info section.course-index li.partner::before { clear: both; }
background-image: -webkit-linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(200, 200, 200, 0.6) 10%, #c8c8c8 50%, rgba(200, 200, 200, 0.6) 90%, rgba(255, 255, 255, 0)); .course-info .container nav {
background-image: -moz-linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(200, 200, 200, 0.6) 10%, #c8c8c8 50%, rgba(200, 200, 200, 0.6) 90%, rgba(255, 255, 255, 0)); border-bottom: 1px solid #dcdcdc;
background-image: -ms-linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(200, 200, 200, 0.6) 10%, #c8c8c8 50%, rgba(200, 200, 200, 0.6) 90%, rgba(255, 255, 255, 0)); -webkit-box-sizing: border-box;
background-image: -o-linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(200, 200, 200, 0.6) 10%, #c8c8c8 50%, rgba(200, 200, 200, 0.6) 90%, rgba(255, 255, 255, 0)); -moz-box-sizing: border-box;
background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(200, 200, 200, 0.6) 10%, #c8c8c8 50%, rgba(200, 200, 200, 0.6) 90%, rgba(255, 255, 255, 0)); box-sizing: border-box;
position: absolute; zoom: 1;
top: 0px; margin-bottom: 40px;
bottom: 0px; width: 100%; }
left: 0px; } .course-info .container nav:before, .course-info .container nav:after {
.course-info .sidebar h3, .course-info section.course-index h3 { content: "";
color: #999; display: table; }
font-size: 1em; .course-info .container nav:after {
margin-bottom: .5em; } clear: both; }
.course-info .sidebar .course-staff, .course-info section.course-index .course-staff { .course-info .container nav::after {
clear: none; content: "";
position: relative; } display: none; }
.course-info .sidebar .course-staff .teacher, .course-info section.course-index .course-staff .teacher { .course-info .container nav a {
margin-bottom: 1em; } color: #a0a0a0;
.course-info .sidebar .course-staff .teacher .teacher-image, .course-info section.course-index .course-staff .teacher .teacher-image { display: -moz-inline-box;
-moz-box-orient: vertical;
display: inline-block;
vertical-align: baseline;
zoom: 1;
*display: inline;
*vertical-align: auto;
font: normal 1.2rem/1.6rem "Open Sans", Verdana, Geneva, sans-serif;
padding: 30px 20px;
text-align: center; }
.course-info .container nav a:hover, .course-info .container nav a.active, .course-info .container nav.sequence-nav ol li a.seq_video_active, .course-info .container nav.sequence-nav ol li a.seq_other_active, .course-info .container nav.sequence-nav ol li a.seq_vertical_active, .course-info .container nav.sequence-nav ol li a.seq_problem_active {
background: #f0f0f0;
color: #3c3c3c; }
.course-info .container h2 {
color: #a0a0a0;
margin-bottom: 20px;
text-transform: uppercase; }
.course-info .container h3 {
color: #3c3c3c;
font-weight: 300;
font-family: "Open Sans", Verdana, Geneva, sans-serif;
margin-bottom: 10px; }
.course-info .details {
float: left; float: left;
margin: 0 10px 5px 0; } margin-right: 2.024%;
.course-info .sidebar .course-staff .teacher .teacher-name, .course-info section.course-index .course-staff .teacher .teacher-name {
color: #646464;
font-size: 1.5em;
font-weight: bold;
line-height: 1.3em; }
.course-info .main-content-wrap {
float: right;
margin-top: 40px;
padding-bottom: 20px;
width: 65.992%; } width: 65.992%; }
.course-info .main-content-wrap .video iframe { .course-info .details .inner-wrapper > section {
border: 10px solid #6a6a6a; margin-bottom: 60px; }
-webkit-border-radius: 10px; .course-info .details .inner-wrapper > section::after {
-moz-border-radius: 10px; content: "";
-ms-border-radius: 10px; display: none;
-o-border-radius: 10px; margin-top: 60px; }
border-radius: 10px; .course-info .details .inner-wrapper > section p + h2 {
margin-top: 40px; }
.course-info .details .course-staff .teacher {
margin-bottom: 30px; }
.course-info .details .course-staff .teacher::after {
content: "";
display: block; display: block;
margin: 0 auto 20px; } margin-top: 30px; }
.course-info .main-content-wrap .course-description { .course-info .details .course-staff .teacher:last-child::after {
display: none; }
.course-info .details .course-staff .teacher .teacher-image {
background: white;
border: 1px solid #c8c8c8;
float: left;
margin: 0 15px 15px 0;
padding: 1px; }
.course-info .course-sidebar {
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
margin-bottom: 40px; float: left;
position: relative; } padding-top: 40px;
.course-info .main-content-wrap .course-description h3 { width: 31.984%; }
font-size: 2em; .course-info .course-sidebar h3 {
font-weight: bold; color: #a0a0a0;
margin-bottom: 1em; } font-family: Georgia, Cambria, "Times New Roman", Times, serif;
.course-info .main-content-wrap .course-description .course-times { font-weight: 300;
background: #F0F0F0; margin-bottom: 15px;
text-transform: uppercase; }
.course-info .course-sidebar > section {
border: 1px solid #dcdcdc;
-webkit-border-radius: 4px; -webkit-border-radius: 4px;
-moz-border-radius: 4px; -moz-border-radius: 4px;
-ms-border-radius: 4px; -ms-border-radius: 4px;
-o-border-radius: 4px; -o-border-radius: 4px;
border-radius: 4px; border-radius: 4px;
color: #7A7A7A; background: #f5f5f5;
font-size: .8em; margin-bottom: 20px;
padding: .3em 1em; padding: 15px; }
position: absolute; .course-info .course-sidebar > section.dates p {
top: 0px; border-bottom: 1px solid #dcdcdc;
right: 0px; margin-bottom: 15px;
text-shadow: -1px -1px 0px #e9e9e9; } margin-top: 0px;
.course-info .main-content-wrap .course-description .course-times .start, .course-info .main-content-wrap .course-description .course-times .length, .course-info .main-content-wrap .course-description .course-times .final { padding-bottom: 5px; }
float: left; .course-info .course-sidebar > section.dates p:last-child {
margin-right: 1em; } border: none;
.course-info .main-content-wrap .course-description .course-times .start strong, .course-info .main-content-wrap .course-description .course-times .length strong, .course-info .main-content-wrap .course-description .course-times .final strong { margin: 0;
display: block; } padding: 0; }
.course-info .main-content-wrap .course-description .course-times .final { .course-info .course-sidebar > section.dates p > span {
margin: 0; } margin-left: 20px; }
.course-info .main-content-wrap ul.tabs { .course-info .course-sidebar .media {
list-style-type: none; border: 1px solid #c8c8c8;
font-size: 0; -webkit-box-sizing: border-box;
padding: 0; -moz-box-sizing: border-box;
margin-top: 40px; } box-sizing: border-box;
.course-info .main-content-wrap ul.tabs li { margin-bottom: 20px;
background: #eee; padding: 1px;
-webkit-border-radius: 2px; width: 100%; }
-moz-border-radius: 2px; .course-info .course-sidebar .media .hero {
-ms-border-radius: 2px; height: 180px;
-o-border-radius: 2px; overflow: hidden; }
border-radius: 2px; .course-info .course-sidebar .media .hero img {
display: inline-block; min-width: 100%; }
color: #444;
font-size: 16px;
font-weight: bold;
margin-right: 10px;
padding: .3em 1em; }
.course-info .main-content-wrap ul.tabs li.enabled {
color: #fff;
background-color: #1d9dd9;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #1d9dd9), color-stop(100%, #1a8dc3));
background-image: -webkit-linear-gradient(top, #1d9dd9, #1a8dc3);
background-image: -moz-linear-gradient(top, #1d9dd9, #1a8dc3);
background-image: -ms-linear-gradient(top, #1d9dd9, #1a8dc3);
background-image: -o-linear-gradient(top, #1d9dd9, #1a8dc3);
background-image: linear-gradient(top, #1d9dd9, #1a8dc3); }
.course-info .main-content-wrap ul.tabs li:hover {
cursor: pointer;
background: #ddd; }
.course-info .main-content-wrap ul.tabs li:hover.enabled {
background-color: #1a8dc3;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #1a8dc3), color-stop(100%, #177cac));
background-image: -webkit-linear-gradient(top, #1a8dc3, #177cac);
background-image: -moz-linear-gradient(top, #1a8dc3, #177cac);
background-image: -ms-linear-gradient(top, #1a8dc3, #177cac);
background-image: -o-linear-gradient(top, #1a8dc3, #177cac);
background-image: linear-gradient(top, #1a8dc3, #177cac);
color: #fff; }
.course-info .main-content-wrap .tabs-content section.tab {
display: none;
margin-top: 0;
padding-top: 30px; }
.course-info .main-content-wrap .tabs-content section.tab h3 {
margin-bottom: .5em;
font-size: 1.5em;
font-weight: bold; }
.course-info .main-content-wrap .tabs-content section {
margin-top: 30px;
color: #666; }
.course-info .main-content-wrap .syllabus ul {
list-style: none outside;
line-height: 1.5em; }
.course-info .main-content-wrap .faq ul {
list-style: none outside; }
.course-info .main-content-wrap .faq ul li {
margin-bottom: 1em; }
.course-info .main-content-wrap .faq ul li p {
margin-left: 2em; }
.course-info .main-content-wrap .more-info p {
margin-left: 2em; }
html { html {
height: 100%; height: 100%;
......
<%inherit file="main.html" /> <%inherit file="main.html" />
<%include file="guest_navigation.html" args="active_page='info'" /> <%include file="guest_navigation.html" args="active_page='info'" />
<<<<<<< HEAD
<%namespace name='static' file='static_content.html'/> <%namespace name='static' file='static_content.html'/>
<section class="container"> <section class="container">
<section class="course-info"> <section class="course-info">
...@@ -112,6 +113,85 @@ ...@@ -112,6 +113,85 @@
<section class="faq tab"> <section class="faq tab">
<h3>Frequently Asked Questions</h3> <h3>Frequently Asked Questions</h3>
=======
<section class="course-info">
<header class="course-profile">
<div class="intro-inner-wrapper">
<section class="intro">
<hgroup>
<h1>18th Century History <span class="course-number">(HC137)</span></h1>
<hr>
<h2><a href="#">HarvardX</a></h2>
</hgroup>
</section>
<section class="actions">
<a href="#" class="register">Register</a>
<section class="social-sharing">
</section>
</section>
</div>
</header>
<section class="container">
<section class="details">
<nav>
<a href="#" class="active">Overview</a>
<a href="#">FAQ</a>
<a href="#">Requirements</a>
<a href="#">Text-book</a>
<a href="#">Syllabus</a>
<a href="#">Reviews</a>
</nav>
<div class="inner-wrapper">
<section class="about">
<h2>About this course</h2>
<p>This course explores the history of the modern world since Chinggis Khan. It focuses on the connections between societies from the time of the Mongol conquests and the gradual, but accelerating ways in which connections became ties of inter-dependence. The relations between societies are what will concern us. The forces pulling the world together vary from religious to economic, political to intellectual. These forces bring the world together, but they also create new divisions. Nowadays, we call this "globalization." That term has tended to emphasize the drive to worldwide integration; the view of globalization taken in this course emphasizes disintegration as well as integration. We will tackle some very basic questions: How do we explain the staggering wealth of China in the centuries up to 1750, as well as China's recent ascent? Where did the United States come from, and where is it headed? What are the significance and legacies of empire in the world? How have world wars and revolutions shaped the international system over time? What exactly is globalization, and how does today's globalization compare with the past? How has the relationship between humans and nature changed over the centuries?</p>
<h2>Requirements</h2>
<p>In order to succeed in this course, you must have taken an AP level physics course in electricity and magnetism. You must know basic calculus and linear algebra and have some background in differential equations. Since more advanced mathematics will not show up until the second half of the course, the first half of the course will include an optional remedial differential equations component for those who need it.</p>
<p>The course web site was developed and tested primarily with Google Chrome. We support current versions of Mozilla Firefox as well. The video player is designed to work with Flash. While we provide a partial non-Flash fallback for the video, as well as partial support for Internet Explorer, other browsers, and tablets, portions of the functionality will be unavailable.</p>
</section>
<section class="course-staff">
<h2>Course staff</h3>
<article class="teacher">
<div class="teacher-image">
<img src="${static.url('images/anant.jpg')}" />
</div>
<h3>Anant Agarwal</h3>
<p>Director of MIT’s Computer Science and Artificial Intelligence Laboratory (CSAIL) and a professor of the Electrical Engineering and Computer Science department at MIT. His research focus is in parallel computer architectures and cloud software systems, and he is a founder of several successful startups, including Tilera, a company that produces scalable multicore processors. Prof. Agarwal won MIT’s Smullin and Jamieson prizes for teaching and co-authored the course textbook “Foundations of Analog and Digital Electronic Circuits.”</p>
</article>
<article class="teacher">
<div class="teacher-image">
<img src="${static.url('images/gerald.jpg')}" />
</div>
<h3>Gerald Sussman</h3>
<p>Professor of Electrical Engineering at MIT. He is a well known educator in the computer science community, perhaps best known as the author of Structure and Interpretation of Computer Programs, which is universally acknowledged as one of the top ten textbooks in computer science, and as the creator of Scheme, a popular teaching language. His research spans a range of topics, from artificial intelligence, to physics and chaotic systems, to supercomputer design.</p>
</article>
<article class="teacher">
<div class="teacher-image">
<img src="${static.url('images/piotr.jpg')}" />
</div>
<h3>Piotr Mitros</h3>
<p>Research Scientist at MIT. His research focus is in finding ways to apply techniques from control systems to optimizing the learning process. Dr. Mitros has worked as an analog designer at Texas Instruments, Talking Lights, and most recently, designed the analog front end for a novel medical imaging modality for Rhythmia Medical.</p>
</article>
</section>
<section class="syllabus">
<h2>Syllabus</h2>
</section>
<section class="textbook">
<h2>Textbook</h2>
<p>The course uses the textbook Foundations of Analog and Digital Electronic Circuits, by Anant Agarwal and Jeffrey H. Lang. Morgan Kaufmann Publishers, Elsevier, July 2005. While recommended, the book is not required: relevant sections will be provided electronically as part of the online course for personal use in connection with this course only. The copyright for the book is owned by Elsevier. The book can be purchased on <a href="http://www.amazon.com/exec/obidos/ASIN/1558607358/ref=nosim/mitopencourse-20">Amazon</a>.</p>
</section>
<section class="faq">
<h2>Frequently Asked Questions</h2>
>>>>>>> cleans up course info/profile page
<ul> <ul>
<li>What is the format of the class? <li>What is the format of the class?
<p>The course will consist of 24 lectures, each lasting 50 minutes. There will be regular assignments consisting of map tests and short essays.</p> <p>The course will consist of 24 lectures, each lasting 50 minutes. There will be regular assignments consisting of map tests and short essays.</p>
...@@ -127,6 +207,7 @@ ...@@ -127,6 +207,7 @@
</li> </li>
</ul> </ul>
</section> </section>
<<<<<<< HEAD
<section class="more-info tab"> <section class="more-info tab">
<section class="who-should-take"> <section class="who-should-take">
...@@ -224,5 +305,33 @@ ...@@ -224,5 +305,33 @@
<p>Research Scientist at MIT. His research focus is in finding ways to apply techniques from control systems to optimizing the learning process. Dr. Mitros has worked as an analog designer at Texas Instruments, Talking Lights, and most recently, designed the analog front end for a novel medical imaging modality for Rhythmia Medical.</p></li> <p>Research Scientist at MIT. His research focus is in finding ways to apply techniques from control systems to optimizing the learning process. Dr. Mitros has worked as an analog designer at Texas Instruments, Talking Lights, and most recently, designed the analog front end for a novel medical imaging modality for Rhythmia Medical.</p></li>
</ul> </ul>
=======
</section>
</div>
<section class="course-sidebar">
<div class="media">
<div class="hero">
<img src="${static.url('images/history.png')}" />
</div>
</div>
<section class="dates">
<h3>Important Dates</h3>
<p>Class Starts: <span class="start-date">7/12/12</span></p>
<p>Final Exam: <span class="start-date">12/09/12</span></p>
<p>Total Length: <span class="course-length">15 weeks</span></p>
</section>
<section class="course-abstract">
<h3>Course Sumamry</h3>
<p>This course will examine the ways in which the world has grown more integrated yet more divided over the past 300 years.</p>
</section>
<section class="dates">
<p>Course Number <span class="start-date">HC137</span></p>
</section>
</section>
>>>>>>> cleans up course info/profile page
</section> </section>
</section> </section>
...@@ -4,20 +4,19 @@ ...@@ -4,20 +4,19 @@
%> %>
%for course in courses: %for course in courses:
<article class="course"> <article id="${course.id}"class="course">
<div class="inner-wrapper"> <div class="inner-wrapper">
<header class="course-preview"> <header class="course-preview">
<a href="${reverse('about_course', args=[course.id])}"> <a href="${reverse('about_course', args=[course.id])}">
<hgroup> <hgroup>
<h2>${course.title}</h2> <h2>${course.title}</h2>
<p>${course.institution}</p>
</hgroup> </hgroup>
<div href="" class="info-link">&#x2794;</div> <div class="info-link">&#x2794;</div>
</a> </a>
</header> </header>
<section class="info"> <section class="info">
<div class="meta-info"> <div class="meta-info">
<p class="university">HarvardX</p> <p class="university">${course.institution}</p>
<p class="dates"><span class="start">7/23/12</span> &rarr; <span class="end">12/15/12</span></p> <p class="dates"><span class="start">7/23/12</span> &rarr; <span class="end">12/15/12</span></p>
</div> </div>
<div class="cover-image"> <div class="cover-image">
......
...@@ -67,7 +67,9 @@ ...@@ -67,7 +67,9 @@
<%include file="footer.html" /> <%include file="footer.html" />
<%block name="js_extra"/> <%block name="js_extra"/>
<script src="${static.url('js/my_courses_dropdown.js')}"></script> <script src="${static.url('js/my_courses_dropdown.js')}"></script>
<script src="${static.url('js/sticky_footer.js')}"></script> <!--
-<script src="${static.url('js/sticky_footer.js')}"></script>
-->
<script src="${static.url('js/toggle_login_modal.js')}"></script> <script src="${static.url('js/toggle_login_modal.js')}"></script>
<script src="${static.url('js/sticky_filter.js')}"></script> <script src="${static.url('js/sticky_filter.js')}"></script>
......
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