From 24481b626975de3673f8aa8b3ccc1060c3da338b Mon Sep 17 00:00:00 2001 From: Jack Pearkes Date: Mon, 28 Jul 2014 08:46:39 -0400 Subject: [PATCH] website: modify font weights --- website/source/layouts/_meta.erb | 2 +- website/source/stylesheets/_global.less | 1 + website/source/stylesheets/_home.less | 16 +++++++-------- website/source/stylesheets/_jumbotron.less | 2 +- website/source/stylesheets/_utilities.less | 2 +- website/source/stylesheets/_variables.less | 2 +- website/source/stylesheets/main.css | 23 +++++++++++----------- 7 files changed, 23 insertions(+), 25 deletions(-) diff --git a/website/source/layouts/_meta.erb b/website/source/layouts/_meta.erb index 65893d0af..9d778d7b5 100644 --- a/website/source/layouts/_meta.erb +++ b/website/source/layouts/_meta.erb @@ -33,4 +33,4 @@ ga('send', 'pageview'); -" class="page-<%= current_page.data.page_title ? "#{current_page.data.page_title} layout-#{current_page.data.layout} page-sub" : "home layout-#{current_page.data.layout}" %>"> \ No newline at end of file +" class="page-<%= current_page.data.page_title ? "#{current_page.data.page_title} layout-#{current_page.data.layout} page-sub" : "home layout-#{current_page.data.layout}" %>"> diff --git a/website/source/stylesheets/_global.less b/website/source/stylesheets/_global.less index 1c19e5649..47fd755f6 100755 --- a/website/source/stylesheets/_global.less +++ b/website/source/stylesheets/_global.less @@ -8,6 +8,7 @@ }*/ 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 b4c16f27d..f402f9894 100755 --- a/website/source/stylesheets/_home.less +++ b/website/source/stylesheets/_home.less @@ -8,7 +8,6 @@ .feature{ padding: 240px 0; .lato-light(); - //.anti-alias(); h2{ text-align: right; @@ -204,9 +203,8 @@ color: white; font-size: 14px; letter-spacing: 1px; - line-height: 1.5em; + line-height: 1.5esm; font-family: @font-family-lato; - font-weight: 100; } @@ -220,12 +218,12 @@ } a { + font-size: 24px; + text-transform: uppercase; + letter-spacing: 3px; + color: white; + .lato-light(); font-weight: 500; - font-size: 24px; - text-transform: uppercase; - letter-spacing: 3px; - color: white; - .lato-light(); &:hover { text-decoration: none; @@ -630,7 +628,7 @@ p{ text-align: right; padding-left: 120px; - font-weight: 100; + font-weight: 300; } .it-icon{ diff --git a/website/source/stylesheets/_jumbotron.less b/website/source/stylesheets/_jumbotron.less index 14b33dbbf..0e7730f18 100755 --- a/website/source/stylesheets/_jumbotron.less +++ b/website/source/stylesheets/_jumbotron.less @@ -124,7 +124,7 @@ visibility:hidden; font-family: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: 200; + font-weight: 100; -webkit-transform:translate3d(0,0,0); -moz-transform:translate3d(0,0,0); diff --git a/website/source/stylesheets/_utilities.less b/website/source/stylesheets/_utilities.less index c8c22896c..92d8df299 100755 --- a/website/source/stylesheets/_utilities.less +++ b/website/source/stylesheets/_utilities.less @@ -25,7 +25,7 @@ .lato-light(){ font-family: @font-family-lato; - font-weight: 200; + font-weight: 300; } .skewY(@skew){ diff --git a/website/source/stylesheets/_variables.less b/website/source/stylesheets/_variables.less index b15013de1..d98086b57 100755 --- a/website/source/stylesheets/_variables.less +++ b/website/source/stylesheets/_variables.less @@ -46,7 +46,7 @@ // ------------------------- @font-family-lato: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif; @font-family-open-sans: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif; -@font-weight-lato-xl: 200; +@font-weight-lato-xl: 300; @font-weight-lato-reg: 300; @font-weight-lato-sb: 500; @font-weight-lato-xb: 700; diff --git a/website/source/stylesheets/main.css b/website/source/stylesheets/main.css index 0d18a2d2e..d599fbdc8 100644 --- a/website/source/stylesheets/main.css +++ b/website/source/stylesheets/main.css @@ -1,6 +1,6 @@ .rls-l { font-family: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: 200; + font-weight: 300; } .rls-sb { font-family: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif; @@ -155,7 +155,7 @@ body.page-sub #header .main-links.nav > li > a:focus { line-height: 56px; font-size: 24px; font-family: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: 200; + font-weight: 300; text-transform: uppercase; background: url(../images/consul-header-logo.png) 0 0 no-repeat; background-image: url("../images/header-logo.png"); @@ -688,7 +688,7 @@ body.page-home #footer { text-align: center; visibility: hidden; font-family: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: 200; + font-weight: 300; -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); -ms-transform: translate3d(0, 0, 0); @@ -1004,7 +1004,7 @@ body.page-home #footer { .feature { padding: 240px 0; font-family: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: 200; + font-weight: 300; } .feature h2 { text-align: right; @@ -1014,7 +1014,7 @@ body.page-home #footer { text-transform: uppercase; color: #822ff7; font-family: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: 200; + font-weight: 300; } .feature p { font-size: 16px; @@ -1204,9 +1204,8 @@ body.page-home #footer { color: white; font-size: 14px; letter-spacing: 1px; - line-height: 1.5em; + line-height: 1.5esm; font-family: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: 100; } #cta .outline-btn { padding: 16px 40px; @@ -1216,13 +1215,13 @@ body.page-home #footer { outline: 0; } #cta a { - font-weight: 500; font-size: 24px; text-transform: uppercase; letter-spacing: 3px; color: white; font-family: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: 200; + font-weight: 300; + font-weight: 500; } #cta a:hover { text-decoration: none; @@ -1253,7 +1252,7 @@ body.page-home #footer { font-size: 28px; color: #9a56f9; font-family: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: 200; + font-weight: 300; } #demos .explantion p { margin-bottom: 0; @@ -1522,7 +1521,7 @@ body.page-home #footer { #feature-iterate p { text-align: right; padding-left: 120px; - font-weight: 100; + font-weight: 300; } #feature-iterate .it-icon { width: 245px; @@ -1769,7 +1768,7 @@ body.layout-intro > .container .col-md-8[role=main] > div { margin-bottom: 24px; border-bottom: 1px solid #eeeeee; font-family: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: 200; + font-weight: 300; } .bs-docs-section h2, .bs-docs-section h3,