Increased h1 anchor offset

This commit is contained in:
squidfunk 2018-01-18 21:24:19 +01:00 committed by Martin Donath
parent 0e1850280a
commit 9c59f5ebe0
3 changed files with 6 additions and 5 deletions

View File

@ -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 %}

View File

@ -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,