Adjustments for right-to-left languages

This commit is contained in:
squidfunk 2020-03-16 12:01:20 +01:00
parent 6bf47b537f
commit 1b07bef1c5
11 changed files with 19 additions and 18 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,10 +1,10 @@
{
"assets/javascripts/bundle.js": "assets/javascripts/bundle.7a912663.min.js",
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.7a912663.min.js.map",
"assets/javascripts/bundle.js": "assets/javascripts/bundle.0a1c0470.min.js",
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.0a1c0470.min.js.map",
"assets/javascripts/vendor.js": "assets/javascripts/vendor.daf35bb7.min.js",
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.daf35bb7.min.js.map",
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.784c5235.min.js",
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.784c5235.min.js.map",
"assets/stylesheets/main.css": "assets/stylesheets/main.4b1ae2ca.min.css",
"assets/stylesheets/main.css": "assets/stylesheets/main.8ba7492e.min.css",
"assets/stylesheets/palette.css": "assets/stylesheets/palette.31180ff2.min.css"
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -41,7 +41,7 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.4b1ae2ca.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.8ba7492e.min.css' | url }}">
{% if palette.primary or palette.accent %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.31180ff2.min.css' | url }}">
{% endif %}
@ -178,7 +178,7 @@
{% endblock %}
{% block scripts %}
<script src="{{ 'assets/javascripts/vendor.daf35bb7.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.7a912663.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.0a1c0470.min.js' | url }}"></script>
{%- set translations = {} -%}
{%- for key in [
"clipboard.copy",

View File

@ -147,7 +147,7 @@
// Define base class
.md-typeset .admonition.#{$type} {
border-left-color: $tint;
border-color: $tint;
}
// Define base class

View File

@ -43,7 +43,7 @@
// Rotate title icon
&[open] > summary::after {
transform: rotate(0deg);
transform: rotateZ(0deg);
}
// Remove bottom spacing
@ -77,7 +77,7 @@
height: px2rem(20px);
margin-left: auto;
background-image: var(--md-details-icon);
transform: rotate(-90deg);
transform: rotateZ(-90deg);
transition: transform 250ms;
content: "";
@ -85,6 +85,7 @@
[dir="rtl"] & {
margin-right: auto;
margin-left: initial;
transform: rotateZ(90deg);
}
}
}

View File

@ -502,6 +502,12 @@
height: px2rem(18px);
transition: transform 250ms;
// Adjust for right-to-left languages
[dir="rtl"] & {
float: left;
transform: rotate(180deg);
}
// Inline icon and adjust to match font size
svg {
display: inline-block;

View File

@ -66,12 +66,6 @@
backface-visibility: hidden;
transition: opacity 250ms;
// Adjust for right-to-left languages
[dir="rtl"] & {
padding-right: initial;
padding-left: px2rem(12px);
}
// Hovered source container
&:hover {
opacity: 0.7;