mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Improved rendering of code annotation markers
This commit is contained in:
parent
68bcb1a157
commit
6a811bbc6a
File diff suppressed because one or more lines are too long
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.df45aa19.min.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.8c5ef100.min.css' | url }}">
|
||||
{% if config.theme.palette %}
|
||||
{% set palette = config.theme.palette %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.9647289d.min.css' | url }}">
|
||||
|
@ -217,7 +217,8 @@
|
||||
&::before {
|
||||
display: inline-block;
|
||||
padding-bottom: 0.1em;
|
||||
vertical-align: 0.0625em;
|
||||
vertical-align: 0.065em;
|
||||
transform: scale(1.15);
|
||||
transition: transform 400ms cubic-bezier(0.1, 0.7, 0.1, 1);
|
||||
content: attr(data-md-annotation-id);
|
||||
|
||||
@ -228,7 +229,7 @@
|
||||
|
||||
// Annotation marker content on focus
|
||||
:focus-within > & {
|
||||
transform: rotate(45deg);
|
||||
transform: scale(1.25) rotate(45deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user