From 5c2f4d49d81b96bb9262bee10701f98d67c768c5 Mon Sep 17 00:00:00 2001 From: Jack Pearkes Date: Mon, 28 Jul 2014 13:10:23 -0400 Subject: [PATCH] website: more font fixes --- website/source/stylesheets/_global.less | 6 +++++- website/source/stylesheets/_home.less | 8 ++++---- website/source/stylesheets/main.css | 17 ++++++++++++----- 3 files changed, 21 insertions(+), 10 deletions(-) diff --git a/website/source/stylesheets/_global.less b/website/source/stylesheets/_global.less index 8f18c639a..932d6098a 100755 --- a/website/source/stylesheets/_global.less +++ b/website/source/stylesheets/_global.less @@ -8,7 +8,7 @@ }*/ body { - -webkit-font-smoothing: antialiased; + -webkit-font-smoothing: subpixel-antialiased; color: @black; background-color: @black; font-size: 15px; @@ -16,6 +16,10 @@ body { font-weight: 500; } + +h1, h2, h3, h4, h5 { + -webkit-font-smoothing: antialiased; +} h1{ font-size: 42px; line-height: 42px; diff --git a/website/source/stylesheets/_home.less b/website/source/stylesheets/_home.less index 841a0c2b7..bb476b5b2 100755 --- a/website/source/stylesheets/_home.less +++ b/website/source/stylesheets/_home.less @@ -344,18 +344,18 @@ min-height: 140px; padding: 20px; font-size: 15px; - font-weight: normal; font-family: "Courier New", Monaco, Menlo, Consolas, monospace; color: @white; background-color: transparent; overflow:auto; + font-weight: 500; + -webkit-font-smoothing: subpixel-antialiased; .txt-r { - color: lighten(@red, 8%);; + color: lighten(@red, 17%);; } .txt-p { - font-weight: bold; - color: lighten(@green, 10%); + color: lighten(@green, 2%); } p{ margin-bottom: 2px; diff --git a/website/source/stylesheets/main.css b/website/source/stylesheets/main.css index 95bd7f909..2f0678fcd 100644 --- a/website/source/stylesheets/main.css +++ b/website/source/stylesheets/main.css @@ -19,13 +19,20 @@ -webkit-font-smoothing: antialiased; }*/ body { - -webkit-font-smoothing: antialiased; + -webkit-font-smoothing: subpixel-antialiased; color: #000000; background-color: #000000; font-size: 15px; font-family: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 500; } +h1, +h2, +h3, +h4, +h5 { + -webkit-font-smoothing: antialiased; +} h1 { font-size: 42px; line-height: 42px; @@ -1331,18 +1338,18 @@ body.page-home #footer { min-height: 140px; padding: 20px; font-size: 15px; - font-weight: normal; font-family: "Courier New", Monaco, Menlo, Consolas, monospace; color: #ffffff; background-color: transparent; overflow: auto; + font-weight: 500; + -webkit-font-smoothing: subpixel-antialiased; } #demos .terminals .terminal-item .terminal .terminal-window .txt-r { - color: #e47078; + color: #eb979d; } #demos .terminals .terminal-item .terminal .terminal-window .txt-p { - font-weight: bold; - color: #87ee8e; + color: #64e86c; } #demos .terminals .terminal-item .terminal .terminal-window p { margin-bottom: 2px;