-
Notifications
You must be signed in to change notification settings - Fork 0
/
rtl.css
145 lines (133 loc) · 2.65 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
/*
Theme Name: SemPress
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
*/
body {
direction: rtl;
unicode-bidi: embed;
}
#primary {
float: right;
}
#sidebar {
float: left;
}
#content {
margin: 0 0 0 40px;
}
#access {
float: right;
}
#access ul {
padding-right: 0;
}
#access li {
float: right;
}
#access ul ul {
box-shadow: 0 3px 3px rgba(0,0,0,0.2);
-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
float: right;
right: 0;
left: auto;
}
#access ul ul ul {
right: 100%;
left: auto;
}
#content nav .nav-previous {
float: right;
}
#content nav .nav-next {
float: left;
text-align: left;
}
/* Custom Post Types */
.format-aside:before,
.format-video:before,
.format-audio:before,
.format-image:before,
.format-gallery:before,
.format-link:before,
.format-quote:before,
.format-chat:before,
.error404:before,
.sticky:before,
.format-status .entry-meta .avatar {
left: auto;
right: -75px;
}
/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {
#content {
margin: 0;
}
#main .widget-area {
padding-right: 0px;
padding-left: 40px;
}
}
/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (max-width: 767px) {
#main .widget-area {
padding: 0;
}
}
/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (max-width: 479px) {
#access {
position: absolute;
top: 0;
right: 0;
border: none;
background-color: #464646;
z-index: 99999;
}
#access .section-heading a:before {
margin-right: 0px;
margin-left: 10px;
padding-left: 0px;
padding-right: 25px;
}
#access li {
float: none;
margin: inherit;
position: inherit;
}
#access ul {
display: none;
margin: inherit;
padding-left: 0px;
padding-right: 0px;
background-color: transparent;
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
border: none;
}
#access ul ul {
background-color: transparent;
background-image: none;
position: inherit;
float: none;
padding: inherit;
margin-left: 0px;
margin-right: 20px;
border: none;
top: inherit;
left: auto;
right: auto;
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
border: none;
}
}
.screen-reader-text:focus {
right: 15px;
left: auto;
}