mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Simplified footnote CSS
This commit is contained in:
parent
3f8a0578b8
commit
7dcc0a1e3a
@ -1,3 +1,7 @@
|
||||
mkdocs-material-8.0.5+insiders-4.x.x (2021-xx-xx)
|
||||
|
||||
* Updated German translations for cookie consent
|
||||
|
||||
mkdocs-material-8.0.5 (2012-12-04)
|
||||
|
||||
* Fixed #3302: Footer refactoring induced ellipsis in some browsers
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.e306df54.min.css.map
Normal file
1
material/assets/stylesheets/main.e306df54.min.css.map
Normal file
File diff suppressed because one or more lines are too long
@ -34,7 +34,7 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.cdfe358e.min.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.e306df54.min.css' | url }}">
|
||||
{% if config.theme.palette %}
|
||||
{% set palette = config.theme.palette %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.9204c3b2.min.css' | url }}">
|
||||
|
@ -85,6 +85,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Show outline for all devices
|
||||
[id^="fnref:"]:target > .footnote-ref {
|
||||
outline: auto;
|
||||
}
|
||||
|
||||
// Footnote backreference
|
||||
.footnote-backref {
|
||||
display: inline-block;
|
||||
@ -137,23 +142,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Footnote reference wrapper
|
||||
[id^="fnref:"]:target {
|
||||
scroll-margin-top: initial;
|
||||
margin-top: -1 * px2rem(48px + 24px - 4px);
|
||||
padding-top: px2rem(48px + 24px - 4px);
|
||||
|
||||
// Show outline for all devices
|
||||
> .footnote-ref {
|
||||
outline: auto;
|
||||
}
|
||||
}
|
||||
|
||||
// Footnote wrapper
|
||||
[id^="fn:"]:target {
|
||||
scroll-margin-top: initial;
|
||||
margin-top: -1 * px2rem(48px + 24px - 3px);
|
||||
padding-top: px2rem(48px + 24px - 3px);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user