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:
parent
c2a9cc79af
commit
b0fc9966e8
@ -1,16 +1,17 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: "icomoon";
|
font-family: "icomoon";
|
||||||
src: url(asset_path("icomoon.eot"));
|
src: asset_url("icomoon.eot");
|
||||||
src: url(asset_path("icomoon.eot?#iefix")) format("embedded-opentype"),
|
src: asset_url("icomoon.eot?#iefix") format("embedded-opentype"),
|
||||||
url(asset_path("icomoon.woff")) format("woff"),
|
asset_url("icomoon.woff") format("woff"),
|
||||||
url(asset_path("icomoon.ttf")) format("truetype"),
|
asset_url("icomoon.ttf") format("truetype"),
|
||||||
url(asset_path("icomoon.svg#icomoon")) format("svg");
|
asset_url("icomoon.svg#icomoon") format("svg");
|
||||||
font-weight: normal;
|
font-ht: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
[class^="icon-"]:before, [class*=" icon-"]:before {
|
[class^="icon-"]::before,
|
||||||
|
[class*=" icon-"]::before {
|
||||||
font-family: "icomoon";
|
font-family: "icomoon";
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
speak: none;
|
speak: none;
|
||||||
@ -18,11 +19,11 @@
|
|||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-logomark:before {
|
.icon-logomark::before {
|
||||||
content: "";
|
content: "";
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-twitter:before {
|
.icon-twitter::before {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 0.1em;
|
top: 0.1em;
|
||||||
content: "";
|
content: "";
|
||||||
@ -30,11 +31,11 @@
|
|||||||
color: #05ADE7;
|
color: #05ADE7;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-github:before {
|
.icon-github::before {
|
||||||
content: "";
|
content: "";
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-app-net:before {
|
.icon-app-net::before {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 0.1em;
|
top: 0.1em;
|
||||||
content: "";
|
content: "";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user