mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Improved default fonts
This commit is contained in:
parent
b1fde7a82c
commit
06f71804c2
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"assets/javascripts/bundle.js": "assets/javascripts/bundle.546b0e0d.min.js",
|
"assets/javascripts/bundle.js": "assets/javascripts/bundle.7b9051f7.min.js",
|
||||||
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.546b0e0d.min.js.map",
|
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.7b9051f7.min.js.map",
|
||||||
"assets/javascripts/vendor.js": "assets/javascripts/vendor.aad0415a.min.js",
|
"assets/javascripts/vendor.js": "assets/javascripts/vendor.aad0415a.min.js",
|
||||||
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.aad0415a.min.js.map",
|
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.aad0415a.min.js.map",
|
||||||
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.2613054f.min.js",
|
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.2613054f.min.js",
|
||||||
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.2613054f.min.js.map",
|
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.2613054f.min.js.map",
|
||||||
"assets/stylesheets/main.css": "assets/stylesheets/main.60408940.min.css",
|
"assets/stylesheets/main.css": "assets/stylesheets/main.822f5098.min.css",
|
||||||
"assets/stylesheets/palette.css": "assets/stylesheets/palette.31180ff2.min.css"
|
"assets/stylesheets/palette.css": "assets/stylesheets/palette.31180ff2.min.css"
|
||||||
}
|
}
|
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.822f5098.min.css
vendored
Normal file
1
material/assets/stylesheets/main.822f5098.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -41,7 +41,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.60408940.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.822f5098.min.css' | url }}">
|
||||||
{% if palette.primary or palette.accent %}
|
{% if palette.primary or palette.accent %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.31180ff2.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.31180ff2.min.css' | url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -61,7 +61,7 @@
|
|||||||
font.text | replace(' ', '+') + ':300,400,400i,700%7C' +
|
font.text | replace(' ', '+') + ':300,400,400i,700%7C' +
|
||||||
font.code | replace(' ', '+')
|
font.code | replace(' ', '+')
|
||||||
}}&display=fallback">
|
}}&display=fallback">
|
||||||
<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 }}",-apple-system,BlinkMacSystemFont,Helvetica,Arial,sans-serif}code,kbd,pre{font-family:"{{ font.code }}",SFMono-Regular,Consolas,Menlo,monospace}</style>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% if config.extra.manifest %}
|
{% if config.extra.manifest %}
|
||||||
@ -178,7 +178,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
<script src="{{ 'assets/javascripts/vendor.aad0415a.min.js' | url }}"></script>
|
<script src="{{ 'assets/javascripts/vendor.aad0415a.min.js' | url }}"></script>
|
||||||
<script src="{{ 'assets/javascripts/bundle.546b0e0d.min.js' | url }}"></script>
|
<script src="{{ 'assets/javascripts/bundle.7b9051f7.min.js' | url }}"></script>
|
||||||
{%- set translations = {} -%}
|
{%- set translations = {} -%}
|
||||||
{%- for key in [
|
{%- for key in [
|
||||||
"clipboard.copy",
|
"clipboard.copy",
|
||||||
|
@ -35,7 +35,7 @@ body,
|
|||||||
input {
|
input {
|
||||||
color: var(--md-default-fg-color);
|
color: var(--md-default-fg-color);
|
||||||
font-feature-settings: "kern", "liga";
|
font-feature-settings: "kern", "liga";
|
||||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Proportionally spaced fonts
|
// Proportionally spaced fonts
|
||||||
@ -44,7 +44,7 @@ pre,
|
|||||||
kbd {
|
kbd {
|
||||||
color: var(--md-default-fg-color);
|
color: var(--md-default-fg-color);
|
||||||
font-feature-settings: "kern";
|
font-feature-settings: "kern";
|
||||||
font-family: "Courier New", Courier, monospace;
|
font-family: SFMono-Regular, Consolas, Menlo, monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@ -128,12 +128,12 @@
|
|||||||
/>
|
/>
|
||||||
<style>
|
<style>
|
||||||
body, input {
|
body, input {
|
||||||
font-family: "{{ font.text }}", "Helvetica Neue",
|
font-family: "{{ font.text }}",
|
||||||
Helvetica, Arial, sans-serif;
|
-apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
|
||||||
}
|
}
|
||||||
pre, code, kbd {
|
pre, code, kbd {
|
||||||
font-family: "{{ font.code }}", "Courier New",
|
font-family: "{{ font.code }}",
|
||||||
Courier, monospace;
|
SFMono-Regular, Consolas, Menlo, monospace;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user