/* Theme Name: Aspen Pro 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 */ /* =Reset reset ----------------------------------------------- */ caption, th, td { text-align: right; } /* =Structure ----------------------------------------------- */ body { direction:rtl; unicode-bidi:embed; } /* =Global ----------------------------------------------- */ /* Text elements */ p { margin-bottom: 1.625em; } ul, ol { margin: 0 2em 1.5em 0; } .ltr ul, .ltr ol { margin: 0 0 1.5em 2em; } blockquote { font-family: Arial, sans-serif; } blockquote em, blockquote i, blockquote cite { font-style: normal; } /* Forms */ textarea { padding-left: 0; padding-right: 3px; } input#s { background-position: 97% 6px; padding: 4px 28px 4px 10px; } /* Assistive text */ .menu_bar a.assistive-text:active, .menu_bar a.assistive-text:focus { left: auto; right: 7.6%; } /* =Header ----------------------------------------------- */ #site-title { margin: 10px 0px .3em 20%; width:80%; } #site-description { margin: 0 0 1em 0px; } /* =Menu -------------------------------------------------------------- */ .menu_bar { float: right; } .menu_bar ul { margin: 0 -0.5em 0 0; padding-right: 0; } .menu_bar li { float: right; } .menu_bar ul ul { float: right; left: auto; right: 0; } .menu_bar ul ul ul { left: auto; right: 100%; } .menu-add {float:left;} .infobar_right{float:left;} /* =superfish helpers -------------------------------------------------------------- */ .menu_bar ul.sf-menu ul a { padding-right:30px; margin-right:0px; padding-left:0px; } .sf-sub-indicator { background: url(js/superfish/images/rtl-arrows-000000.png) no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */ } /* =Content ----------------------------------------------- */ .entry-title, .entry-header .entry-meta { padding-right: 0; padding-left: 0; } .entry-content td, .comment-content td { padding: 6px 0 6px 10px; } .page-link span { margin-right: 0; margin-left: 6px; } .entry-meta .edit-link a { float: left; } /* Images */ .post-avatar {float:left !important;} .entry-meta .post-avatar{float:none !important;} .featured-image {float:right;margin-left:10px;margin-right:0px;} .wp-caption .wp-caption-text, .gallery-caption { font-family: Arial, sans-serif; } .wp-caption .wp-caption-text { padding: 10px 40px 5px 0px; } .wp-caption .wp-caption-text:before { margin-right: 0; margin-left: 5px; left: auto; right: 10px; } #content .gallery-columns-4 .gallery-item { padding-right:0; padding-left:2%; } /* Author Info */ .singular #author-info { margin: 2.2em -35.4% 0 -35.6%; } #author-avatar { float: right; margin-right: 0; margin-left: -78px; } #author-description { float: right; margin-left: 0; margin-right: 108px; } /* Comments link */ .entry-header .comments-link a { background-image: url(images/comment-bubble-rtl.png); right: auto; left: 0; } /* Post Formats Headings */ .singular .entry-title, .singular .entry-header .entry-meta { padding-left: 0; } .singular .entry-header .entry-meta { left: auto; right: 0; } .singular .entry-meta .edit-link a { left: auto; right: 50px; } /* =Gallery ----------------------------------------------- */ .format-gallery .gallery-thumb { float: right; margin: .375em 0 0 1.625em; } /* =Status ----------------------------------------------- */ .format-status img.avatar { float: right; margin: 4px 0 2px 10px; } /* =Image ----------------------------------------------- */ .indexed.format-image div.entry-meta { float: right; } /* =error404 ---------------------- ------------------------- */ .error404 #main .widget { float: right; margin-right: auto; margin-left: 3.7%; } .error404 #main .widget_archive { margin-left: 0; } .error404 #main .widget_tag_cloud { margin-left: 0; } /* -- multiple columns */ .content-2-col-left { float:right; overflow:hidden; padding-right: 0; padding-left:3%; width:49%; } .content-2-col-right { float:right; overflow:hidden; width:49%; } .content-2-col { float: right; } .content-3-col { float: right; } /**** Masonry ****/ .blog-post { float: right; } /* =Showcase ----------------------------------------------- */ article.intro .edit-link a { right: auto; left: 20px; } /* Featured post */ section.featured-post { float: right; } /* Small featured post */ section.featured-post .attachment-small-feature { float: left; margin: 0 0 1.625em -8.9%; right: auto; left: -15px; } article.feature-image.small { float: right; } article.feature-image.small .entry-summary p a { left:auto; right: -23.8%; padding: 9px 85px 9px 26px; } /* Large featured post */ section.feature-image.large .hentry { left:auto; right: 9%; margin: 1.625em 0 0 9%; } /* Featured Slider */ .featured-posts .showcase-heading { padding-left: 0; padding-right: 8.9%; } .featured-posts section.featured-post { left: auto; right: 0; } /* Recent Posts */ section.recent-posts .other-recent-posts a[rel="bookmark"] { float: right; } section.recent-posts .other-recent-posts .comments-link a, section.recent-posts .other-recent-posts .comments-link > span { padding: 0.3125em 1em 0.3125em 0; left: 0; text-align: left; } /* =Attachments ----------------------------------------------- */ /* =Navigation -------------------------------------------------------------- */ .nav-previous { float: right; } .nav-next { float: left; text-align: left; } /* =Widgets ----------------------------------------------- */ .widget ul ul { margin-left: 0; margin-right: 1.5em; } /* Twitter */ .widget_twitter .timesince { margin-right: 0; margin-left: -10px; text-align: left; } /* =Comments ----------------------------------------------- */ .comment-reply-link {margin-right:3em;} .commentlist li.comment .comment-author img.avatar { float:right; left:10px; top:-10px; } #comments-title { /* comment_headings_color */ background: transparent url(images/comment-bubble-rtl.png) no-repeat; } .edit-link {float:left !important;} /* Site Generator Line */ #site-generator .sep { background-position: right center; } /* =Print ----------------------------------------------- */ @media print { #container { float: right; } /* Comments */ .commentlist .avatar { left: auto; right: 2.2em; } .commentlist li.comment .comment-meta { margin-left: 0; margin-right: 50px; } } /* =IE7 ----------------------------------------------- */ #ie7 section.recent-posts { margin-right: 0; margin-left: 7.6%; }