From 9b59821bf194287bb13664d64d9faf9b1b56cb7f Mon Sep 17 00:00:00 2001 From: JT Date: Thu, 24 Jul 2014 11:43:14 -0700 Subject: [PATCH] center feature text at 768 --- website/source/index.html.erb | 4 ++-- website/source/stylesheets/_home.less | 16 ++++++++++++++++ website/source/stylesheets/main.css | 9 +++++++++ 3 files changed, 27 insertions(+), 2 deletions(-) diff --git a/website/source/index.html.erb b/website/source/index.html.erb index a93b977f68..799ea4f270 100644 --- a/website/source/index.html.erb +++ b/website/source/index.html.erb @@ -21,11 +21,11 @@
-
+

Automatically build infrastructure from code

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam vestibulum nibh vitae quam dapibus, nec sodales dolor sodales. Class aptent taciti sociosqu ad litora.

-
+

$ terraform apply

diff --git a/website/source/stylesheets/_home.less b/website/source/stylesheets/_home.less index 8c6aeedd07..a4958a072d 100755 --- a/website/source/stylesheets/_home.less +++ b/website/source/stylesheets/_home.less @@ -443,6 +443,14 @@ @media (max-width: 992px) { + + .feature{ + h2,p{ + text-align: center !important; + padding-left: 0 !important; + } + } + #demos{ .terminals{ .terminal-item{ @@ -462,6 +470,14 @@ } @media (max-width: 768px) { + + .feature{ + h2,p{ + text-align: center; + } + } + + #demos{ .terminals{ .terminal-item{ diff --git a/website/source/stylesheets/main.css b/website/source/stylesheets/main.css index 3f10fba3aa..c5992f3e90 100644 --- a/website/source/stylesheets/main.css +++ b/website/source/stylesheets/main.css @@ -1022,11 +1022,20 @@ body.page-home #footer { } } @media (max-width: 992px) { + .feature h2, + .feature p { + text-align: center !important; + padding-left: 0 !important; + } #demos .terminals .terminal-item > header .right { padding-left: 54px; } } @media (max-width: 768px) { + .feature h2, + .feature p { + text-align: center; + } #demos .terminals .terminal-item > header .left span.icn { padding-bottom: 15px; }