From c87d3fa09fd2df474b775b2ea92b75a0c1269693 Mon Sep 17 00:00:00 2001 From: Xavier Bertels Date: Thu, 5 Dec 2019 10:41:12 +0100 Subject: [PATCH] Default to empty icon-font.scss file --- content/scss/_icon-font.scss | 46 ++++-------------------------------- 1 file changed, 4 insertions(+), 42 deletions(-) diff --git a/content/scss/_icon-font.scss b/content/scss/_icon-font.scss index 93475783..60a83184 100644 --- a/content/scss/_icon-font.scss +++ b/content/scss/_icon-font.scss @@ -1,42 +1,4 @@ -/* - Icon Font: icon-font -*/ - -@font-face { - font-family: "icon-font"; - src: url("/fonts/icon-font.eot"); - src: url("/fonts/icon-font.eot?#iefix") format("embedded-opentype"), - url("/fonts/icon-font.woff2") format("woff2"), - url("/fonts/icon-font.woff") format("woff"), - url("/fonts/icon-font.ttf") format("truetype"), - url("/fonts/icon-font.svg#icon-font") format("svg"); - font-weight: normal; - font-style: normal; -} - -@media screen and (-webkit-min-device-pixel-ratio:0) { - @font-face { - font-family: "icon-font"; - src: url("/fonts/icon-font.svg#icon-font") format("svg"); - } -} - -[data-icon]:before { content: attr(data-icon); } - -[data-icon]:before, -.if-example:before { - display: inline-block; - font-family: "icon-font"; - 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; -} - -.if-example:before { content: "\f100"; } +// This is an empty placeholder file. You need this +// when you use icon font generation in Bedrock. +// Check out README.md on how to enable +// icon font generation.