Skip to content
Snippets Groups Projects
Verified Commit b90e62e1 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fixes prefix issues

parent 3bd439b4
Branches
No related tags found
No related merge requests found
/*!
* Font Awesome Free 5.0.13 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
@font-face {
font-family: "Font Awesome 5 Brands";
font-style: normal;
font-weight: 400;
src: url("fa-brands-400.eot");
src: url("fa-brands-400.eot?#iefix") format("embedded-opentype"),
url("fa-brands-400.woff2") format("woff2"),
url("fa-brands-400.woff") format("woff"),
url("fa-brands-400.ttf") format("truetype"),
url("fa-brands-400.svg#fontawesome") format("svg");
}
.fab {
font-family: "Font Awesome 5 Brands", sans-serif;
}
@font-face {
font-family: "Material Icons";
font-style: normal;
font-weight: 400;
src: url("MaterialIcons-Regular.eot"); /* For IE6-8 */
src: local("Material Icons"), local("MaterialIcons-Regular"),
url("MaterialIcons-Regular.woff2") format("woff2"),
url("MaterialIcons-Regular.woff") format("woff"),
url("MaterialIcons-Regular.ttf") format("truetype");
}
.material-icons {
display: inline-block;
font-family: "Material Icons", sans-serif;
font-size: 1.5rem; /* Preferred icon size */
/* Support for Firefox. */
-moz-osx-font-smoothing: grayscale;
/* Support for all WebKit browsers. */
-webkit-font-smoothing: antialiased;
font-style: normal;
font-weight: 400;
letter-spacing: normal;
line-height: 1;
/* Support for Safari and Chrome. */
text-rendering: optimizeLegibility;
text-transform: none;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
/* Support for IE. */
font-feature-settings: "liga";
}
/* roboto-mono-regular - latin */
@font-face {
font-family: "Roboto Mono";
font-style: normal;
font-weight: 400;
src: url("roboto-mono-v5-latin-regular.eot"); /* IE9 Compat Modes */
src: local("Roboto Mono"), local("RobotoMono-Regular"),
url("roboto-mono-v5-latin-regular.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("roboto-mono-v5-latin-regular.woff2") format("woff2"), /* Super Modern Browsers */
url("roboto-mono-v5-latin-regular.woff") format("woff"), /* Modern Browsers */
url("roboto-mono-v5-latin-regular.ttf") format("truetype"), /* Safari, Android, iOS */
url("roboto-mono-v5-latin-regular.svg#RobotoMono") format("svg"); /* Legacy iOS */
}
/* roboto-300 - latin */
@font-face {
font-family: Roboto;
font-style: normal;
font-weight: 300;
src: url("roboto-v18-latin-300.eot"); /* IE9 Compat Modes */
src: local("Roboto Light"), local("Roboto-Light"),
url("roboto-v18-latin-300.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("roboto-v18-latin-300.woff2") format("woff2"), /* Super Modern Browsers */
url("roboto-v18-latin-300.woff") format("woff"), /* Modern Browsers */
url("roboto-v18-latin-300.ttf") format("truetype"), /* Safari, Android, iOS */
url("roboto-v18-latin-300.svg#Roboto") format("svg"); /* Legacy iOS */
}
/* roboto-regular - latin */
@font-face {
font-family: Roboto;
font-style: normal;
font-weight: 400;
src: url("roboto-v18-latin-regular.eot"); /* IE9 Compat Modes */
src: local(Roboto), local("Roboto-Regular"),
url("roboto-v18-latin-regular.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("roboto-v18-latin-regular.woff2") format("woff2"), /* Super Modern Browsers */
url("roboto-v18-latin-regular.woff") format("woff"), /* Modern Browsers */
url("roboto-v18-latin-regular.ttf") format("truetype"), /* Safari, Android, iOS */
url("roboto-v18-latin-regular.svg#Roboto") format("svg"); /* Legacy iOS */
}
/* roboto-italic - latin */
@font-face {
font-family: Roboto;
font-style: italic;
font-weight: 400;
src: url("roboto-v18-latin-italic.eot"); /* IE9 Compat Modes */
src: local("Roboto Italic"), local("Roboto-Italic"),
url("roboto-v18-latin-italic.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("roboto-v18-latin-italic.woff2") format("woff2"), /* Super Modern Browsers */
url("roboto-v18-latin-italic.woff") format("woff"), /* Modern Browsers */
url("roboto-v18-latin-italic.ttf") format("truetype"), /* Safari, Android, iOS */
url("roboto-v18-latin-italic.svg#Roboto") format("svg"); /* Legacy iOS */
}
/* roboto-700 - latin */
@font-face {
font-family: Roboto;
font-style: normal;
font-weight: 700;
src: url("roboto-v18-latin-700.eot"); /* IE9 Compat Modes */
src: local("Roboto Bold"), local("Roboto-Bold"),
url("roboto-v18-latin-700.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("roboto-v18-latin-700.woff2") format("woff2"), /* Super Modern Browsers */
url("roboto-v18-latin-700.woff") format("woff"), /* Modern Browsers */
url("roboto-v18-latin-700.ttf") format("truetype"), /* Safari, Android, iOS */
url("roboto-v18-latin-700.svg#Roboto") format("svg"); /* Legacy iOS */
}
...@@ -83,9 +83,14 @@ module.exports = env => { ...@@ -83,9 +83,14 @@ module.exports = env => {
}, },
{ {
test: /\.(eot|svg|ttf|woff|woff2)$/, test: /\.(eot|svg|ttf|woff|woff2)$/,
use: `file-loader?name=[path][name]${ loader: "file-loader",
options: {
name: `../fonts/[name]${
env && env.prod ? ".[md5:hash:hex:8]" : "" env && env.prod ? ".[md5:hash:hex:8]" : ""
}.[ext]&context=./src` }.[ext]`,
context: path.resolve(__dirname, "./src"),
relativePaths: true
}
} }
] ]
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment