Fixed: Second "font-face" for Google Material Icons added (#546)

This commit is contained in:
nobody 2021-06-29 07:19:20 +02:00
parent 46232669cb
commit 0f3b9dcf8e
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
2 changed files with 25 additions and 0 deletions

View File

@ -44,6 +44,7 @@
<li>Added: Bootstrap JS v2.3.2 (<a href="https://codeberg.org/nobody/LocalCDN/issues/544">#544</a>)</li>
<li>Updated: mdb-ui-kit v3.8.0 -> v3.8.1 (<a href="https://codeberg.org/nobody/LocalCDN/issues/547">#547</a>)</li>
<li>Updated: lightgallery v2.1.5 -> v2.1.6 (<a href="https://codeberg.org/nobody/LocalCDN/issues/548">#548</a>)</li>
<li>Fixed: Second "font-face" for Google Material Icons added (<a href="https://codeberg.org/nobody/LocalCDN/issues/546">#546</a>)</li>
</ul>
<div id="generator-section">
<div class="topic-label">

View File

@ -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;
}