Commit 8a748824 by Galen Frechette

cleans up course info/profile page

parent a0e23ce4
.grid-container {
display: none;
> * {
float: left;
height: 20px;
.course-info {
.container {
margin-bottom: 60px;
}
.grid {
background: #FFD3DC;
margin-right: flex-gutter();
width: flex-grid(1);
header.course-profile {
background: rgb(240,240,240);
@include background-image(linear-gradient(-90deg, rgb(230,230,230), rgb(245,245,245)));
@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 {
margin-right: 0px;
};
&::before {
@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 {
background: #E3FFDA;
display:none;
width: $fg-gutter();
}
}
.intro {
@include clearfix;
float: left;
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 {
h1, h2, h3, h4, h5, h6 {
font-family: $sans-serif;
font-weight: bold;
&::after {
@include 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;
width: 100%;
}
font-size: 16px;
> * {
@include box-sizing(border-box);
margin-top: 20px;
}
a {
font-family: $serif;
font-size: 16px;
}
h1 {
font: bold 2.8rem/3.2rem $sans-serif;
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 {
font-size: 2em;
}
//text-align: center;
h3 {
font-size: 1.4em;
}
a {
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 {
// color: rgb(102,102,102);
&:hover {
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 {
display: none;
}
.actions {
float: left;
padding-top: 5px;
position: relative;
width: flex-grid(4);
z-index: 2;
.button {
@include button(simple, $blue);
a.register {
@include button(shiny, $blue);
@include box-sizing(border-box);
@include border-bottom-left-radius(0px);
@include border-top-left-radius(0px);
@include border-radius(3px);
display: block;
font-size: 1.6em;
left: flex-grid(8) + flex-gutter();
padding-top: 1.5em;
@include position(absolute, -1px -1px -1px 0);
font: italic 1.2rem/1.6rem $serif;
margin-bottom: 10px;
padding: 10px 0px;
text-transform: uppercase;
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 {
@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)));
@include position(absolute, 0px 0 0px 0px);
.social-sharing {
background: rgb(230,230,230);
height: 40px;
}
}
}
h3 {
color: #999;
font-size: 1em;
margin-bottom: .5em;
}
.course-staff {
clear: none;
position: relative;
.teacher {
margin-bottom: 1em;
.container {
@include clearfix;
.teacher-image {
// display: none;
float: left;
margin: 0 10px 5px 0;
nav {
border-bottom: 1px solid rgb(220,220,220);
@include box-sizing(border-box);
@include clearfix;
margin-bottom: 40px;
//text-align: center;
width: flex-grid(12);
img {
}
&::after {
@extend .faded-hr-divider;
content: "";
display: none;
}
.teacher-name {
color: rgb(100,100,100);
font-size: 1.5em;
font-weight: bold;
line-height: 1.3em;
a {
color: $lighter-base-font-color;
@include inline-block;
font: normal 1.2rem/1.6rem $sans-serif;
padding: 30px 20px;
text-align: center;
&:hover, &.active {
background: rgb(240,240,240);
color: $base-font-color;
}
}
} // .course-staff
}
.main-content-wrap {
float: right;
margin-top: 40px;
padding-bottom: 20px;
width: flex-grid(8);
.video {
iframe {
border: 10px solid rgb(106,106,106);
@include border-radius(10px);
display: block;
margin: 0 auto 20px;
}
h2 {
color: $lighter-base-font-color;
margin-bottom: 20px;
text-transform: uppercase;
}
.course-description {
@include box-sizing(border-box);
margin-bottom: 40px;
position: relative;
h3 {
font-size: 2em;
font-weight: bold;
margin-bottom: 1em;
color: $base-font-color;
font-weight: 300;
font-family: $sans-serif;
margin-bottom: 10px;
}
}
.course-times {
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 {
.details {
float: left;
margin-right: 1em;
margin-right: flex-gutter();
width: flex-grid(8);
strong {
display: block;
}
}
.inner-wrapper {
//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 {
list-style-type: none;
font-size: 0;
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;
.course-staff {
.teacher {
margin-bottom: 30px;
&.enabled {
color: #fff;
@include linear-gradient($blue, darken($blue, 5%));
&::after {
@extend .faded-hr-divider;
content: "";
display: block;
margin-top: 30px;
}
&:hover {
cursor: pointer;
background: #ddd;
&:last-child {
&::after {
display: none;
}
}
&.enabled {
@include linear-gradient(darken($blue, 5%), darken($blue, 10%));
color: #fff;
.teacher-image {
background: rgb(255,255,255);
border: 1px solid rgb(200,200,200);
float: left;
margin: 0 15px 15px 0;
padding: 1px;
}
}
}
}
.tabs-content {
section.tab {
display: none;
margin-top: 0;
padding-top: 30px;
.course-sidebar {
@include box-sizing(border-box);
float: left;
padding-top: 40px;
width: flex-grid(4);
h3 {
margin-bottom: .5em;
font-size: 1.5em;
font-weight: bold;
}
color: $lighter-base-font-color;
font-family: $serif;
font-weight: 300;
margin-bottom: 15px;
text-transform: uppercase;
}
section {
margin-top: 30px;
color: #666;
}
}
> section {
border: 1px solid rgb(220,220,220);
@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 {
list-style: none outside;
line-height: 1.5em;
&:last-child {
border: none;
margin: 0;
padding: 0;
}
li {
> span {
margin-left: 20px;
}
}
}
}
} //.syllabus
.faq {
ul {
list-style: none outside;
.media {
border: 1px solid rgb(200,200,200);
@include box-sizing(border-box);
margin-bottom: 20px;
padding: 1px;
width: flex-grid(12);
li {
margin-bottom: 1em;
.hero {
height: 180px;
overflow: hidden;
p {
margin-left: 2em;
}
img {
min-width: 100%;
}
}
} // .faq
.more-info {
p {
margin-left: 2em;
}
}
} //.main-info-wrap
}
......@@ -57,16 +57,6 @@
text-overflow: ellipsis;
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 {
......
......@@ -362,7 +362,7 @@ a:link, a:visited {
.container:after {
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: -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));
......@@ -1785,14 +1785,6 @@ header.app {
text-shadow: 0 1px rgba(255, 255, 255, 0.6);
text-overflow: ellipsis;
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 {
border-left: 1px solid rgba(150, 150, 150, 0.5);
-webkit-box-sizing: border-box;
......@@ -3394,276 +3386,283 @@ nav.course-material {
text-align: center;
z-index: 2; }
.grid-container {
display: none; }
.grid-container > * {
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 {
.course-info .container {
margin-bottom: 60px; }
.course-info header.course-profile {
background: #f0f0f0;
border: 1px solid #c8c8c8;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-o-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: inset 0 0 1px 1px white;
-moz-box-shadow: inset 0 0 1px 1px white;
box-shadow: inset 0 0 1px 1px white;
padding: 20px;
padding-left: 10.526%;
padding-right: 34.008%;
background-image: -webkit-linear-gradient(-90deg, #e6e6e6, #f5f5f5);
background-image: -moz-linear-gradient(-90deg, #e6e6e6, #f5f5f5);
background-image: -ms-linear-gradient(-90deg, #e6e6e6, #f5f5f5);
background-image: -o-linear-gradient(-90deg, #e6e6e6, #f5f5f5);
background-image: linear-gradient(-90deg, #e6e6e6, #f5f5f5);
-webkit-box-shadow: 0 1px 80px 0 rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 1px 80px 0 rgba(0, 0, 0, 0.5);
box-shadow: 0 1px 80px 0 rgba(0, 0, 0, 0.5);
border-bottom: 1px solid #c8c8c8;
-webkit-box-shadow: inset 0 1px 5px 0 rgba(0, 0, 0, 0.1);
-moz-box-shadow: inset 0 1px 5px 0 rgba(0, 0, 0, 0.1);
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;
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;
max-height: 86px;
max-width: 8.502%;
margin-right: 2.024%;
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;
top: 10px;
left: 10px;
vertical-align: middle; }
.course-info header h2 {
margin-bottom: .5em; }
.course-info header h2 .course-number {
color: #a0a0a0; }
.course-info header .course-abstract {
display: none; }
.course-info header .button {
border: 1px solid #0d72a2;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: inset 0 1px 0 0 #61b8e1;
-moz-box-shadow: inset 0 1px 0 0 #61b8e1;
box-shadow: inset 0 1px 0 0 #61b8e1;
width: 100%; }
.course-info header.course-profile .intro-inner-wrapper .intro > hgroup h1 {
font: bold 2.8rem/3.2rem "Open Sans", Verdana, Geneva, sans-serif;
margin-bottom: 0px;
text-shadow: 0 1px rgba(255, 255, 255, 0.6); }
.course-info header.course-profile .intro-inner-wrapper .intro > hgroup h1 span {
color: #a0a0a0;
display: none;
font: 300 1.2rem/3rem "Open Sans", Verdana, Geneva, sans-serif; }
.course-info header.course-profile .intro-inner-wrapper .intro > hgroup h2 a {
color: #a0a0a0;
font: italic bold 1.4rem/1.6rem "Open Sans", Verdana, Geneva, sans-serif;
text-shadow: 0 1px rgba(255, 255, 255, 0.6); }
.course-info header.course-profile .intro-inner-wrapper .intro > hgroup h2 a:hover {
color: #1d9dd9; }
.course-info header.course-profile .intro-inner-wrapper .actions {
float: left;
padding-top: 5px;
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;
display: inline;
font-size: 11px;
font-size: 14px;
font-weight: bold;
background-color: #1d9dd9;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #1d9dd9), color-stop(100%, #0e7cb0));
background-image: -webkit-linear-gradient(top, #1d9dd9, #0e7cb0);
background-image: -moz-linear-gradient(top, #1d9dd9, #0e7cb0);
background-image: -ms-linear-gradient(top, #1d9dd9, #0e7cb0);
background-image: -o-linear-gradient(top, #1d9dd9, #0e7cb0);
background-image: linear-gradient(top, #1d9dd9, #0e7cb0);
padding: 6px 18px 7px;
text-shadow: 0 1px 0 #076794;
-webkit-background-clip: padding-box;
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 0%, #006bb8 50%, #0052a9 50%, #0057ab 100%);
background-image: -moz-linear-gradient(top, #1d9dd9 0%, #006bb8 50%, #0052a9 50%, #0057ab 100%);
background-image: -ms-linear-gradient(top, #1d9dd9 0%, #006bb8 50%, #0052a9 50%, #0057ab 100%);
background-image: -o-linear-gradient(top, #1d9dd9 0%, #006bb8 50%, #0052a9 50%, #0057ab 100%);
background-image: linear-gradient(top, #1d9dd9 0%, #006bb8 50%, #0052a9 50%, #0057ab 100%);
padding: 7px 20px 8px;
text-align: center;
text-decoration: none;
text-shadow: 0 -1px 1px #001067;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-border-bottom-left-radius: 0px;
-moz-border-bottom-left-radius: 0px;
-moz-border-radius-bottomleft: 0px;
-ms-border-bottom-left-radius: 0px;
-o-border-bottom-left-radius: 0px;
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;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 3px;
display: block;
font-size: 1.6em;
left: 68.016%;
padding-top: 1.5em;
position: absolute;
top: -1px;
right: -1px;
bottom: -1px;
font: italic 1.2rem/1.6rem Georgia, Cambria, "Times New Roman", Times, serif;
margin-bottom: 10px;
padding: 10px 0px;
text-transform: uppercase;
text-align: center;
vertical-align: middle; }
.course-info header .button: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;
width: 100%; }
.course-info header.course-profile .intro-inner-wrapper .actions a.register:hover {
cursor: pointer;
background-color: #1e8bbe;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #1e8bbe), color-stop(100%, #0e72a1));
background-image: -webkit-linear-gradient(top, #1e8bbe, #0e72a1);
background-image: -moz-linear-gradient(top, #1e8bbe, #0e72a1);
background-image: -ms-linear-gradient(top, #1e8bbe, #0e72a1);
background-image: -o-linear-gradient(top, #1e8bbe, #0e72a1);
background-image: linear-gradient(top, #1e8bbe, #0e72a1); }
.course-info header .button:active {
border: 1px solid #0d72a2;
-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 8px 4px #0d6892, inset 0 0 8px 4px #0d6892, 0 1px 1px 0 #eeeeee;
box-shadow: inset 0 0 8px 4px #0d6892, inset 0 0 8px 4px #0d6892, 0 1px 1px 0 #eeeeee; }
.course-info .sidebar, .course-info section.course-index {
background: white;
float: right;
margin: 93px 0 0 2.024%;
padding: 0 0 20px 2.024%;
padding-bottom: 20px;
position: relative;
width: 31.984%; }
.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 {
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));
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));
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));
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));
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));
position: absolute;
top: 0px;
bottom: 0px;
left: 0px; }
.course-info .sidebar h3, .course-info section.course-index h3 {
color: #999;
font-size: 1em;
margin-bottom: .5em; }
.course-info .sidebar .course-staff, .course-info section.course-index .course-staff {
clear: none;
position: relative; }
.course-info .sidebar .course-staff .teacher, .course-info section.course-index .course-staff .teacher {
margin-bottom: 1em; }
.course-info .sidebar .course-staff .teacher .teacher-image, .course-info section.course-index .course-staff .teacher .teacher-image {
background-color: #108ec7;
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, #108ec7 0%, #005fa6 50%, #004897 50%, #004d9a 100%);
background-image: -moz-linear-gradient(top, #108ec7 0%, #005fa6 50%, #004897 50%, #004d9a 100%);
background-image: -ms-linear-gradient(top, #108ec7 0%, #005fa6 50%, #004897 50%, #004d9a 100%);
background-image: -o-linear-gradient(top, #108ec7 0%, #005fa6 50%, #004897 50%, #004d9a 100%);
background-image: linear-gradient(top, #108ec7 0%, #005fa6 50%, #004897 50%, #004d9a 100%); }
.course-info header.course-profile .intro-inner-wrapper .actions a.register:active {
-webkit-box-shadow: inset 0 0 20px 0 #00295f, 0 1px 0 white;
-moz-box-shadow: inset 0 0 20px 0 #00295f, 0 1px 0 white;
box-shadow: inset 0 0 20px 0 #00295f, 0 1px 0 white; }
.course-info header.course-profile .intro-inner-wrapper .actions .social-sharing {
background: #e6e6e6;
height: 40px; }
.course-info .container {
zoom: 1; }
.course-info .container:before, .course-info .container:after {
content: "";
display: table; }
.course-info .container:after {
clear: both; }
.course-info .container nav {
border-bottom: 1px solid #dcdcdc;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
zoom: 1;
margin-bottom: 40px;
width: 100%; }
.course-info .container nav:before, .course-info .container nav:after {
content: "";
display: table; }
.course-info .container nav:after {
clear: both; }
.course-info .container nav::after {
content: "";
display: none; }
.course-info .container nav a {
color: #a0a0a0;
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;
margin: 0 10px 5px 0; }
.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;
margin-right: 2.024%;
width: 65.992%; }
.course-info .main-content-wrap .video iframe {
border: 10px solid #6a6a6a;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
-ms-border-radius: 10px;
-o-border-radius: 10px;
border-radius: 10px;
.course-info .details .inner-wrapper > section {
margin-bottom: 60px; }
.course-info .details .inner-wrapper > section::after {
content: "";
display: none;
margin-top: 60px; }
.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;
margin: 0 auto 20px; }
.course-info .main-content-wrap .course-description {
margin-top: 30px; }
.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;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin-bottom: 40px;
position: relative; }
.course-info .main-content-wrap .course-description h3 {
font-size: 2em;
font-weight: bold;
margin-bottom: 1em; }
.course-info .main-content-wrap .course-description .course-times {
background: #F0F0F0;
float: left;
padding-top: 40px;
width: 31.984%; }
.course-info .course-sidebar h3 {
color: #a0a0a0;
font-family: Georgia, Cambria, "Times New Roman", Times, serif;
font-weight: 300;
margin-bottom: 15px;
text-transform: uppercase; }
.course-info .course-sidebar > section {
border: 1px solid #dcdcdc;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-o-border-radius: 4px;
border-radius: 4px;
color: #7A7A7A;
font-size: .8em;
padding: .3em 1em;
position: absolute;
top: 0px;
right: 0px;
text-shadow: -1px -1px 0px #e9e9e9; }
.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 {
float: left;
margin-right: 1em; }
.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 {
display: block; }
.course-info .main-content-wrap .course-description .course-times .final {
margin: 0; }
.course-info .main-content-wrap ul.tabs {
list-style-type: none;
font-size: 0;
padding: 0;
margin-top: 40px; }
.course-info .main-content-wrap ul.tabs li {
background: #eee;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
-ms-border-radius: 2px;
-o-border-radius: 2px;
border-radius: 2px;
display: inline-block;
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; }
background: #f5f5f5;
margin-bottom: 20px;
padding: 15px; }
.course-info .course-sidebar > section.dates p {
border-bottom: 1px solid #dcdcdc;
margin-bottom: 15px;
margin-top: 0px;
padding-bottom: 5px; }
.course-info .course-sidebar > section.dates p:last-child {
border: none;
margin: 0;
padding: 0; }
.course-info .course-sidebar > section.dates p > span {
margin-left: 20px; }
.course-info .course-sidebar .media {
border: 1px solid #c8c8c8;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin-bottom: 20px;
padding: 1px;
width: 100%; }
.course-info .course-sidebar .media .hero {
height: 180px;
overflow: hidden; }
.course-info .course-sidebar .media .hero img {
min-width: 100%; }
html {
height: 100%;
......
<%inherit file="main.html" />
<%include file="guest_navigation.html" args="active_page='info'" />
<<<<<<< HEAD
<%namespace name='static' file='static_content.html'/>
<section class="container">
<section class="course-info">
......@@ -112,6 +113,85 @@
<section class="faq tab">
<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>
<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>
......@@ -127,6 +207,7 @@
</li>
</ul>
</section>
<<<<<<< HEAD
<section class="more-info tab">
<section class="who-should-take">
......@@ -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>
</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>
......@@ -4,20 +4,19 @@
%>
%for course in courses:
<article class="course">
<article id="${course.id}"class="course">
<div class="inner-wrapper">
<header class="course-preview">
<a href="${reverse('about_course', args=[course.id])}">
<hgroup>
<h2>${course.title}</h2>
<p>${course.institution}</p>
</hgroup>
<div href="" class="info-link">&#x2794;</div>
<div class="info-link">&#x2794;</div>
</a>
</header>
<section class="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>
</div>
<div class="cover-image">
......
......@@ -67,7 +67,9 @@
<%include file="footer.html" />
<%block name="js_extra"/>
<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/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