mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Packaged Material icons with theme (GDPR)
This commit is contained in:
parent
416fd474b4
commit
2fbeb28d9d
@ -65,8 +65,8 @@
|
|||||||
}}">
|
}}">
|
||||||
<style>body,input{font-family:"{{ font.text }}","Helvetica Neue",Helvetica,Arial,sans-serif}code,kbd,pre{font-family:"{{ font.code }}","Courier New",Courier,monospace}</style>
|
<style>body,input{font-family:"{{ font.text }}","Helvetica Neue",Helvetica,Arial,sans-serif}code,kbd,pre{font-family:"{{ font.code }}","Courier New",Courier,monospace}</style>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
<link rel="stylesheet" href="{{ base_url }}/assets/fonts/material-icons.css">
|
||||||
{% for path in extra_css %}
|
{% for path in extra_css %}
|
||||||
<link rel="stylesheet" href="{{ path }}">
|
<link rel="stylesheet" href="{{ path }}">
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
8
package-lock.json
generated
8
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mkdocs-material",
|
"name": "mkdocs-material",
|
||||||
"version": "2.7.1",
|
"version": "2.7.3",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@ -7337,6 +7337,12 @@
|
|||||||
"integrity": "sha1-6K+VjYUqh0e/shHkjOEoK9qRiBU=",
|
"integrity": "sha1-6K+VjYUqh0e/shHkjOEoK9qRiBU=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"material-design-icons": {
|
||||||
|
"version": "3.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/material-design-icons/-/material-design-icons-3.0.1.tgz",
|
||||||
|
"integrity": "sha1-mnHEh0chjrylHlGmbaaCA4zct78=",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
"material-shadows": {
|
"material-shadows": {
|
||||||
"version": "3.0.1",
|
"version": "3.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/material-shadows/-/material-shadows-3.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/material-shadows/-/material-shadows-3.0.1.tgz",
|
||||||
|
@ -135,12 +135,12 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- Material icons as a default iconset -->
|
|
||||||
<link rel="stylesheet" type="text/css"
|
|
||||||
href="https://fonts.googleapis.com/icon?family=Material+Icons" />
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
<!-- Material icons as iconset -->
|
||||||
|
<link rel="stylesheet" type="text/css"
|
||||||
|
href="{{ base_url }}/assets/fonts/material-icons.css" />
|
||||||
|
|
||||||
<!-- Custom stylesheets -->
|
<!-- Custom stylesheets -->
|
||||||
{% for path in extra_css %}
|
{% for path in extra_css %}
|
||||||
<link rel="stylesheet" type="text/css" href="{{ path }}" />
|
<link rel="stylesheet" type="text/css" href="{{ path }}" />
|
||||||
|
@ -122,6 +122,12 @@ module.exports = env => {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/* Copy web fonts */
|
||||||
|
{
|
||||||
|
context: "src",
|
||||||
|
from: "assets/fonts/**/*"
|
||||||
|
},
|
||||||
|
|
||||||
/* Copy images without cache busting */
|
/* Copy images without cache busting */
|
||||||
{
|
{
|
||||||
context: "src",
|
context: "src",
|
||||||
|
Loading…
Reference in New Issue
Block a user