mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Remove anchor on h1, as it doesn't make any sense
This commit is contained in:
parent
36ac36c56a
commit
dd59ed1f00
File diff suppressed because one or more lines are too long
@ -36,7 +36,7 @@
|
|||||||
{% include "partials/webfonts.html" %}
|
{% include "partials/webfonts.html" %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-64b114333a.css">
|
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-f2889ef118.css">
|
||||||
{% if config.extra.palette %}
|
{% if config.extra.palette %}
|
||||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-535e87ca3f.palette.css">
|
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-535e87ca3f.palette.css">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -74,9 +74,13 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Hide anchor for top-level heading, as it makes no sense
|
||||||
|
h1[id] .headerlink {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
// Correct anchor offset for link blurring
|
// Correct anchor offset for link blurring
|
||||||
@each $level, $delta in (
|
@each $level, $delta in (
|
||||||
h1: 3.0rem,
|
|
||||||
h2: 0.2rem,
|
h2: 0.2rem,
|
||||||
h3: 0.4rem,
|
h3: 0.4rem,
|
||||||
h4: 0.6rem,
|
h4: 0.6rem,
|
||||||
|
Loading…
Reference in New Issue
Block a user