This repository has been archived by the owner on May 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathrtl.css
322 lines (262 loc) · 4.85 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
/*
Theme Name: zillah
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;
}
body,
button,
input,
select,
textarea {
text-align: right;
}
/* Header */
.dropdown-toggle {
right: initial;
left: 0;
margin: 0 0 0 5px;
}
.main-navigation ul {
padding-right: 0;
}
.main-navigation ul ul {
float: right;
padding-right: 30px;
padding-left: 0;
text-align: right;
}
.header-search form {
float: left;
}
.header-search label:before {
right: 0;
left: initial;
padding-right: 0;
padding-left: 20px;
content: "\f002";
}
.header-search input {
padding-left: 50px;
}
.header-search input[type="submit"] {
right: 0;
left: initial;
}
.header-search label {
padding-right: 20px;
padding-left: 0;
}
.menu-toggle-button-wrap {
text-align: right;
}
.header-social-icons ul {
float: left;
}
/* Footer */
.site-footer {
text-align: right;
}
.quick-contact .fa {
margin: 0 0 15px 20px;
}
/* Ribbon itnro [Homepage two] */
.homepage-two .site-main {
padding-left: 0;
}
/* Recently posted [homepage two] */
.recently-item .entry-header {
float: right;
width: 100%;
}
.recently-item h2.entry-title a {
float: none;
}
.recently-content-wrap .entry-content {
width: 100%;
}
/* Page */
.taxonomy-description {
padding-right: 0;
padding-left: 315px;
text-align: right;
}
blockquote {
margin-right: 0;
padding: 0 20px;
border-right: 5px solid #7fcaad;
border-left: none;
}
/* Single page */
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
float: left;
margin-right: -1px;
margin-left: 0;
text-align: left;
}
.comment-body {
padding: 30px 124px 30px 15px;
}
.comment-author {
right: 0;
left: initial;
}
.comment-list .children {
padding: 0 30px 0 0;
}
.author-details-img-wrap {
float: right;
margin-right: 0;
margin-left: 35px;
}
@media screen and (min-width: 480px) {
}
@media screen and (min-width: 600px) {
/* Sidebar */
.widget_search input[type="submit"] {
right: initial;
left: 0;
}
.widget_search label:before {
right: initial;
left: 0;
padding-right: 0;
padding-left: 20px;
content: "\f002";
}
.widget_search input {
padding-left: 50px;
}
/* Header */
.menu-toggle-button-wrap {
text-align: center;
}
}
@media screen and (min-width: 768px) {
/* Header */
.main-navigation ul ul {
padding: 0;
}
/* Footer */
.footer-content-bottom,
.quick-contact {
text-align: right;
}
.quick-contact,
.footer-widget-wrap {
float: right;
}
.footer-content-bottom-btn {
padding-right: 25px;
padding-left: 0;
}
/* About us */
.about-us-page .recently-posted-title {
float: right;
}
.see-all-posts {
float: left;
}
.recently-posted-wrap .recently-posted-about {
float: right;
}
.recently-posted-wrap .recently-posted-about:nth-child(3n+1) {
clear: right;
padding-right: 0;
padding-left: 16.6px;
}
.recently-posted-wrap .recently-posted-about:nth-child(3n+3) {
padding-right: 16.6px;
padding-left: 0;
}
}
@media screen and (min-width: 992px) {
.site-main {
padding: 0 0 0 60px;
}
/* header */
.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
right: 100%;
left: initial;
}
.main-navigation li.menu-item-has-children {
padding-right: 0;
padding-left: 10px;
}
/* Footer */
.footer-video-wrap {
margin-right: 0;
margin-left: 60px;
}
/* Ribbon [Homepage One] */
.home-ribbon-text {
margin-right: 0;
margin-left: 20px;
text-align: right;
}
/* Tree videos [Homepage Two] */
.home-three-videos-item {
float: right;
}
/* Ribbon intro [Homepage Two] */
.home-ribbon-intro-inner {
float: right;
text-align: right;
}
/* Recently posted [homepage two] */
.recently-image-wrap {
margin-right: 0;
margin-left: 50px;
}
/* Contact */
.search-page .site-main,
.contact-page .site-main {
padding-left: 0;
}
.contact-block-item-wrap .contact-block-item {
float: right;
}
.contact-block-content-wrap .contact-block-content:nth-child(even) {
padding-right: 15px;
padding-left: 0;
}
.contact-block-content-wrap .contact-block-content:nth-child(odd) {
padding-right: 0;
padding-left: 15px;
}
.contact-block {
text-align: right;
}
.contact-link .fa {
text-align: right;
}
/* About us */
.info-block {
text-align: right;
}
}
@media screen and (min-width: 1200px) {
/* Recently posted */
.recently-posted-wrap .recently-posted-item:nth-child(2n+1) {
clear: right;
}
.recently-posted-item {
float: right;
}
.recently-posted-wrap .recently-posted-item:nth-child(odd) {
padding-right: 0;
padding-left: 10px;
}
.recently-posted-wrap .recently-posted-item:nth-child(even) {
padding-right: 10px;
padding-left: 0;
}
}