Advertisement
Guest User

Wordpress Automattic Lovebirds theme RTL css

a guest
Sep 10th, 2012
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.66 KB | None | 0 0
  1.  
  2. /* =Reset
  3. -------------------------------------------------------------- */
  4.  
  5. caption, th, td {
  6. text-align: right;
  7. }
  8.  
  9. /* =Global
  10. ----------------------------------------------- */
  11.  
  12. /* Headings */
  13.  
  14. /* Text elements */
  15.  
  16. ul, ol {
  17. margin: 0 3em 1.5em 0;
  18. }
  19.  
  20. ul ul, ol ol, ul ol, ol ul {
  21. margin-right: 1.5em;
  22. margin-left: auto;
  23. }
  24.  
  25. blockquote {
  26. border-right: 5px solid #462917;
  27. border-left: none;
  28. }
  29.  
  30. button,
  31. html input[type="button"],
  32. input[type="reset"],
  33. input[type="submit"] {
  34. background: -webkit-gradient(linear, right top, right bottom, color-stop(60%,#fafafa), color-stop(100%,#e6e6e6));
  35. }
  36.  
  37. button:hover,
  38. html input[type="button"]:hover,
  39. input[type="reset"]:hover,
  40. input[type="submit"]:hover {
  41. background: -webkit-gradient(linear, right top, right bottom, color-stop(60%,#f5f5f5), color-stop(100%,#dcdcdc));
  42. }
  43.  
  44. textarea {
  45. padding-right: 3px;
  46. padding-left: 0;
  47. }
  48.  
  49. /* Alignment */
  50. .alignright {
  51. float: right;
  52. margin-left: 1.5em;
  53. margin-right: auto;
  54. }
  55.  
  56. .alignleft {
  57. float: left;
  58. margin-right: 1.5em;
  59. margin-left: auto;
  60. }
  61.  
  62.  
  63. /* =Header
  64. ----------------------------------------------- */
  65.  
  66. #masthead hgroup {
  67. float: right;
  68. }
  69.  
  70. /* =Menu
  71. ----------------------------------------------- */
  72.  
  73. .main-navigation {
  74. float: left;
  75. }
  76.  
  77. .main-navigation ul ul {
  78. float: right;
  79. right: 0;
  80. left: auto;
  81. }
  82.  
  83. .main-navigation ul ul ul {
  84. right: 100%;
  85. left: auto;
  86. }
  87.  
  88. .main-navigation ul ul li {
  89. text-align: right;
  90. }
  91.  
  92.  
  93. /* =Navigation
  94. ----------------------------------------------- */
  95.  
  96. #content .nav-previous {
  97. float: right;
  98. }
  99.  
  100. #content .nav-next {
  101. float: left;
  102. text-align: left;
  103. }
  104.  
  105. .next-image {
  106. float: left;
  107. }
  108.  
  109. /* =Comments
  110. --------------------------------------------------------------*/
  111.  
  112. .comments-link {
  113. float: left;
  114. margin: -55px 15px 15px 0;
  115. }
  116.  
  117. .comments-link:before,
  118. .comments-link:after {
  119. left: 17px;
  120. }
  121.  
  122. .comments-link:after {
  123. left: 0;
  124. }
  125.  
  126. #commentform .required {
  127. margin-right: -5px;
  128. margin-left: auto;
  129. }
  130.  
  131. ul.children .comment-author {
  132. border-left: 0 none;
  133. clear: right;
  134. border-right: none;
  135. }
  136.  
  137. ul.children .comment-content,
  138. ul.children .comment-content .comment-meta,
  139. ul.children .reply {
  140. padding-right: 0px;
  141. padding-left: 0;
  142. }
  143.  
  144. .avatar {
  145. float: right;
  146. margin-left: 10px;
  147. margin-right: auto;
  148. }
  149.  
  150. .comment-content,
  151. .comment-content .comment-meta,
  152. .reply {
  153. padding-right: 171px;
  154. padding-left: 0;
  155. }
  156.  
  157. .comment-author {
  158. float: right;
  159. border-left: 1px solid rgba(70,41,23,.2);
  160. margin-left: 20px;
  161. margin-right: auto;
  162. border-right: none;
  163. }
  164.  
  165. .comment-author cite.fn {
  166. float: right;
  167. }
  168.  
  169. .comment-form-comment label {
  170. float: right;
  171. }
  172.  
  173. /* Guestbook comments */
  174.  
  175. .page-template-guestbook-php .post-edit-link {
  176. float: left;
  177. }
  178.  
  179. .guestbook .comment-author img {
  180. float: left;
  181. margin: 0 15px 15px 0;
  182. }
  183.  
  184. .guestbook .commentlist {
  185. float: right;
  186. }
  187.  
  188. .guestbook .commentlist > li.comment {
  189. float: right;
  190. }
  191.  
  192. /* =Widgets
  193. ----------------------------------------------- */
  194.  
  195. .widget li ul {
  196. padding: 0 15px 0 0;
  197. }
  198.  
  199.  
  200. /* =Site Layout
  201. ----------------------------------------------- */
  202.  
  203. #primary {
  204. float: left;
  205. margin: 0 -30% 0 0;
  206. }
  207.  
  208. #content {
  209. margin: 0 30% 0 0;
  210. }
  211.  
  212. #secondary {
  213. float: right;
  214. }
  215.  
  216. #tertiary {
  217. clear: right;
  218. }
  219.  
  220. #colophon {
  221. text-align: left;
  222. }
  223.  
  224. /* =Calendar
  225. ----------------------------------------------- */
  226.  
  227. #wp-calendar #prev {
  228. text-align: right;
  229. }
  230.  
  231. #wp-calendar #next {
  232. text-align: left;
  233. }
  234.  
  235. /* =Responsive Layout
  236. ----------------------------------------------- */
  237.  
  238. @media only screen and ( min-width: 320px ) and ( max-width: 1024px ) {
  239.  
  240. #wp-calendar #next {
  241. text-align: left;
  242. }
  243.  
  244. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement