mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-24 07:30:12 +01: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)
|
mkdocs-material-8.0.5 (2012-12-04)
|
||||||
|
|
||||||
* Fixed #3302: Footer refactoring induced ellipsis in some browsers
|
* 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 %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% 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 %}
|
{% if config.theme.palette %}
|
||||||
{% set palette = config.theme.palette %}
|
{% set palette = config.theme.palette %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.9204c3b2.min.css' | url }}">
|
<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 backreference
|
||||||
.footnote-backref {
|
.footnote-backref {
|
||||||
display: inline-block;
|
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