From cc64762653e1958e8fd68cf4b99e3b1ef093d22a Mon Sep 17 00:00:00 2001 From: Kyle Fiedler Date: Wed, 25 Jan 2012 15:00:58 -0500 Subject: [PATCH 01/12] 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 042e1fdf8c93dc62440d217e014748c4a0c8352a Mon Sep 17 00:00:00 2001 From: Ernie Park Date: Thu, 26 Jan 2012 11:27:42 -0500 Subject: [PATCH 02/12] remove fancybox references for css/js --- main.html | 3 --- marketing.html | 3 --- 2 files changed, 6 deletions(-) diff --git a/main.html b/main.html index b90bdd6b61..0711f7e274 100644 --- a/main.html +++ b/main.html @@ -21,9 +21,6 @@ - - - - - - From dd6c6e540f92c9eb6439021c41ae40ea4e934a9e Mon Sep 17 00:00:00 2001 From: Bridger Maxwell Date: Thu, 26 Jan 2012 12:51:49 -0500 Subject: [PATCH 03/12] Added styling for alternating wiki history rows. --- sass/_wiki.scss | 8 +++++++- simplewiki_history.html | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/sass/_wiki.scss b/sass/_wiki.scss index b26fe2c6ad..aed8d34ef3 100644 --- a/sass/_wiki.scss +++ b/sass/_wiki.scss @@ -129,5 +129,11 @@ div.wiki-wrapper { p { line-height: 1.6em; } + + #wiki_history_table { + tr.dark { + background-color: $light-gray; + } + } } -} +} \ No newline at end of file diff --git a/simplewiki_history.html b/simplewiki_history.html index c5c873ed3b..efeeb95430 100644 --- a/simplewiki_history.html +++ b/simplewiki_history.html @@ -60,10 +60,10 @@ ${ wiki_article.title } %if wiki_prev_page: - trans "Previous page" + Previous page %endif %if wiki_next_page: - "Next page" + Next page %endif From 5188826e1a8652525f896f72ba63b992019af7c0 Mon Sep 17 00:00:00 2001 From: Kyle Fiedler Date: Thu, 26 Jan 2012 12:59:26 -0500 Subject: [PATCH 04/12] 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 @@ + +