Resources now working.

This commit is contained in:
Simon Brooke 2020-01-29 12:56:06 +00:00
parent b4f441bfd0
commit cf8f93ac9b
13 changed files with 97 additions and 62 deletions

View file

@ -6,12 +6,12 @@ body {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url(/js/lib/node_modules/material-icons/iconfont/MaterialIcons-Regular.eot); /* For IE6-8 */
src: url(/assets/material-icons/iconfont/MaterialIcons-Regular.eot); /* For IE6-8 */
src: local('Material Icons'),
local('MaterialIcons-Regular'),
url(/js/lib/node_modules/material-icons/iconfont/MaterialIcons-Regular.woff2) format('woff2'),
url(/js/lib/node_modules/material-icons/iconfont/MaterialIcons-Regular.woff) format('woff'),
url(/js/lib/node_modules/material-icons/iconfont/MaterialIcons-Regular.ttf) format('truetype');
url(/assets/material-icons/iconfont/MaterialIcons-Regular.woff2) format('woff2'),
url(/assets/material-icons/iconfont/MaterialIcons-Regular.woff) format('woff'),
url(/assets/material-icons/iconfont/MaterialIcons-Regular.ttf) format('truetype');
}
.material-icons {
font-family: 'Material Icons';

View file

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Before After
Before After