-
Notifications
You must be signed in to change notification settings - Fork 0
/
rtl.css
48 lines (36 loc) · 821 Bytes
/
rtl.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*
Theme Name: RTL Demo
Adding support for language written in a Right To Left (RTL) direction is easy -
it's just a matter of overwriting all the horizontal positioning attributes
of your CSS stylesheet in a separate stylesheet file named rtl.css.
https://codex.wordpress.org/Right_to_Left_Language_Support
*/
body {
direction: rtl;
unicode-bidi: embed;
}
.floated-div {
float: right;
}
.text-align-div {
text-align: left;
}
.positioning-div {
left: auto;
right: 1em;
}
.alternate-directional-arrow-div,
.rotated-directional-arrow-div {
padding: 1em 1em 1em 5em;
}
.alternate-directional-arrow-div:before,
.rotated-directional-arrow-div:before {
left: 1em;
right: auto;
}
.alternate-directional-arrow-div:before {
content: "\e901"
}
.rotated-directional-arrow-div:before {
transform: scaleX(-1);
}