mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed permalink characters being part of textContent
This commit is contained in:
parent
a399540940
commit
ca260e0faf
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.a0e3393a.min.js",
|
"assets/javascripts/bundle.js": "assets/javascripts/bundle.a111dfc8.min.js",
|
||||||
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.a0e3393a.min.js.map",
|
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.a111dfc8.min.js.map",
|
||||||
"assets/javascripts/worker/packer.js": "assets/javascripts/worker/packer.c14659e8.min.js",
|
"assets/javascripts/worker/packer.js": "assets/javascripts/worker/packer.c14659e8.min.js",
|
||||||
"assets/javascripts/worker/packer.js.map": "assets/javascripts/worker/packer.c14659e8.min.js.map",
|
"assets/javascripts/worker/packer.js.map": "assets/javascripts/worker/packer.c14659e8.min.js.map",
|
||||||
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.3144ce89.min.js",
|
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.3144ce89.min.js",
|
||||||
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.3144ce89.min.js.map",
|
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.3144ce89.min.js.map",
|
||||||
"assets/stylesheets/app-palette.scss": "assets/stylesheets/app-palette.8c25017f.min.css",
|
"assets/stylesheets/app-palette.scss": "assets/stylesheets/app-palette.8c25017f.min.css",
|
||||||
"assets/stylesheets/app.scss": "assets/stylesheets/app.3d7b25ce.min.css"
|
"assets/stylesheets/app.scss": "assets/stylesheets/app.4918cd9c.min.css"
|
||||||
}
|
}
|
File diff suppressed because one or more lines are too long
@ -43,7 +43,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/app.3d7b25ce.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/app.4918cd9c.min.css' | url }}">
|
||||||
{% if palette.primary or palette.accent %}
|
{% if palette.primary or palette.accent %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/app-palette.8c25017f.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/app-palette.8c25017f.min.css' | url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -190,7 +190,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
<script src="{{ 'assets/javascripts/bundle.a0e3393a.min.js' | url }}"></script>
|
<script src="{{ 'assets/javascripts/bundle.a111dfc8.min.js' | url }}"></script>
|
||||||
<script id="__lang" type="application/json">
|
<script id="__lang" type="application/json">
|
||||||
{%- set translations = {} -%}
|
{%- set translations = {} -%}
|
||||||
{%- for key in [
|
{%- for key in [
|
||||||
|
@ -35,8 +35,12 @@
|
|||||||
transition:
|
transition:
|
||||||
transform 0.25s 0.25s,
|
transform 0.25s 0.25s,
|
||||||
color 0.25s,
|
color 0.25s,
|
||||||
opacity 0.125s 0.25s;
|
opacity 0.125s 0.25s,
|
||||||
|
visibility 0s 0.5s;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
// Hack: If we don't set visibility hidden, the text content of the node
|
||||||
|
// will include the headerlink character, which is why Google indexes them.
|
||||||
|
visibility: hidden;
|
||||||
|
|
||||||
// Adjust for RTL languages
|
// Adjust for RTL languages
|
||||||
[dir="rtl"] & {
|
[dir="rtl"] & {
|
||||||
@ -85,7 +89,13 @@
|
|||||||
&:target .headerlink,
|
&:target .headerlink,
|
||||||
& .headerlink:focus {
|
& .headerlink:focus {
|
||||||
transform: translate(0, 0);
|
transform: translate(0, 0);
|
||||||
|
transition:
|
||||||
|
transform 0.25s 0.25s,
|
||||||
|
color 0.25s,
|
||||||
|
opacity 0.125s 0.25s,
|
||||||
|
visibility 0s;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Active or targeted permalink
|
// Active or targeted permalink
|
||||||
|
Loading…
Reference in New Issue
Block a user