Skip to content

Commit

Permalink
Improved admonition icon positions reacting to font size
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Dec 8, 2021
1 parent 7dcc0a1 commit 3c4c8dc
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions material/assets/stylesheets/main.956c2c2d.min.css.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion material/assets/stylesheets/main.e306df54.min.css.map

This file was deleted.

2 changes: 1 addition & 1 deletion material/base.html
Expand Up @@ -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 }}">
Expand Down
Expand Up @@ -144,6 +144,7 @@ $admonitions: (
// Admonition icon
&::before {
position: absolute;
top: px2em(10px);
left: px2rem(12px);
width: px2rem(20px);
height: px2rem(20px);
Expand Down
Expand Up @@ -89,7 +89,7 @@
// Details marker
&::after {
position: absolute;
top: px2rem(8px);
top: px2em(10px);
right: px2rem(8px);
width: px2rem(20px);
height: px2rem(20px);
Expand Down

0 comments on commit 3c4c8dc

Please sign in to comment.