-
Notifications
You must be signed in to change notification settings - Fork 3
/
rtl.css
228 lines (201 loc) · 5.28 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
/**
* @package Thz Framework
* @author Themezly
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
* @websites http://www.themezly.com | http://www.youjoomla.com | http://www.yjsimplegrid.com
Theme Name: creatus
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
*/
/* CSS INFORMATION
# Body
# Menus
## Header inline menu right
# Page title
# Text align
# Grid system
## Items grid
# Content
## Main
## Post shares
## Post navigations
# Footer
# Overlays
*/
/* ============================================
# Body
============================================ */
body {
direction: rtl;
unicode-bidi: embed;
}
/* blockquotes */
body.rtl blockquote {
padding: 15px 30px 15px 0px;
border-left: none;
border-right: 3px solid #eaeaea;
}
body.rtl blockquote.quote-right {
padding-left: 30px;
padding-right: 0;
border: none;
border-left: 3px solid #eaeaea;
}
body.rtl blockquote.quote-right p,
body.rtl blockquote.quote-right small {
text-align: left;
}
/* dropcaps */
body.rtl .thz-dropcap:first-letter {
float: right;
margin: 0px 0px -8px 8px;
}
body.rtl .thz-dropcap.box:first-letter,
body.rtl .thz-dropcap.rounded:first-letter,
body.rtl .thz-dropcap.circle:first-letter {
margin: 5px 0 0 15px;
}
/* ============================================
# Menus
============================================ */
/* ============================================
## Header inline menu right
============================================ */
body.rtl .header-inline #mainmenu_holder.thz-poz-menu-right {
float: left;
}
body.rtl .thz-poz-menu-right ul.thz-menu {
float: right;
}
body.rtl .thz-poz-menu-right ul.thz-menu.thz-secondary-menu {
float: left;
}
body.rtl .thz-poz-menu-right ul.thz-menu span.child i.childicon {
margin-left: 0;
margin-right: 8px
}
body.rtl ul.thz-menu ul span.child i.childicon {
right: auto;
left: 15px;
}
body.rtl .thz-poz-menu-right ul.thz-menu li.level0.menu-item {
float: right;
}
.thz-horizontal-header body.rtl .thz-secondary-menu:last-child .thz-menu-addon:last-child,
.thz-horizontal-header body.rtl .thz-secondary-menu:last-child .thz-menu-addon:last-child a.itemlink {
margin-left: 0;
padding-left: 0;
}
body.rtl ul.thz-menu ul div.ulholder {
left: auto;
right: 100%;
}
/* ============================================
# Page title
============================================ */
body.rtl .thz-pagetitle-layout-table .thz-pagetitle-holder div:nth-child(1) {
text-align: right;
}
body.rtl .thz-pagetitle-layout-table .thz-pagetitle-holder div:nth-child(2) {
text-align: left;
}
/* Page title stack*/
body.rtl .thz-pagetitle-layout-stack.stack-left {
text-align: right;
}
body.rtl .thz-pagetitle-layout-stack.stack-right {
text-align: left;
}
/* ============================================
# Text align
============================================ */
body.rtl .thz-align-left {
text-align: right;
}
body.rtl .thz-align-right {
text-align: left;
}
/* ============================================
# Grid system
============================================ */
body.rtl .thz-column {
float: right;
}
/* ============================================
## Items grid
============================================ */
body.rtl .thz-grid-item {
float: right;
}
/* ============================================
# Content
============================================ */
/* ============================================
## Main
============================================ */
body.rtl .holders .thz-block {
float: right;
}
body.rtl #holder2 .thz-block {
float: left;
}
@media screen and (max-width: 979px) {
body.rtl div#thz-main-wrap .thz-block {
width: 100%;
float: none;
clear: both
}
}
body.rtl ol.comment-list li.comment .reply {
position: static;
}
/* ============================================
## Post shares
============================================ */
body.rtl .thz-shares-separated .thz-post-share-links-in {
float: left;
}
/* ============================================
## Post navigations
============================================ */
/* Single post nav */
body.rtl .thz-post-navigation .nav-previous {
text-align: right;
}
body.rtl .thz-post-navigation .nav-next {
text-align: left;
}
body.rtl .thz-post-navigation .nav-previous .thz-nav-el:not(:last-child){
padding-right:0px;
padding-left:15px;
}
body.rtl .thz-post-navigation .nav-next .thz-nav-el:not(:first-child){
padding-left:0px;
padding-right:15px;
}
/* ============================================
# Footer
============================================ */
body.rtl .thz-footer-table .thz-footer-cell.left > div {
float: right;
}
body.rtl .thz-footer-table .thz-footer-cell.right > div {
float: left;
}
body.rtl .thz-woo-item-cart-buttons i + span.thz-woo-item-cart-label {
margin-left: 0px;
margin-right: 10px;
}
body.rtl .thz-footer-cell.right .thz-socials-footer a {
margin-left: 0;
margin-right: 20px;
}
/* ============================================
# Overlays
============================================ */
body.rtl .thz-search-overlay-in .thz-search-form:before {
right: auto;
left: 20px;
}