RTLsupport for Arabic language

This commit is contained in:
Daniel Leedan 2020-06-15 11:22:15 -05:00 committed by luigi1111
parent 3e8b85ae61
commit 03204d8a05
2 changed files with 43 additions and 1 deletions

View File

@ -41,7 +41,9 @@
<meta name="theme-color" content="#ffffff">
<link href="/css/custom.css" rel="stylesheet">
{% if site.lang == 'ar' %}
<link href="/css/rtl.css" rel="stylesheet">
{% endif %}
<meta name="msapplication-config" content="/ietemplates/ieconfig.xml">

40
css/rtl.css Normal file
View File

@ -0,0 +1,40 @@
.nav-items {
direction: rtl;
}
.white-nav .nav-item .dropdown-content {
direction: rtl;
text-align: right;
}
.site-wrap {
text-align: right;
}
.guides {
text-align: left;
}
h2#main-h2 {
text-align: right;
}
.using h2 {
text-align: right;
}
.about-monero {
direction: rtl;
}
.moneropedia {
text-align: left;
}
.roadmap {
text-align: left;
}
.footer-wrapper {
direction: rtl;
}