-
Notifications
You must be signed in to change notification settings - Fork 51
/
rtl.css
129 lines (99 loc) · 2.02 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
/*
RTL styles for right-to-left languages.
Can be used with all layouts.
*/
/* Global */
ul, ol { margin: 0 1.5em 1.5em 0; }
caption, th, td { text-align: right; }
/* Main Menu */
.main-navigation li { float: right; }
.main-navigation ul ul ul {
right: 100%;
left: inherit;
}
.menu-social ul,
.search-toggle { float: left; }
.main-navigation ul ul {
right: 0;
left: inherit;
}
.search-box .search-field { float: left; }
@media screen and (max-width: 600px) {
.search-toggle {
right: inherit;
left: 0
}
#menu-social ul {
right: inherit;
left: 6rem;
}
.main-navigation li { float: none; }
.main-navigation li li a { padding-right: 4em; }
}
/* Layouts */
@media screen and (max-width: 1539px) and (min-width: 1160px) {
.content-area {
margin-right: -380px;
padding-right: 380px;
margin-left: 0;
padding-left: 0;
}
}
/* Index */
.sticky-post {
right: inherit;
left: 3rem;
}
.fa-arrow-circle-o-right:before {
content: "\f190";
}
/* Posts */
.single .entry-meta {
position: relative;
width: 100%;
margin-left: 0;
}
.single .byline,
.single .posted-on,
.single .comments-link,
.single .mobile-hide,
.single .author { display: inline; }
.entry-footer li {
margin-right: 0;
margin-left: 4rem;
}
.entry-footer i {
margin-left: .5rem;
margin-right: 0;
}
.author-avatar {
float: right;
margin: 0 0 0 2rem;
}
.author-meta, .author-description {
margin-right: 12rem;
margin-left: 0;
}
.author-title { clear: none; }
.author-social-media a {
margin-right: 1.5rem;
margin-left: 0;
}
.comment-author .avatar {
float: right;
margin-right: 0;
margin-left: 20px;
}
/* Sidebars */
.widget_recent_entries li:before,
.widget_recent_comments li:before,
.widget_archive li:before {
float: right;
margin-right: -2.5em;
margin-left: 0;
}
.widget_recent_entries li,
.widget_recent_comments li,
.widget_archive li {
margin: 0 2.5em .5em 0;
}