Bundled Material icons with theme

This commit is contained in:
squidfunk 2018-06-10 14:52:46 +02:00
parent a42fdb33ed
commit 2163f58447
11 changed files with 54 additions and 1 deletions

View File

@ -1,3 +1,8 @@
mkdocs-material-2.8.0 (2018-06-xx)
* Added Slovak translations
* Fixed #790: Prefixed internal identifiers with "__" to avoid name clashes
mkdocs-material-2.7.3 (2018-04-26)
* Added Finnish translations

View File

@ -0,0 +1,24 @@
/*
* 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:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, SOFTWARE
* DISTRIBUTED UNDER THE LICENSE IS DISTRIBUTED ON AN "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
* SEE THE LICENSE FOR THE SPECIFIC LANGUAGE GOVERNING PERMISSIONS AND
* LIMITATIONS UNDER THE LICENSE.
*/
@font-face {
font-family: "Material Icons";
font-style: normal;
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");
}

View File

@ -170,7 +170,7 @@
{% endblock %}
</div>
{% block scripts %}
<script src="{{ base_url }}/assets/javascripts/application.6cb86621.js"></script>
<script src="{{ base_url }}/assets/javascripts/application.4cb7db92.js"></script>
{% if lang.t("search.language") != "en" %}
{% set languages = lang.t("search.language").split(",") %}
{% if languages | length and languages[0] != "" %}

View File

@ -0,0 +1,24 @@
/*
* 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:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, SOFTWARE
* DISTRIBUTED UNDER THE LICENSE IS DISTRIBUTED ON AN "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
* SEE THE LICENSE FOR THE SPECIFIC LANGUAGE GOVERNING PERMISSIONS AND
* LIMITATIONS UNDER THE LICENSE.
*/
@font-face {
font-family: "Material Icons";
font-style: normal;
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");
}