From b0fc9966e8a3e7e9cd0716fa73c3f3d99fdf3163 Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Tue, 22 Aug 2017 11:27:02 -0400 Subject: [PATCH] Fix icon fonts (again) --- _assets/stylesheets/includes/icons.css.scss | 23 +++++++++++---------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/_assets/stylesheets/includes/icons.css.scss b/_assets/stylesheets/includes/icons.css.scss index 209ebfa..dac092f 100644 --- a/_assets/stylesheets/includes/icons.css.scss +++ b/_assets/stylesheets/includes/icons.css.scss @@ -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: "";