mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed footer back reference positions
This commit is contained in:
parent
87bc1c8ef9
commit
7178bb4180
File diff suppressed because one or more lines are too long
@ -45,7 +45,7 @@
|
|||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-fa1296f85d.css">
|
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-e081c8cda4.css">
|
||||||
{% if config.extra.palette %}
|
{% if config.extra.palette %}
|
||||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-02ce7adcc2.palette.css">
|
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-02ce7adcc2.palette.css">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -83,24 +83,21 @@
|
|||||||
.footnote-backref {
|
.footnote-backref {
|
||||||
@extend %md-icon;
|
@extend %md-icon;
|
||||||
|
|
||||||
position: absolute;
|
display: inline-block;
|
||||||
transform: translateX(0.5rem);
|
transform: translateX(0.5rem);
|
||||||
transition:
|
transition:
|
||||||
transform 0.25s 0.125s,
|
transform 0.25s 0.125s,
|
||||||
color 0.25s,
|
color 0.25s,
|
||||||
opacity 0.125s 0.125s;
|
opacity 0.125s 0.125s;
|
||||||
color: $md-color-black--lighter;
|
color: $md-color-black--lighter;
|
||||||
font-size: 1.5625em;
|
|
||||||
opacity: 0;
|
|
||||||
vertical-align: middle;
|
|
||||||
|
|
||||||
// Hack: remove Unicode arrow for icon
|
// Hack: remove Unicode arrow for icon
|
||||||
&::first-letter {
|
font-size: 0;
|
||||||
font-size: 0;
|
opacity: 0;
|
||||||
}
|
vertical-align: text-bottom;
|
||||||
|
|
||||||
// Back reference icon
|
// Back reference icon
|
||||||
&::after {
|
&::before {
|
||||||
|
font-size: 1.6rem;
|
||||||
content: "keyboard_return";
|
content: "keyboard_return";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user