This repository has been archived by the owner on Jun 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rtl.css
132 lines (111 loc) · 2.72 KB
/
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
/*
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;
}
#content nav .nav-previous {
float: right;
}
#content nav .nav-next {
float: left;
text-align: left;
}
#site-heading {
margin-bottom: 10px;
width: 60%;
text-align: left;
}
#site-title {
margin-right: 0;
margin-left: 0;
}
#site-description {
margin-right: 0;
margin-left: 0;
}
header[role=banner] #searchform {
right: auto;
left: 0;
}
#search-box #s {
background: url(library/images/icon-search.png) no-repeat 98% 50% #fff;
padding: 7px 30px 7px 10px;
}
/******************************************************************
NAVIGATION STYLES
******************************************************************/
div.menu {}
div.menu ul { }
div.menu ul li {
list-style-type: none;
float: right;
}
div.menu ul li a {
display: block;
text-decoration: none;
}
div.menu ul li:last-child a {}
div.menu ul li a:hover {}
div.menu ul li.current-menu-item a,
div.menu ul li.current_page_item a {}
div.menu ul li ul.sub-menu,
div.menu ul li ul.children {
position: absolute;
right: -9999em;
z-index: 9999;
width: 200px;
word-wrap: break-word;
}
div.menu ul li ul li a {}
div.menu ul li ul li a:hover {}
div.menu ul li ul li:last-child a {}
div.menu ul li:hover ul {
right: auto;
}
div.menu ul li ul li ul.sub-menu,
div.menu ul li ul li ul.children {
right: -9999em;
position: absolute;
margin-right: 200px;
top: auto;
margin-top: -30px;
}
div.menu ul li ul li:hover ul.sub-menu,
div.menu ul li ul li:hover ul.children {
right: auto;
}
.widget_nav_menu ul li {
float:none
}
.widget_nav_menu ul li ul.sub-menu,
.widget_nav_menu ul li ul.children {
position: relative;
right: auto;
z-index: 9999;
width: auto;
word-wrap: break-word;
margin-right: 1em;
margin-top: 0.5em;
}
.widget_nav_menu ul li ul.sub-menu a,
.widget_nav_menu ul li ul.children a {}
.widget_nav_menu ul li ul li ul.sub-menu,
.widget_nav_menu ul li ul li ul.children {
right: auto;
position: relative;
margin-right:1em;
margin-top: 0.5em;
top: auto;
word-wrap: break-word;
}
/** WIDGET **/
#sidebar .widget li,
#meta.widget aside a {
padding-left: 0;
padding-right: 0;
}