1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-28 09:20:52 +01:00

Fix footnotes pseudo elements for offsets

This commit is contained in:
squidfunk 2016-12-29 17:43:22 +01:00
parent 67b2d84519
commit 763c23eebb
3 changed files with 8 additions and 2 deletions

View File

@ -36,7 +36,7 @@
{% include "partials/fonts.html" %} {% include "partials/fonts.html" %}
{% endblock %} {% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-368e2db2e3.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-f676ef69b7.css">
{% if config.extra.palette %} {% if config.extra.palette %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-0352baa348.palette.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-0352baa348.palette.css">
{% endif %} {% endif %}

View File

@ -27,6 +27,12 @@
// Scoped in typesetted content to match specificity of regular content // Scoped in typesetted content to match specificity of regular content
.md-typeset { .md-typeset {
// Remove pseudo elements inserted by permalinks extension
html & [id^="fn:"]::before,
html & [id^="fnref:"]::before {
display: none;
}
// Footnotes extension // Footnotes extension
.footnote { .footnote {
color: $md-color-black--light; color: $md-color-black--light;