From 84927c6b9d5a4dd583b4c67f58b27210ef3ff39f Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 24 Jun 2013 16:51:26 -0700 Subject: [PATCH] website: hacks on hacks to center the download link --- website/source/index.html.erb | 4 +++- website/source/stylesheets/_components.scss | 10 ++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/website/source/index.html.erb b/website/source/index.html.erb index 17d645121..fb1ec5824 100644 --- a/website/source/index.html.erb +++ b/website/source/index.html.erb @@ -14,9 +14,10 @@
- diff --git a/website/source/stylesheets/_components.scss b/website/source/stylesheets/_components.scss index f923c1568..59b8579e8 100644 --- a/website/source/stylesheets/_components.scss +++ b/website/source/stylesheets/_components.scss @@ -31,11 +31,20 @@ header .header { .download-container { background: url(/images/down_arrow.png) no-repeat top left; + display: inline-block; min-height: 73px; margin: 0 auto; padding-left: 100px; } + .download-row { + text-align: center; + + .small { + text-align: left; + } + } + h2 { font-family: $serif; font-size: 38px; @@ -45,6 +54,7 @@ header .header { padding-top: 7px; padding-bottom: 3px; line-height: 1.0; + white-space: nowrap; &:hover { color: $dark-background;