mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed footnote link colors and did some cleanup
This commit is contained in:
parent
63ebc684ef
commit
1c11a78f44
@ -300,8 +300,9 @@ theme:
|
|||||||
Material for MkDocs supports internationalization (i18n) and provides
|
Material for MkDocs supports internationalization (i18n) and provides
|
||||||
translations for all template variables and labels in English `en`, French `fr`,
|
translations for all template variables and labels in English `en`, French `fr`,
|
||||||
German `de`, Spanish `es`, Italian `it`, Danish `da`, Polish `pl`, Norwegian
|
German `de`, Spanish `es`, Italian `it`, Danish `da`, Polish `pl`, Norwegian
|
||||||
`no`, Swedish `sv`, Korean `kr`, Russian `ru`, Chinese (Simplified) `zh` and
|
`no`, Swedish `sv`, Korean `kr`, Russian `ru`, Japanese `ja`, Chinese
|
||||||
Chinese (Traditional) `zh-Hant`. Specify the language with:
|
(Simplified) `zh` and Chinese (Traditional) `zh-Hant`. Specify the language
|
||||||
|
with:
|
||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
theme:
|
theme:
|
||||||
@ -320,7 +321,7 @@ cp partials/language/en.html partials/language/jp.html
|
|||||||
Feel free to contribute your localization to Material for MkDocs by opening a
|
Feel free to contribute your localization to Material for MkDocs by opening a
|
||||||
Pull Request.
|
Pull Request.
|
||||||
|
|
||||||
[16]: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
|
[16]: https://www.w3schools.com/tags/ref_language_codes.asp
|
||||||
|
|
||||||
#### Site search
|
#### Site search
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/application-709eec9410.css
Normal file
1
material/assets/stylesheets/application-709eec9410.css
Normal file
File diff suppressed because one or more lines are too long
@ -46,7 +46,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-5b1b46901f.css">
|
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-709eec9410.css">
|
||||||
{% if palette.primary or palette.accent %}
|
{% if palette.primary or palette.accent %}
|
||||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-23f75ab9c7.palette.css">
|
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-23f75ab9c7.palette.css">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
18
material/partials/language/ja.html
Normal file
18
material/partials/language/ja.html
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{% macro t(key) %}{{ {
|
||||||
|
"language": "ja",
|
||||||
|
"clipboard.copy": "クリップボードへコピー",
|
||||||
|
"clipboard.copied": "コピーしました",
|
||||||
|
"edit.link.title": "編集",
|
||||||
|
"footer.previous": "前",
|
||||||
|
"footer.next": "次",
|
||||||
|
"meta.comments": "コメント",
|
||||||
|
"meta.source": "ソース",
|
||||||
|
"search.placeholder": "検索",
|
||||||
|
"search.result.placeholder": "検索キーワードを入力してください",
|
||||||
|
"search.result.none": "何も見つかりませんでした",
|
||||||
|
"search.result.one": "1件見つかりました",
|
||||||
|
"search.result.other": "#件見つかりました",
|
||||||
|
"search.tokenizer": "[\s\- 、。,.]+",
|
||||||
|
"source.link.title": "リポジトリへ",
|
||||||
|
"toc.title": "目次"
|
||||||
|
}[key] }}{% endmacro %}
|
@ -123,6 +123,12 @@
|
|||||||
// Use a decent color for non-hovered links and ensure specificity
|
// Use a decent color for non-hovered links and ensure specificity
|
||||||
html &.md-typeset a {
|
html &.md-typeset a {
|
||||||
color: $md-color-white--light;
|
color: $md-color-white--light;
|
||||||
|
|
||||||
|
// Focused or hovered link
|
||||||
|
&:focus,
|
||||||
|
&:hover {
|
||||||
|
color: $md-color-white;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -168,10 +174,5 @@
|
|||||||
&::before {
|
&::before {
|
||||||
line-height: 1.9;
|
line-height: 1.9;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Active link
|
|
||||||
&:hover::before {
|
|
||||||
color: $md-color-white;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2069,9 +2069,9 @@ flatten@^1.0.2:
|
|||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782"
|
resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782"
|
||||||
|
|
||||||
flow-bin@^0.57.1:
|
flow-bin@^0.58.0:
|
||||||
version "0.57.3"
|
version "0.58.0"
|
||||||
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.57.3.tgz#843fb80a821b6d0c5847f7bb3f42365ffe53b27b"
|
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.58.0.tgz#62d5a776589419e5656800a0e5230a5e585ca65e"
|
||||||
|
|
||||||
flow-jsdoc@^0.3.0:
|
flow-jsdoc@^0.3.0:
|
||||||
version "0.3.0"
|
version "0.3.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user