From 0f3b9dcf8eb3bcaf424185a6c244950ccafcda9e Mon Sep 17 00:00:00 2001 From: nobody Date: Tue, 29 Jun 2021 07:19:20 +0200 Subject: [PATCH] Fixed: Second "font-face" for Google Material Icons added (#546) --- pages/updates/updates.html | 1 + .../google-material-design-icons.css | 24 +++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 327140be..f6a77ade 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -44,6 +44,7 @@
  • Added: Bootstrap JS v2.3.2 (#544)
  • Updated: mdb-ui-kit v3.8.0 -> v3.8.1 (#547)
  • Updated: lightgallery v2.1.5 -> v2.1.6 (#548)
  • +
  • Fixed: Second "font-face" for Google Material Icons added (#546)
  • diff --git a/resources/google-material-design-icons/google-material-design-icons.css b/resources/google-material-design-icons/google-material-design-icons.css index 9b92a63d..9d7088c1 100644 --- a/resources/google-material-design-icons/google-material-design-icons.css +++ b/resources/google-material-design-icons/google-material-design-icons.css @@ -13,6 +13,14 @@ /* src: url(https://fonts.gstatic.com/s/materialicons/v92/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2'); */ } +@font-face { + font-family: 'Google Material Icons'; + font-style: normal; + font-weight: 400; + src: url('./v92/MaterialIcons.woff2') format('woff2'); + /* src: url(https://fonts.gstatic.com/s/materialicons/v92/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2'); */ +} + .material-icons { font-family: 'Material Icons'; font-weight: normal; @@ -28,3 +36,19 @@ -moz-font-feature-settings: 'liga'; -moz-osx-font-smoothing: grayscale; } + +.google-material-icons { + font-family: 'Google Material Icons'; + font-weight: normal; + font-style: normal; + font-size: 24px; + line-height: 1; + letter-spacing: normal; + text-transform: none; + display: inline-block; + white-space: nowrap; + word-wrap: normal; + direction: ltr; + -moz-font-feature-settings: 'liga'; + -moz-osx-font-smoothing: grayscale; +}