forked from wycks/WP-Skeleton-Theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rtl.css
44 lines (40 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
/*
Theme Name: WP-Skeleton
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.
http://codex.wordpress.org/Right_to_Left_Language_Support
*/
body {
direction: rtl;
unicode-bidi: embed;
}
#access {
float: right;
margin: 0 auto 1em;
}
#access ul {
padding-right: 0;
}
#access li {
float: right;
}
#access ul ul {
box-shadow: 0 3px 3px rgba(0,0,0,0.2);
-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
float: right;
right: 0;
left: auto;
}
#access ul ul ul {
right: 100%;
left: auto;
}
#content nav .nav-previous {
float: right;
}
#content nav .nav-next {
float: left;
text-align: left;
}