1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-22 01:36:55 +01:00

switch to Fira Regular

This commit is contained in:
Matthias Kretschmann 2016-02-04 13:55:43 +01:00
parent 32c4c2979b
commit b12cb56412
5 changed files with 14 additions and 15 deletions

View File

@ -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;
}

View File

@ -21,7 +21,7 @@ $menu-height-md: 73px;
.logo--full {
fill-opacity: .8;
margin: 0 auto;
max-width: 31em;
max-width: 25em;
}
.section-title {

View File

@ -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;

View File

@ -40,7 +40,7 @@ title: Community
</header>
<p>
<a href="https://github.com/ascribe/bigchain/blob/master/CODE_OF_CONDUCT.md" class="btn btn-secondary btn-sm">Read Code of Conduct</a>
<a href="https://github.com/ascribe/bigchain/blob/master/CODE_OF_CONDUCT.md" class="btn btn-primary btn-sm">Read Code of Conduct</a>
</p>
</div>
</section>

View File

@ -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/'));