1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-24 15:40:15 +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" %}
{% endblock %}
{% 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 %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-0352baa348.palette.css">
{% endif %}

View File

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