-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Font-awesome although is in fact awesome, is massive. We're not using every single icon, in fact, we're using only 4 out of 675... It's unreasonable to keep using it. We're preparing our own font and styling, to keep the same approach, with much less MB to be loaded. It also, fixes the issue with [go-libsas][1] we're having, allowing us to move forward with the application. [1]: wellington/go-libsass#52
- Loading branch information
Showing
12 changed files
with
134 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,4 @@ npm-debug.log | |
db/dbconf.yml | ||
vendor/ | ||
cache/ | ||
fonts/ | ||
test/public/ |
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 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
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,56 @@ | ||
@font-face { | ||
font-family: "Social"; | ||
src: url("./fonts/icons.eot"); | ||
src: url("./fonts/icons.eot?#iefix") format("embedded-opentype"), url("./fonts/icons.woff") format("woff"), url("./fonts/icons.ttf") format("truetype"), url("./fonts/icons.svg#icon") format("svg"); | ||
font-weight: normal; | ||
font-style: normal; | ||
} | ||
|
||
@media screen and (-webkit-min-device-pixel-ratio:0) { | ||
@font-face{ | ||
font-family: "Social"; | ||
src: url("./fonts/icons.svg#icon") format("svg"); | ||
} | ||
} | ||
|
||
.icon { | ||
&:before { | ||
display: inline-block; | ||
font-family: "Social"; | ||
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; | ||
} | ||
|
||
&.envelope:before { | ||
content: "\f100"; | ||
} | ||
|
||
&.spotify:before { | ||
content: "\f101"; | ||
} | ||
|
||
&.github:before { | ||
content: "\f102"; | ||
} | ||
|
||
&.twitter:before { | ||
content: "\f103"; | ||
} | ||
|
||
&.linkedin:before { | ||
content: "\f104"; | ||
} | ||
} | ||
$icon-envelope: "\f100"; | ||
$icon-spotify: "\f101"; | ||
$icon-github: "\f102"; | ||
$icon-twitter: "\f103"; | ||
$icon-linkedin: "\f104"; |
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 |
---|---|---|
|
@@ -212,7 +212,7 @@ body { | |
} | ||
} | ||
|
||
.social { | ||
.icons { | ||
cursor: default; | ||
@include user-select(none); | ||
|
||
|
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 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 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