From b30c17a4999f390f2f06824256d2e0cc07a4eac7 Mon Sep 17 00:00:00 2001 From: Jack Pearkes Date: Mon, 28 Jul 2014 10:28:41 -0400 Subject: [PATCH] website: add website deploy, tweak fonts --- scripts/website_push.sh | 12 ++++++++++++ website/source/stylesheets/_global.less | 1 - website/source/stylesheets/_home.less | 8 ++++---- website/source/stylesheets/main.css | 6 +++--- 4 files changed, 19 insertions(+), 8 deletions(-) create mode 100755 scripts/website_push.sh diff --git a/scripts/website_push.sh b/scripts/website_push.sh new file mode 100755 index 000000000..fafcbd70c --- /dev/null +++ b/scripts/website_push.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Get the parent directory of where this script is. +SOURCE="${BASH_SOURCE[0]}" +while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done +DIR="$( cd -P "$( dirname "$SOURCE" )/.." && pwd )" + +# Change into that directory +cd $DIR + +# Push the subtree (force) +git push heroku `git subtree split --prefix website master`:master --force diff --git a/website/source/stylesheets/_global.less b/website/source/stylesheets/_global.less index 47fd755f6..1c19e5649 100755 --- a/website/source/stylesheets/_global.less +++ b/website/source/stylesheets/_global.less @@ -8,7 +8,6 @@ }*/ body { - .anti-alias() color: @black; background-color: @black; font-size: 15px; diff --git a/website/source/stylesheets/_home.less b/website/source/stylesheets/_home.less index f402f9894..841a0c2b7 100755 --- a/website/source/stylesheets/_home.less +++ b/website/source/stylesheets/_home.less @@ -22,9 +22,9 @@ p{ font-size: 16px; letter-spacing: 1px; - line-height: 1.5em; + line-height: 1.5em; font-family: @font-family-lato; - font-weight: @font-weight-lato-sb; + font-weight: 300; } .icn{ @@ -85,7 +85,7 @@ p{ text-align: right; padding-left: 120px; - font-weight: 100; + font-weight: 300; } .it-icon{ @@ -256,7 +256,7 @@ margin-bottom: 0; font-size: 16px; letter-spacing: 1px; - line-height: 1.5em; + line-height: 1.5em; color: @gray-light; font-weight: 400; } diff --git a/website/source/stylesheets/main.css b/website/source/stylesheets/main.css index d599fbdc8..2619b1e69 100644 --- a/website/source/stylesheets/main.css +++ b/website/source/stylesheets/main.css @@ -688,7 +688,7 @@ body.page-home #footer { text-align: center; visibility: hidden; font-family: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: 300; + font-weight: 100; -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); -ms-transform: translate3d(0, 0, 0); @@ -1021,7 +1021,7 @@ body.page-home #footer { letter-spacing: 1px; line-height: 1.5em; font-family: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: 500; + font-weight: 300; } .feature .icn { display: block; @@ -1089,7 +1089,7 @@ body.page-home #footer { #feature-iterate p { text-align: right; padding-left: 120px; - font-weight: 100; + font-weight: 300; } #feature-iterate .it-icon { margin-top: 40px;