-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #310 from usebedrock/feature/node-icon-fonts
Node icon fonts
- Loading branch information
Showing
7 changed files
with
429 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,4 @@ | ||
/* | ||
Icon Font: icon-font | ||
*/ | ||
|
||
@font-face { | ||
font-family: "icon-font"; | ||
src: url("/fonts/icon-font.eot"); | ||
src: url("/fonts/icon-font.eot?#iefix") format("embedded-opentype"), | ||
url("/fonts/icon-font.woff2") format("woff2"), | ||
url("/fonts/icon-font.woff") format("woff"), | ||
url("/fonts/icon-font.ttf") format("truetype"), | ||
url("/fonts/icon-font.svg#icon-font") format("svg"); | ||
font-weight: normal; | ||
font-style: normal; | ||
} | ||
|
||
@media screen and (-webkit-min-device-pixel-ratio:0) { | ||
@font-face { | ||
font-family: "icon-font"; | ||
src: url("/fonts/icon-font.svg#icon-font") format("svg"); | ||
} | ||
} | ||
|
||
[data-icon]:before { content: attr(data-icon); } | ||
|
||
[data-icon]:before, | ||
.if-example:before { | ||
display: inline-block; | ||
font-family: "icon-font"; | ||
font-style: normal; | ||
font-weight: normal; | ||
font-variant: normal; | ||
line-height: 1; | ||
text-decoration: inherit; | ||
text-rendering: optimizeLegibility; | ||
text-transform: none; | ||
-moz-osx-font-smoothing: grayscale; | ||
-webkit-font-smoothing: antialiased; | ||
font-smoothing: antialiased; | ||
} | ||
|
||
.if-example:before { content: "\f100"; } | ||
// This is an empty placeholder file. You need this | ||
// when you use icon font generation in Bedrock. | ||
// Check out README.md on how to enable | ||
// icon font generation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.