From b12cb56412d63c263d5c6517c41be4a6035de1e4 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Thu, 4 Feb 2016 13:55:43 +0100 Subject: [PATCH] switch to Fira Regular --- _src/_assets/styles/bigchain/_fonts.scss | 13 ++++++------- _src/_assets/styles/bigchain/_hero.scss | 2 +- _src/_assets/styles/bigchain/_variables.scss | 10 +++++----- _src/community.html | 2 +- gulpfile.js | 2 +- 5 files changed, 14 insertions(+), 15 deletions(-) diff --git a/_src/_assets/styles/bigchain/_fonts.scss b/_src/_assets/styles/bigchain/_fonts.scss index da3dc79..008df73 100644 --- a/_src/_assets/styles/bigchain/_fonts.scss +++ b/_src/_assets/styles/bigchain/_fonts.scss @@ -4,13 +4,12 @@ // bigchain.io // - -@font-face{ +@font-face { font-family: 'Fira Sans'; - src: local('Fira Sans Light'), - url('/assets/fonts/FiraSans-Light.woff2') format('woff2'), - url('/assets/fonts/FiraSans-Light.woff') format('woff'), - url('/assets/fonts/FiraSans-Light.ttf') format('truetype'); - font-weight: 300; + src: local('Fira Sans Regular'), + url('/assets/fonts/FiraSans-Regular.woff2') format('woff2'), + url('/assets/fonts/FiraSans-Regular.woff') format('woff'), + url('/assets/fonts/FiraSans-Regular.ttf') format('truetype'); + font-weight: 400; font-style: normal; } diff --git a/_src/_assets/styles/bigchain/_hero.scss b/_src/_assets/styles/bigchain/_hero.scss index 8ee34ea..4a83f9d 100644 --- a/_src/_assets/styles/bigchain/_hero.scss +++ b/_src/_assets/styles/bigchain/_hero.scss @@ -21,7 +21,7 @@ $menu-height-md: 73px; .logo--full { fill-opacity: .8; margin: 0 auto; - max-width: 31em; + max-width: 25em; } .section-title { diff --git a/_src/_assets/styles/bigchain/_variables.scss b/_src/_assets/styles/bigchain/_variables.scss index f06a4ea..1c9dfbd 100644 --- a/_src/_assets/styles/bigchain/_variables.scss +++ b/_src/_assets/styles/bigchain/_variables.scss @@ -30,10 +30,10 @@ $brand-danger: #c9726a !default; // // Typography // -$font-family-fira: 'Fira Sans', sans-serif !default; -$font-family-avenir: 'Avenir Next', 'Helvetica Neue', 'Arial', sans-serif !default; -$font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace !default; -$font-family-base: $font-family-avenir !default; +$font-family-fira: 'Fira Sans', sans-serif !default; +$font-family-avenir: 'Avenir Next', 'Helvetica Neue', 'Arial', sans-serif !default; +$font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace !default; +$font-family-base: $font-family-avenir !default; $font-weight-light: 300 !default; $font-weight-normal: 400 !default; @@ -58,7 +58,7 @@ $font-size-h6: 0.85rem !default; $line-height: 1.5 !default; $headings-font-family: $font-family-fira !default; -$headings-font-weight: $font-weight-light !default; +$headings-font-weight: $font-weight-normal !default; $headings-line-height: 1.2 !default; $headings-color: $brand-main-blue-light !default; diff --git a/_src/community.html b/_src/community.html index d448fb4..6700d51 100644 --- a/_src/community.html +++ b/_src/community.html @@ -40,7 +40,7 @@ title: Community

- Read Code of Conduct + Read Code of Conduct

diff --git a/gulpfile.js b/gulpfile.js index f0a60fc..14fae7f 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -216,7 +216,7 @@ gulp.task('images', function() { // gulp.task('fonts', function() { return gulp.src([ - './node_modules/fira/**/FiraSans-Light.{eot,ttf,woff,woff2}' + './node_modules/fira/**/FiraSans-Regular.{eot,ttf,woff,woff2}' ]) .pipe($.rename({dirname: ''})) .pipe(gulp.dest(DIST + 'assets/fonts/'));