mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed some spacing issues for right-to-left languages
This commit is contained in:
parent
12666a3c00
commit
2d3354bd0e
2
material/assets/stylesheets/main.1c75ef36.min.css
vendored
Normal file
2
material/assets/stylesheets/main.1c75ef36.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.1c75ef36.min.css.map
Normal file
1
material/assets/stylesheets/main.1c75ef36.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
File diff suppressed because one or more lines are too long
@ -39,7 +39,7 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.5a8d6a6f.min.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.1c75ef36.min.css' | url }}">
|
||||
{% if config.theme.palette %}
|
||||
{% set palette = config.theme.palette %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.3f5d1f46.min.css' | url }}">
|
||||
|
@ -305,6 +305,12 @@
|
||||
margin-right: px2rem(-4px);
|
||||
font-size: px2rem(24px);
|
||||
|
||||
// Adjust for right-to-left languages
|
||||
[dir="rtl"] & {
|
||||
margin-right: 0;
|
||||
margin-left: px2rem(-4px);
|
||||
}
|
||||
|
||||
// Navigation icon in link to next level
|
||||
&::after {
|
||||
display: block;
|
||||
|
@ -161,22 +161,22 @@
|
||||
mask-repeat: no-repeat;
|
||||
mask-size: contain;
|
||||
content: "";
|
||||
|
||||
// Adjust for right-to-left languages
|
||||
[dir="rtl"] & {
|
||||
margin-right: initial;
|
||||
margin-left: px2rem(2px);
|
||||
}
|
||||
}
|
||||
|
||||
// Adjust spacing for repository fact icon
|
||||
&:nth-child(1n+2)::before {
|
||||
margin-left: px2rem(8px);
|
||||
}
|
||||
|
||||
// Adjust for right-to-left languages
|
||||
[dir="rtl"] & {
|
||||
margin-right: initial;
|
||||
margin-left: px2rem(2px);
|
||||
|
||||
// Adjust spacing for repository fact icon
|
||||
&:nth-child(1n+2)::before {
|
||||
// Adjust for right-to-left languages
|
||||
[dir="rtl"] & {
|
||||
margin-right: px2rem(8px);
|
||||
margin-left: initial;
|
||||
margin-left: px2rem(2px);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user