Skip to content

Commit

Permalink
Update CSS files
Browse files Browse the repository at this point in the history
  • Loading branch information
sungsit committed Feb 5, 2017
1 parent eacd457 commit 509c93c
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 40 deletions.
8 changes: 8 additions & 0 deletions FONTLOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ cover:
excerpt: "BoonTook FONTLOG"
---

### BoonTook v3.0, 2017-02-05
{: .section-title }

- Added new building process
- Used generic names for all fonts
- Corrected OS/2 Style Map for Windows
- Removed EOT & SVG font packages

### BoonTook v2.0.1, 2015-12-02
{: .section-title }

Expand Down
16 changes: 8 additions & 8 deletions css/boontook-all.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/boontook-all.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions css/boontook-all.scss
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
// Theme-specific fonts
@mixin font-include($family, $name, $weight, $style) {
font-family: $family;
src: url(../fonts/woff2/#{$name}.woff2) format('woff2'),
url(../fonts/woff/#{$name}.woff) format('woff'),
url(../fonts/ttf/#{$name}.ttf) format('truetype');
src: url(../fonts/woff2-otf/#{$name}.woff2) format('woff2'),
url(../fonts/woff-otf/#{$name}.woff) format('woff'),
url(../fonts/otf/#{$name}.ttf) format('truetype');
font-weight: $weight;
font-style: $style;
}

@font-face {
@include font-include("BoonTook", BoonTook, 400, normal);
@include font-include("BoonTook", BoonTook-Regular, 400, normal);
}
@font-face {
@include font-include("BoonTook", BoonTook-Oblique, 400, oblique);
@include font-include("BoonTook", BoonTook-Italic, 400, italic);
}

@font-face {
@include font-include("BoonTook Mon", BoonTook-Mon, 400, normal);
@include font-include("BoonTook Mon", BoonTookMon-Regular, 400, normal);
}
@font-face {
@include font-include("BoonTook Mon", BoonTook-Mon-Oblique, 400, oblique);
@include font-include("BoonTook Mon", BoonTookMon-Italic, 400, italic);
}

// Font options
Expand All @@ -30,8 +30,8 @@
}

.boontook { @include font-class("BoonTook", normal); }
.boontook-oblique { @include font-class("BoonTook", oblique); }
.boontook-italic,.boontook-oblique { @include font-class("BoonTook", italic); }
.boontook-mon { @include font-class("BoonTook Mon", normal); }
.boontook-mon-oblique { @include font-class("BoonTook Mon", oblique); }
.boontook-mon-italic,.boontook-mon-oblique { @include font-class("BoonTook Mon", italic); }


20 changes: 10 additions & 10 deletions css/boontook.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 509c93c

Please sign in to comment.