Fixed missing material icons

This commit is contained in:
squidfunk 2018-06-10 15:21:49 +02:00
parent 2163f58447
commit c90c57d2b4
18 changed files with 5870 additions and 12 deletions

2930
material/assets/fonts/font-awesome.css vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
/*
/*!
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at:
@ -18,7 +18,7 @@
font-weight: 400;
src: local("Material Icons"),
local("MaterialIcons-Regular"),
url("material-icons/MaterialIcons-Regular.woff2") format("woff2"),
url("material-icons/MaterialIcons-Regular.woff") format("woff"),
url("material-icons/MaterialIcons-Regular.ttf") format("truetype");
url("specimen/MaterialIcons-Regular.woff2") format("woff2"),
url("specimen/MaterialIcons-Regular.woff") format("woff"),
url("specimen/MaterialIcons-Regular.ttf") format("truetype");
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,7 +1,6 @@
{% if config.extra.social %}
<div class="md-footer-social">
{% set path = "ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" %}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/{{ path }}">
<link rel="stylesheet" href="{{ base_url }}/assets/fonts/font-awesome.css">
{% for social in config.extra.social %}
<a href="{{ social.link }}" class="md-footer-social__link fa fa-{{ social.type }}"></a>
{% endfor %}

2930
src/assets/fonts/font-awesome.css vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
/*
/*!
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at:
@ -18,7 +18,7 @@
font-weight: 400;
src: local("Material Icons"),
local("MaterialIcons-Regular"),
url("material-icons/MaterialIcons-Regular.woff2") format("woff2"),
url("material-icons/MaterialIcons-Regular.woff") format("woff"),
url("material-icons/MaterialIcons-Regular.ttf") format("truetype");
url("specimen/MaterialIcons-Regular.woff2") format("woff2"),
url("specimen/MaterialIcons-Regular.woff") format("woff"),
url("specimen/MaterialIcons-Regular.ttf") format("truetype");
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -23,9 +23,8 @@
<!-- Social links in footer -->
{% if config.extra.social %}
<div class="md-footer-social">
{% set path = "ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" %}
<link rel="stylesheet" type="text/css"
href="https://cdnjs.cloudflare.com/{{ path }}">
href="{{ base_url }}/assets/fonts/font-awesome.css" />
{% for social in config.extra.social %}
<a href="{{ social.link }}" class="md-footer-social__link
fa fa-{{ social.type }}"></a>