Commit 106b56a4 by Kyle Fiedler

added more styles for the marketing pages

parent 7ec5dfae
<%inherit file="marketing.html" /> <%inherit file="marketing.html" />
<header class="announcement"> <header class="announcement home">
<div class="anouncement-wrapper"> <div class="anouncement-wrapper">
<nav> <nav>
<a class="modal login" href="#login">Log In</a> <a class="modal login" href="#login">Log In</a>
......
...@@ -65,9 +65,24 @@ header.announcement { ...@@ -65,9 +65,24 @@ header.announcement {
color: #fff; color: #fff;
border-bottom: 1px solid #000; border-bottom: 1px solid #000;
background: #e3e3e3; background: #e3e3e3;
@include background-size(cover);
&.home {
@media screen and (min-width: 1200px) {
background: #e3e3e3 url("/static/images/marketing/shot-1-large.jpg");
}
@media screen and (max-width: 1199px) and (min-width: 700px) {
background: #e3e3e3 url("/static/images/marketing/shot-1-medium.jpg");
}
// @media screen and (max-width: 699px) {
// background: #e3e3e3 url("/static/images/marketing/course-bg-small.jpg");
// }
}
&.course { &.course {
@include background-size(cover);
@media screen and (min-width: 1200px) { @media screen and (min-width: 1200px) {
background: #e3e3e3 url("/static/images/marketing/course-bg-large.jpg"); background: #e3e3e3 url("/static/images/marketing/course-bg-large.jpg");
...@@ -151,14 +166,13 @@ header.announcement { ...@@ -151,14 +166,13 @@ header.announcement {
a { a {
@extend .button; @extend .button;
background-color: #fff; background-color: darken($mit-red, 20%);
color: #333;
display: block; display: block;
padding: lh(.5) lh(); padding: lh(.5) lh();
text-align: center; text-align: center;
&:hover { &:hover {
background-color: rgba(#fff, .8); background-color: darken($mit-red, 10%);
} }
} }
} }
......
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