Skip to content

Commit

Permalink
css: Clean up fonts
Browse files Browse the repository at this point in the history
- Remove unused fonts
- Remove NanumBarunGothic font for compatibility

Also see: Yona Github issue #191
  • Loading branch information
doortts committed Mar 26, 2017
1 parent 769678f commit 6d6507f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
15 changes: 0 additions & 15 deletions app/assets/stylesheets/less/_markdown.less
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
// readme style
@font-face {
font-family: 'NanumBarunGothicWeb';
src: url('https://cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebLight.woff') format('woff');
}

@font-face {
font-family: 'Nanum Barun Gothic Light';
font-style: normal;
font-weight: 400;
src: local('NanumBarunGothicOTF Light'), local('Nanum Barun Gothic Light'), local('Nanum Barun Gothic-Light'), local('NanumBarunGothicLight');
src: url(https://cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebLight.eot);
src: url(https://cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebLight.eot?#iefix) format('embedded-opentype'), local(''), url(https://cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWebLight.woff) format('woff')
}

code {
white-space: inherit;
word-break: break-all;
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/less/_variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
@base-webfont-path: "../images/webfont";

// Typography
@base-font-family: "Noto Sans", "New Roboto", "Helvetica Neue", "Helvetica", "Apple SD Gothic Neo", "나눔바른고딕", "NanumBarunGothic", "NanumBarunGothicOTF", "Arial", "나눔고딕", "NanumGothic", "NanumGothicOTF", "맑은 고딕", -apple-system, BlinkMacSystemFont, sans-serif;
@base-font-family: "Noto Sans", "New Roboto", "Helvetica Neue", "Helvetica", "Apple SD Gothic Neo", "Arial", "나눔고딕", "NanumGothic", "NanumGothicOTF", "맑은 고딕", -apple-system, BlinkMacSystemFont, sans-serif;
@fixed-font-family: Consolas, "Menlo", "Monaco", "Ubuntu Mono", "source-code-pro", monospace;

@base-font-size : 13px;
Expand Down

0 comments on commit 6d6507f

Please sign in to comment.