rtl.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. /*
  2. Theme Name: Twenty Ten
  3. */
  4. /* --------------------------------------------------------------
  5. RTL Basics
  6. -------------------------------------------------------------- */
  7. body {
  8. direction:rtl;
  9. unicode-bidi:embed;
  10. }
  11. /*
  12. LAYOUT: Two-Column (Right)
  13. DESCRIPTION: Two-column fixed layout with one sidebar right of content
  14. */
  15. #container {
  16. float: right;
  17. margin: 0 0 0 -240px;
  18. }
  19. #content {
  20. margin: 0 20px 0 280px;
  21. }
  22. #primary,
  23. #secondary {
  24. float: left;
  25. }
  26. #secondary {
  27. clear: left;
  28. }
  29. /* =Fonts
  30. -------------------------------------------------------------- */
  31. body,
  32. input,
  33. textarea,
  34. .page-title span {
  35. font-family: Georgia, "Bitstream Charter", serif;
  36. }
  37. h3#comments-title,
  38. h3#reply-title,
  39. #access .menu,
  40. #cancel-comment-reply-link,
  41. #form-allowed-tags,
  42. #site-info,
  43. #site-title,
  44. #wp-calendar,
  45. .comment-meta,
  46. .comment-body tr th,
  47. .comment-body thead th,
  48. .entry-content label,
  49. .entry-content tr th,
  50. .entry-content thead th,
  51. .entry-meta,
  52. .entry-title,
  53. .entry-utility,
  54. .form-label,
  55. .navigation,
  56. .page-title,
  57. .pingback p,
  58. .reply,
  59. .widget-title
  60. {
  61. font-family: "Helvetica Neue", Helvetica, Arial, "Nimbus Sans L", sans-serif;
  62. }
  63. pre {
  64. font-family: "Courier 10 Pitch", Courier, monospace;
  65. }
  66. code {
  67. font-family: Consolas, Monaco, "Andale Mono", "DejaVu Sans Mono", monospace;
  68. }
  69. /* =Structure
  70. -------------------------------------------------------------- */
  71. /* The main theme structure */
  72. #footer-widget-area .widget-area {
  73. float: right;
  74. margin-left: 20px;
  75. margin-right: 0;
  76. }
  77. #footer-widget-area #fourth {
  78. margin-left: 0;
  79. }
  80. #site-info {
  81. float: right;
  82. }
  83. #site-generator {
  84. float: left;
  85. }
  86. /* =Global Elements
  87. -------------------------------------------------------------- */
  88. /* Text elements */
  89. ul {
  90. list-style: square;
  91. margin: 0 1.5em 18px 0;
  92. }
  93. blockquote {
  94. font-style: normal;
  95. }
  96. /* Text meant only for screen readers */
  97. .screen-reader-text {
  98. left: auto;
  99. text-indent:-9000px;
  100. }
  101. /* =Header
  102. -------------------------------------------------------------- */
  103. #site-title {
  104. float: right;
  105. }
  106. #site-description {
  107. clear: left;
  108. float: left;
  109. }
  110. /* =Menu
  111. -------------------------------------------------------------- */
  112. #access {
  113. float:right;
  114. }
  115. #access .menu {
  116. margin-right: 12px;
  117. margin-left: 0;
  118. }
  119. #access .menu li {
  120. float:right;
  121. }
  122. #access ul ul {
  123. left:auto;
  124. right:0;
  125. float:right;
  126. }
  127. #access ul ul ul {
  128. left:auto;
  129. right:100%;
  130. }
  131. /* =Content
  132. -------------------------------------------------------------- */
  133. #content table {
  134. text-align: right;
  135. margin: 0 0 24px -1px;
  136. }
  137. .entry-title,
  138. .entry-meta {
  139. clear: right;
  140. float: right;
  141. margin-left: 68px;
  142. margin-right: 0;
  143. }
  144. .entry-content input.file,
  145. .entry-content input.button {
  146. margin-left: 24px;
  147. margin-right:0;
  148. }
  149. .entry-content blockquote.left {
  150. float: right;
  151. margin-right: 0;
  152. margin-left: 24px;
  153. text-align: left;
  154. }
  155. .entry-content blockquote.right {
  156. float: left;
  157. margin-right: 24px;
  158. margin-left: 0;
  159. text-align: right;
  160. }
  161. #entry-author-info #author-avatar {
  162. float: right;
  163. margin: 0 0 0 -104px;
  164. }
  165. #entry-author-info #author-description {
  166. float: right;
  167. margin: 0 104px 0 0;
  168. }
  169. /* Gallery listing
  170. -------------------------------------------------------------- */
  171. .category-gallery .gallery-thumb {
  172. float: right;
  173. margin-left:20px;
  174. margin-right:0;
  175. }
  176. #content .gallery .gallery-item {
  177. float: right;
  178. }
  179. /* =Images
  180. -------------------------------------------------------------- */
  181. #content .gallery .gallery-caption {
  182. margin-right: 0;
  183. }
  184. /* =Navigation
  185. -------------------------------------------------------------- */
  186. .nav-previous {
  187. float: right;
  188. }
  189. .nav-next {
  190. float: left;
  191. text-align:left;
  192. }
  193. /* =Comments
  194. -------------------------------------------------------------- */
  195. .commentlist li.comment {
  196. padding: 0 56px 0 0;
  197. }
  198. .commentlist .avatar {
  199. right: 0;
  200. left: auto;
  201. }
  202. .comment-author .says {
  203. font-style: normal;
  204. }
  205. /* Comments form */
  206. .children #respond {
  207. margin: 0 0 0 48px;
  208. }
  209. /* =Widget Areas
  210. -------------------------------------------------------------- */
  211. .widget-area ul {
  212. margin-right: 0;
  213. }
  214. .widget-area ul ul {
  215. margin-right: 1.3em;
  216. margin-left: 0;
  217. }
  218. #wp-calendar caption {
  219. text-align: right;
  220. }
  221. #wp-calendar tfoot #next {
  222. text-align: left;
  223. }
  224. /* Main sidebars */
  225. #main .widget-area ul {
  226. margin-right: 0;
  227. padding: 0 0 0 20px;
  228. }
  229. #main .widget-area ul ul {
  230. margin-right: 1.3em;
  231. margin-left: 0;
  232. }
  233. /* =Footer
  234. -------------------------------------------------------------- */
  235. #site-generator a {
  236. background-position: right center;
  237. padding-right: 19px;
  238. padding-left: 0;
  239. margin-right: 1px;
  240. margin-left: 0;
  241. }