1
0
mirror of https://github.com/danbee/danbarber.me synced 2025-03-04 08:59:10 +00:00

Fix icon fonts (again)

This commit is contained in:
Daniel Barber 2017-08-22 11:27:02 -04:00
parent c2a9cc79af
commit b0fc9966e8
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8

View File

@ -1,16 +1,17 @@
@font-face {
font-family: "icomoon";
src: url(asset_path("icomoon.eot"));
src: url(asset_path("icomoon.eot?#iefix")) format("embedded-opentype"),
url(asset_path("icomoon.woff")) format("woff"),
url(asset_path("icomoon.ttf")) format("truetype"),
url(asset_path("icomoon.svg#icomoon")) format("svg");
font-weight: normal;
src: asset_url("icomoon.eot");
src: asset_url("icomoon.eot?#iefix") format("embedded-opentype"),
asset_url("icomoon.woff") format("woff"),
asset_url("icomoon.ttf") format("truetype"),
asset_url("icomoon.svg#icomoon") format("svg");
font-ht: normal;
font-style: normal;
}
[class^="icon-"]:before, [class*=" icon-"]:before {
[class^="icon-"]::before,
[class*=" icon-"]::before {
font-family: "icomoon";
font-style: normal;
speak: none;
@ -18,11 +19,11 @@
-webkit-font-smoothing: antialiased;
}
.icon-logomark:before {
.icon-logomark::before {
content: "";
}
.icon-twitter:before {
.icon-twitter::before {
position: relative;
top: 0.1em;
content: "";
@ -30,11 +31,11 @@
color: #05ADE7;
}
.icon-github:before {
.icon-github::before {
content: "";
}
.icon-app-net:before {
.icon-app-net::before {
position: relative;
top: 0.1em;
content: "";