From 03204d8a058e8697766df2ba9eaeb1e1b0e3a371 Mon Sep 17 00:00:00 2001 From: Daniel Leedan Date: Mon, 15 Jun 2020 11:22:15 -0500 Subject: [PATCH] RTLsupport for Arabic language --- _includes/head.html | 4 +++- css/rtl.css | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 css/rtl.css diff --git a/_includes/head.html b/_includes/head.html index dec00444..6882439a 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -41,7 +41,9 @@ - + {% if site.lang == 'ar' %} + + {% endif %} diff --git a/css/rtl.css b/css/rtl.css new file mode 100644 index 00000000..355bb113 --- /dev/null +++ b/css/rtl.css @@ -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; +} \ No newline at end of file