forked from GeoDirectory/directory-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rtl.css
40 lines (33 loc) · 820 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
/*
Theme Name: Directory Starter
Description: Adds support for languages written in a Right To Left (RTL) direction.
It's easy, just a matter of overwriting all the horizontal positioning attributes
of your CSS stylesheet in a separate stylesheet file named rtl.css.
See: https://codex.wordpress.org/Right_to_Left_Language_Support
*/
body.rtl ul, ol{
margin: 0 20px 0 20px;
}
body.rtl .entry-footer>span {
margin-left: 10px;
margin-right: 0;
}
body.rtl #primary-nav ul {
float: left;
}
body.rtl #primary-nav ul li {
float: right;
}
body.rtl #primary-nav ul li:last-child {
padding-right: inherit;
padding-left: 0;
}
body.rtl .sd-my-account-dd{
right: -135px;
}
body.rtl #mm-primary-nav .sd-my-account-dd{
right: 0;
}
body.rtl .mm-menu .mm-list{
padding: 20px 20px 0 20px;
}