-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle-rtl.css
More file actions
146 lines (121 loc) · 2.21 KB
/
style-rtl.css
File metadata and controls
146 lines (121 loc) · 2.21 KB
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
/*!
Theme Name: SimpleWrite RTL
Description: RTL stylesheet for the SimpleWrite theme.
*/
body {
direction: rtl;
unicode-bidi: embed;
}
/* Text alignment */
.main-navigation,
.site-footer,
.page-header,
.entry-title,
.page-title,
.search-results,
.error-404,
.no-results {
text-align: right;
}
/* Header inner layout */
.header-inner {
flex-direction: row-reverse;
}
/* Branding and logo alignment */
.site-branding {
flex-direction: row-reverse;
}
.site-branding .site-title {
text-align: right;
}
/* Navigation */
.main-navigation ul {
justify-content: flex-start;
}
.main-navigation a {
text-align: right;
}
/* Entry Footer */
.entry-footer {
flex-direction: row-reverse;
text-align: right;
}
/* Pagination */
.pagination-wrap .nav-links a,
.pagination-wrap .nav-links span {
margin: 0 0.25rem 0 0;
}
/* Post navigation */
.post-navigation {
flex-direction: row-reverse;
}
.post-navigation .nav-previous,
.post-navigation .nav-next {
text-align: right;
}
/* Comments */
.comment-author,
.comment-content,
.comment-meta,
.comment-reply-link {
text-align: right;
}
/* Comment form */
.comment-form label {
text-align: right;
}
/* Widgets */
.widget h2,
.widget .wp-block-heading {
text-align: right;
}
/* Search form RTL fix */
.wp-block-search__inside-wrapper {
flex-direction: row-reverse;
}
.wp-block-search__input {
border-radius: 0 4px 4px 0;
}
.wp-block-search__button {
border-radius: 4px 0 0 4px;
}
/* Lists */
ul,
ol {
padding-right: 1.5rem;
padding-left: 0;
}
/* Widget Lists */
.wp-block-latest-posts__list,
.wp-block-archives,
.wp-block-categories,
.comment-list {
text-align: right;
}
/* No Results and 404 Pages */
.no-results .search-form,
.error-404 .search-form {
flex-direction: row-reverse;
}
/* RTL Search Inputs */
.no-results .search-form input[type="search"],
.error-404 .search-form input[type="search"] {
border-radius: 0 4px 4px 0;
}
.no-results .search-form input[type="submit"],
.error-404 .search-form input[type="submit"] {
border-radius: 4px 0 0 4px;
}
/* Sidebar */
.widget-area {
text-align: right;
}
/* Archive posts layout */
.archive-posts {
direction: rtl;
}
/* Fix for back-to-top button on RTL */
.back-to-top {
right: auto;
left: 20px;
}