Skip to content

Commit

Permalink
Clean up code, add new fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
tholman committed Aug 22, 2013
1 parent d640503 commit d6654cf
Show file tree
Hide file tree
Showing 9 changed files with 192 additions and 165 deletions.
36 changes: 18 additions & 18 deletions css/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
content: attr(data-icon);
speak: none;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
}
Expand All @@ -23,38 +25,36 @@
/*
Instead of a list of all class selectors,
you can use the generic selector below, but it's slower:
[class*="icon-"]:before {
[class*="icon-"] {
*/
.icon-contract:before, .icon-expand:before, .icon-link:before, .icon-twitter:before, .icon-contrast:before, .icon-target:before, .icon-pencil:before, .icon-wrench:before {
.icon-expand, .icon-target, .icon-contrast, .icon-floppy, .icon-contract, .icon-link, .icon-download-alt {
font-family: 'icomoon';
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
font-size: 20px;
}
.icon-contract:before {
content: "\e005";
}
.icon-expand:before {
content: "\e006";
content: "\e000";
}
.icon-link:before {
.icon-target:before {
content: "\e001";
}
.icon-twitter:before {
content: "\e008";
}
.icon-contrast:before {
content: "\e000";
}
.icon-target:before {
content: "\e002";
}
.icon-pencil:before {
content: "\e007";
.icon-floppy:before {
content: "\e003";
}
.icon-contract:before {
content: "\e004";
}
.icon-wrench:before {
content: "\f0ad";
.icon-link:before {
content: "\e005";
}
.icon-download-alt:before {
content: "\e006";
}
64 changes: 30 additions & 34 deletions css/fonts/icomoon.dev.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 modified css/fonts/icomoon.eot
Binary file not shown.
Loading

0 comments on commit d6654cf

Please sign in to comment.