Skip to content

Commit

Permalink
Load fonts locally
Browse files Browse the repository at this point in the history
  • Loading branch information
zessx committed Mar 23, 2015
1 parent 8775357 commit 2ef2a11
Show file tree
Hide file tree
Showing 18 changed files with 10,736 additions and 3,327 deletions.
3,299 changes: 0 additions & 3,299 deletions assets/css/app.css

This file was deleted.

2 changes: 1 addition & 1 deletion assets/css/app.min.css

Large diffs are not rendered by default.

11 changes: 4 additions & 7 deletions assets/css/scss/app.scss
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
@import "base/normalize";

@import "../../vendor/bootstrap/scss/bootstrap";
@import "../../vendor/fontello/scss/fontello";

@import "helpers/variables";
@import "helpers/mixins";
@import "helpers/placeholders";
@import "../../../vendor/bootstrap/scss/bootstrap";
@import "../../../vendor/fontello/scss/fontello";

@import "base/fonts";
@import "base/variables";
@import "base/bootstrap";


@import "layout/header";
@import "layout/content";
@import "layout/footer";
30 changes: 30 additions & 0 deletions assets/css/scss/base/_fonts.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
@font-face {
font-family: "Source Sans Pro";
src: url('../fonts/SourceSansPro-Regular.eot');
src: url('../fonts/SourceSansPro-Regular.eot?#iefix') format('embedded-opentype'),
url('../fonts/SourceSansPro-Regular.woff') format('woff'),
url('../fonts/SourceSansPro-Regular.ttf') format('truetype'),
url('../fonts/SourceSansPro-Regular.svg#open_sanslight') format('svg');
font-weight: normal;
font-style: normal;

}

@font-face {
font-family: "Source Sans Pro ExtraLight";
src: url('../fonts/SourceSansPro-ExtraLight.eot');
src: url('../fonts/SourceSansPro-ExtraLight.eot?#iefix') format('embedded-opentype'),
url('../fonts/SourceSansPro-ExtraLight.woff') format('woff'),
url('../fonts/SourceSansPro-ExtraLight.ttf') format('truetype'),
url('../fonts/SourceSansPro-ExtraLight.svg#open_sansregular') format('svg');
font-weight: normal;
font-style: normal;

}

%font-light {
font-family: "Source Sans Pro ExtraLight", "Trebuchet MS", sans-serif;
}
%font-regular {
font-family: "Source Sans Pro", "Trebuchet MS", sans-serif;
}
3 changes: 3 additions & 0 deletions assets/css/scss/base/_variables.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
$c_dark : #000000;
$c_medium : #e74d3c;
$c_light : #ffffff;
Empty file.
10 changes: 0 additions & 10 deletions assets/css/scss/helpers/_placeholders.scss

This file was deleted.

10 changes: 0 additions & 10 deletions assets/css/scss/helpers/_variables.scss

This file was deleted.

Binary file added assets/fonts/SourceSansPro-ExtraLight.eot
Binary file not shown.
Binary file removed assets/fonts/SourceSansPro-ExtraLight.otf
Binary file not shown.
4,323 changes: 4,323 additions & 0 deletions assets/fonts/SourceSansPro-ExtraLight.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/fonts/SourceSansPro-ExtraLight.ttf
Binary file not shown.
Binary file added assets/fonts/SourceSansPro-ExtraLight.woff
Binary file not shown.
Binary file added assets/fonts/SourceSansPro-Regular.eot
Binary file not shown.
Binary file removed assets/fonts/SourceSansPro-Regular.otf
Binary file not shown.
6,375 changes: 6,375 additions & 0 deletions assets/fonts/SourceSansPro-Regular.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/fonts/SourceSansPro-Regular.ttf
Binary file not shown.
Binary file added assets/fonts/SourceSansPro-Regular.woff
Binary file not shown.

0 comments on commit 2ef2a11

Please sign in to comment.