From 6d497517a52fba2200fd77587f001e0a60885e1e Mon Sep 17 00:00:00 2001 From: squidfunk Date: Tue, 11 Feb 2020 11:04:12 +0100 Subject: [PATCH] Inlined Material Icons CSS --- src/assets/stylesheets/base/_icons.scss | 16 ++++++++++++++++ src/assets/stylesheets/layout/_announce.scss | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/src/assets/stylesheets/base/_icons.scss b/src/assets/stylesheets/base/_icons.scss index 443ace2ca..51e77702b 100644 --- a/src/assets/stylesheets/base/_icons.scss +++ b/src/assets/stylesheets/base/_icons.scss @@ -22,6 +22,22 @@ // stylelint-disable font-family-no-missing-generic-family-keyword +// ---------------------------------------------------------------------------- +// Font faces +// ---------------------------------------------------------------------------- + +// Icon font +@font-face { + font-family: "Material Icons"; + font-style: normal; + font-weight: 400; + src: local("Material Icons"), + local("MaterialIcons-Regular"), + url("../fonts/MaterialIcons-Regular.woff2") format("woff2"), + url("../fonts/MaterialIcons-Regular.woff") format("woff"), + url("../fonts/MaterialIcons-Regular.ttf") format("truetype") +} + // ---------------------------------------------------------------------------- // Rules // ---------------------------------------------------------------------------- diff --git a/src/assets/stylesheets/layout/_announce.scss b/src/assets/stylesheets/layout/_announce.scss index 73c790b69..e61638ac6 100644 --- a/src/assets/stylesheets/layout/_announce.scss +++ b/src/assets/stylesheets/layout/_announce.scss @@ -1,5 +1,5 @@ //// -/// Copyright (c) 2016-2019 Martin Donath +/// Copyright (c) 2016-2020 Martin Donath /// /// Permission is hereby granted, free of charge, to any person obtaining a /// copy of this software and associated documentation files (the "Software"),