-
Notifications
You must be signed in to change notification settings - Fork 7
/
rtl.css
180 lines (155 loc) · 5.29 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
/*
Theme Name: SiteOrigin Corp
Description: Adds support for languages written in a Right To Left (RTL) direction.
*/
body {
direction: rtl;
unicode-bidi: embed; }
ul,
ol {
margin: 0 25px 27px 0;
padding: 0; }
dl dd {
margin: 0 25px 0 0; }
blockquote {
border-right: 3px solid #f14e4e;
border-left: none;
padding: 15px 25px 15px 0; }
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
text-align: left; }
.main-navigation ul li {
margin: 0 0 -10px 39px; }
.main-navigation ul li:last-of-type {
margin-left: 0; }
.main-navigation .shopping-cart,
.main-navigation .search-toggle {
margin: 0 37px 0 0; }
/*--------------------------------------------------------------
## Posts, Post and Comment Navigation
--------------------------------------------------------------*/
.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
float: right;
text-align: right; }
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
float: left;
text-align: left; }
.post-navigation a img {
display: inline-block;
margin: 0 0 0 15px; }
.post-navigation .nav-next img {
margin: 0 15px 0 0; }
/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/
.site-header .site-branding {
padding: 0 0 0 20px; }
.site-header.centered .site-branding {
margin: 0 auto 20px auto;
padding: 0; }
.widget .search-form input[type="search"] {
padding: 10px 13px 10px 30px; }
/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
@media (min-width: 1025px) {
.comment-list li .comment {
margin-right: 80px;
margin-left: 0; } }
.comment-list .comment .avatar-container {
float: right; }
@media (min-width: 481px) {
.comment-list .comment .comment-container {
margin-right: 80px;
margin-left: 0; } }
/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Recent Comments Widget
--------------------------------------------------------------*/
.widget_recent_comments .recentcomments .comment-author-link:before {
padding: 0 0 0 9px; }
/*--------------------------------------------------------------
## - Search Widget
--------------------------------------------------------------*/
.widget .search-form input[type="search"] {
padding: 10px 13px 10px 30px; }
.widget .search-form button[type="submit"] {
left: 14px;
right: initial; }
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Blog Loop: Grid
--------------------------------------------------------------*/
.blog-layout-grid article:nth-of-type(3n+1) {
margin-right: 0;
margin-left: 3.5%; }
@media (max-width: 768px) {
.blog-layout-grid article:nth-of-type(3n+1) {
margin-right: 3.5%;
margin-left: 0; } }
@media (max-width: 480px) {
.blog-layout-grid article:nth-of-type(3n+1) {
margin-right: 0; } }
@media (max-width: 768px) {
.blog-layout-grid article:nth-of-type(2n+1) {
margin-right: 0;
margin-left: 3.5%; } }
@media (max-width: 768px) and (max-width: 480px) {
.blog-layout-grid article:nth-of-type(2n+1) {
margin-left: 0; } }
.blog-layout-grid article:nth-of-type(3n+3) {
margin-right: 3.5%;
margin-left: 0; }
@media (max-width: 768px) {
.blog-layout-grid article:nth-of-type(3n+3) {
margin-right: 0;
margin-left: 0; } }
body.page-layout-default.sidebar .blog-layout-grid article:nth-of-type(3n+1) {
margin-left: 0; }
body.page-layout-default.sidebar .blog-layout-grid article:nth-of-type(2n+1) {
margin-right: 0;
margin-left: 3.5%; }
@media (max-width: 480px) {
body.page-layout-default.sidebar .blog-layout-grid article:nth-of-type(2n+1) {
margin-left: 0; } }
body.page-layout-default.sidebar .blog-layout-grid article:nth-of-type(3n+3) {
margin-right: 0; }
/*--------------------------------------------------------------
## - Related Posts
--------------------------------------------------------------*/
.yarpp-related ol li,
.related-posts-section ol li {
float: right; }
.yarpp-related ol li:nth-child(3n+1),
.related-posts-section ol li:nth-child(3n+1) {
margin-right: 0;
margin-left: 3.5%; }
@media (max-width: 480px) {
.yarpp-related ol li:nth-child(3n+1),
.related-posts-section ol li:nth-child(3n+1) {
margin-right: 0;
margin-left: 0; } }
.yarpp-related ol li:nth-child(3n+3),
.related-posts-section ol li:nth-child(3n+3) {
margin-right: 3.5%;
margin-left: 0; }
@media (max-width: 480px) {
.yarpp-related ol li:nth-child(3n+3),
.related-posts-section ol li:nth-child(3n+3) {
margin-right: 0;
margin-left: 0; } }
/*--------------------------------------------------------------
## Portfolio
--------------------------------------------------------------*/
.archive-project {
float: right; }