From cc64762653e1958e8fd68cf4b99e3b1ef093d22a Mon Sep 17 00:00:00 2001 From: Kyle Fiedler Date: Wed, 25 Jan 2012 15:00:58 -0500 Subject: [PATCH 1/2] Clean up on marketing styles --- index.html | 2 +- sass/_base.scss | 4 ++++ sass/_index.scss | 17 +++++++++++++---- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 634b101d5d..923d401888 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@
diff --git a/sass/_base.scss b/sass/_base.scss index db8b718fb7..4ceba8b593 100644 --- a/sass/_base.scss +++ b/sass/_base.scss @@ -1,3 +1,7 @@ +:focus { + outline-color: #ccc; +} + h1 { font-size:1.6em; margin:20px 0 10px 0; diff --git a/sass/_index.scss b/sass/_index.scss index 7703412cb4..e5886548e5 100644 --- a/sass/_index.scss +++ b/sass/_index.scss @@ -103,6 +103,10 @@ body { color: #444; font: $body-font-size $body-font-family; + :focus { + outline-color: #ccc; + } + h1 { font: 800 24px $header-font-family; } @@ -188,16 +192,20 @@ header.announcement { @include border-radius(0 0 3px 3px); background: #333; background: rgba(#000, .7); - padding: lh(.5); + padding: lh(.5) lh(); h1 { @include inline-block(); - margin-right: lh(); + margin-right: lh(.5); a { font: italic 800 18px $header-font-family; color: #fff; text-decoration: none; + + &:hover, &:focus { + color: $mit-red; + } } } @@ -206,9 +214,10 @@ header.announcement { color: #fff; font-size: 12px; font-style: normal; + font-family: $header-font-family; - &:hover { - color: rgba(#fff, .6); + &:hover, &:focus { + color: $mit-red; } } } From 5188826e1a8652525f896f72ba63b992019af7c0 Mon Sep 17 00:00:00 2001 From: Kyle Fiedler Date: Thu, 26 Jan 2012 12:59:26 -0500 Subject: [PATCH 2/2] fix more minor things with the layout --- main.html | 2 +- marketing.html | 4 ++++ sass/_profile.scss | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/main.html b/main.html index 5e8fcc6136..c1d5f90a9d 100644 --- a/main.html +++ b/main.html @@ -18,7 +18,7 @@ diff --git a/marketing.html b/marketing.html index 4c75eb55d3..585da9d057 100644 --- a/marketing.html +++ b/marketing.html @@ -18,6 +18,10 @@ + +