Commit aeb5357e by Kyle Fiedler

added more style to enroll buttons

--HG--
branch : kf-login-errors
parent 3636bb47
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<p>6.002x (Circuits and Electronics) is an experimental on-line adaptation of MIT&rsquo;s first undergraduate analog design course: 6.002. This course will run, free of charge, for students worldwide from March 1, 2012 through June 8, 2012.</p> <p>6.002x (Circuits and Electronics) is an experimental on-line adaptation of MIT&rsquo;s first undergraduate analog design course: 6.002. This course will run, free of charge, for students worldwide from March 1, 2012 through June 8, 2012.</p>
</section> </section>
</%block> </%block>
<%block name="header_class">course</%block> <%block name="header_class">course</%block>
<section class="index-content"> <section class="index-content">
......
...@@ -87,7 +87,6 @@ function postJSON(url, data, callback) { ...@@ -87,7 +87,6 @@ function postJSON(url, data, callback) {
<%block name="bodyextra"/> <%block name="bodyextra"/>
<footer> <footer>
<!-- Template based on a design from http://www.dotemplate.com/ - Donated $10 (pmitros) so we don't need to include credit. -->
<div class="footer-wrapper"> <div class="footer-wrapper">
<p> Copyright &copy; 2012. MIT. <a href="/t/copyright.html">Some rights reserved.</a></p> <p> Copyright &copy; 2012. MIT. <a href="/t/copyright.html">Some rights reserved.</a></p>
......
...@@ -48,19 +48,21 @@ ...@@ -48,19 +48,21 @@
.button { .button {
@include border-radius(3px); @include border-radius(3px);
@include border-radius(3px);
@include inline-block(); @include inline-block();
@include transition(); @include transition();
background-color: $mit-red; background-color: $mit-red;
border: 1px solid darken($mit-red, 10%);
color: #fff; color: #fff;
margin: lh() 0 lh(.5); margin: lh() 0 lh(.5);
padding: lh(.25) lh(.5); padding: lh(.25) lh(.5);
text-decoration: none; text-decoration: none;
font-style: normal; font-style: normal;
@include box-shadow(inset 0 1px 0 lighten($mit-red, 8%));
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
&:hover { &:hover {
background-color: darken($mit-red, 10%); background-color: darken($mit-red, 10%);
border-color: darken($mit-red, 20%);
} }
span { span {
......
...@@ -167,13 +167,16 @@ header.announcement { ...@@ -167,13 +167,16 @@ header.announcement {
a { a {
@extend .button; @extend .button;
background-color: darken($mit-red, 20%); @include box-shadow(inset 0 1px 0 darken($mit-red, 5%), 0 1px 0 lighten($mit-red, 5%));
background-color: darken($mit-red, 10%);
display: block; display: block;
padding: lh(.5) lh(); padding: lh(.5) lh();
border-color: darken($mit-red, 20%);
text-align: center; text-align: center;
&:hover { &:hover {
background-color: darken($mit-red, 10%); background-color: darken($mit-red, 20%);
border-color: darken($mit-red, 30%);
} }
} }
} }
...@@ -410,11 +413,12 @@ section.index-content { ...@@ -410,11 +413,12 @@ section.index-content {
&.cta { &.cta {
width: 100%; width: 100%;
text-align: center;
a.enroll { a.enroll {
@extend .button; @extend .button;
padding: lh(.5) lh(); padding: lh(.5) lh(1.5);
display: block; @include inline-block();
text-align: center; text-align: center;
font: 800 18px $header-font-family; font: 800 18px $header-font-family;
} }
......
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