mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Improved admonition icon positions reacting to font size
This commit is contained in:
parent
7dcc0a1e3a
commit
3c4c8dce9c
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.956c2c2d.min.css.map
Normal file
1
material/assets/stylesheets/main.956c2c2d.min.css.map
Normal file
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.e306df54.min.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.956c2c2d.min.css' | url }}">
|
||||
{% if config.theme.palette %}
|
||||
{% set palette = config.theme.palette %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.9204c3b2.min.css' | url }}">
|
||||
|
@ -144,6 +144,7 @@ $admonitions: (
|
||||
// Admonition icon
|
||||
&::before {
|
||||
position: absolute;
|
||||
top: px2em(10px);
|
||||
left: px2rem(12px);
|
||||
width: px2rem(20px);
|
||||
height: px2rem(20px);
|
||||
|
@ -89,7 +89,7 @@
|
||||
// Details marker
|
||||
&::after {
|
||||
position: absolute;
|
||||
top: px2rem(8px);
|
||||
top: px2em(10px);
|
||||
right: px2rem(8px);
|
||||
width: px2rem(20px);
|
||||
height: px2rem(20px);
|
||||
|
Loading…
Reference in New Issue
Block a user