mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-12 01:50:52 +01:00
Increased h1 anchor offset
This commit is contained in:
parent
0e1850280a
commit
9c59f5ebe0
File diff suppressed because one or more lines are too long
@ -46,7 +46,7 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application.f450e885.css">
|
||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application.56ee7417.css">
|
||||
{% if palette.primary or palette.accent %}
|
||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-palette.792431c1.css">
|
||||
{% endif %}
|
||||
|
@ -55,9 +55,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Correct anchor offset for link blurring
|
||||
// Correct anchor offset for link blurring - pick a particularly large one
|
||||
// for the h1, so the anchor offset is always at the top of the page
|
||||
@each $level, $delta in (
|
||||
h1: 10rem,
|
||||
h1: 100rem,
|
||||
h2: 0.8rem,
|
||||
h3: 0.9rem,
|
||||
h4: 0.9rem,
|
||||
|
Loading…
Reference in New Issue
Block a user