mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed missing material icons
This commit is contained in:
parent
2163f58447
commit
c90c57d2b4
2930
material/assets/fonts/font-awesome.css
vendored
Normal file
2930
material/assets/fonts/font-awesome.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -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");
|
||||
}
|
||||
|
BIN
material/assets/fonts/specimen/FontAwesome.ttf
Normal file
BIN
material/assets/fonts/specimen/FontAwesome.ttf
Normal file
Binary file not shown.
BIN
material/assets/fonts/specimen/FontAwesome.woff
Normal file
BIN
material/assets/fonts/specimen/FontAwesome.woff
Normal file
Binary file not shown.
BIN
material/assets/fonts/specimen/FontAwesome.woff2
Normal file
BIN
material/assets/fonts/specimen/FontAwesome.woff2
Normal file
Binary file not shown.
@ -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
2930
src/assets/fonts/font-awesome.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -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");
|
||||
}
|
||||
|
BIN
src/assets/fonts/specimen/FontAwesome.ttf
Normal file
BIN
src/assets/fonts/specimen/FontAwesome.ttf
Normal file
Binary file not shown.
BIN
src/assets/fonts/specimen/FontAwesome.woff
Normal file
BIN
src/assets/fonts/specimen/FontAwesome.woff
Normal file
Binary file not shown.
BIN
src/assets/fonts/specimen/FontAwesome.woff2
Normal file
BIN
src/assets/fonts/specimen/FontAwesome.woff2
Normal file
Binary file not shown.
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user