Remove anchor on h1, as it doesn't make any sense

This commit is contained in:
squidfunk 2016-12-27 16:20:55 +01:00
parent 36ac36c56a
commit dd59ed1f00
3 changed files with 7 additions and 3 deletions

View File

@ -36,7 +36,7 @@
{% include "partials/webfonts.html" %}
{% endblock %}
{% 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 %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-535e87ca3f.palette.css">
{% endif %}

View File

@ -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
@each $level, $delta in (
h1: 3.0rem,
h2: 0.2rem,
h3: 0.4rem,
h4: 0.6rem,