Skip to content

Commit

Permalink
new icons, new iconfont, ignore updates
Browse files Browse the repository at this point in the history
  • Loading branch information
halfmage committed Jul 12, 2019
1 parent ccc7db4 commit 02b80dc
Show file tree
Hide file tree
Showing 11 changed files with 72 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# pixelarticons specific
index.html

# Logs
logs
*.log
Expand Down
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# pixelarticons specific
index.html
Binary file added font/.DS_Store
Binary file not shown.
14 changes: 14 additions & 0 deletions font/pixelarticons.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 font/pixelarticons.ttf
Binary file not shown.
Binary file added font/pixelarticons.woff
Binary file not shown.
3 changes: 3 additions & 0 deletions icons/file-filled.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions icons/file.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions icons/mail-filled.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions icons/mail.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 41 additions & 0 deletions pixelarticons.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
@font-face {
font-family: 'pixelarticons';
src:
url('font/pixelarticons.ttf?b7j7hi') format('truetype'),
url('font/pixelarticons.woff?b7j7hi') format('woff'),
url('font/pixelarticons.svg?b7j7hi#pixelarticons') format('svg');
font-weight: normal;
font-style: normal;
}

[class^="px-"], [class*=" px-"] {
/* use !important to prevent issues with browser extensions that change font */
font-family: 'pixelarticons' !important;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;

/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;

font-size: 52px;
width: 52px;
height: 52px;
}

.px-file:before {
content: "\e900";
}
.px-file-filled:before {
content: "\e901";
}
.px-mail:before {
content: "\e902";
}
.px-mail-filled:before {
content: "\e903";
}

0 comments on commit 02b80dc

Please sign in to comment.