RTL version
The same components in a right-to-left document. Two changes, no forked stylesheet.
Two changes: dir="rtl" on the <html> element, and
css/rtl.css loaded last. Everything else here is the same markup and
the same components as the rest of the template.
Why there is so little to it
The stylesheets use logical properties — margin-inline-start rather
than margin-left, text-align: start rather than
left. Those follow the document direction on their own, so most of the
layout flips with no override at all.
rtl.css covers only the three things logical properties cannot express:
positioned elements whose offset pairs with a transform, glyphs that carry a
direction, and anything anchored to a corner. Every rule in it is scoped to
[dir="rtl"], so loading it on a left-to-right page changes nothing.
Numbers stay left to right
Prices, times, flight codes and booking references read left to right even in an
Arabic or Hebrew document. Without that rule $1,240 renders as
240,1$ — the classic giveaway of a template that was flipped
rather than translated.
Components, flipped
Card
Form
Timeline
-
08:30اللقاء
قهوة في الساحة
المرشد ينتظر تحت الأقواس مع ملف أزرق.
-
09:00ساعتان
الحي القوطي سيرًا على الأقدام
السور الروماني والكاتدرائية قبل الحادية عشرة.
Accordion and alerts
لا. كل عملية دفع تعمل كضيف.
القسيمة في طريقها إلى بريدك.

