Material Icons and stylem

General discussion and chat (archived)
User avatar
Apollo supporter
Apollo supporter
Posts: 46
Joined: 2012-10-24, 03:34
Location: Canada

Material Icons and stylem

Post by TheRobin » 2019-05-13, 00:42

I am having a problem with an icon font family called "Material Icons" and my userstyle I use in Stylem to limit which fonts can render on any page. First the code:

Code: Select all

@namespace url("");

@-moz-document url-prefix("http://"), url-prefix("https://") {
  * { font-family: 'Arial', 'Tahoma', 'Verdana', 'Courier New', 'Test2', 'FontAwesome', 'FontAwesome Regular', 'Font Awesome 5 Free', 'Font Awesome 5 Brands', 'Font Awesome 5 Pro', 'Icons', 'icomoon', 'Ionicons', 'Material Icons', 'Material Design Icons', 'Material Icons Extended', 'Glyphicons Halflings', 'ipbc-font', 'briteicons', 'Iconochive-Regular', 'hb-icons' !important; }
Notice Material Icons font family is listed. Every font listed here, except Material Icons, will render on a page that calls for it. For some reason, any site that uses Material Icons font family will not render and I do not know why. I have the same problem in Basilisk.

Here is the main website I use that has this problem: