Skip to content

Instantly share code, notes, and snippets.

@MeirKriheli
Created July 16, 2013 12:51
Show Gist options
  • Save MeirKriheli/6008426 to your computer and use it in GitHub Desktop.
Save MeirKriheli/6008426 to your computer and use it in GitHub Desktop.
Right to left layout for old Disqus (won't work with the new Disqus)
html[dir=rtl] {
#dsq-content ul, #dsq-content li, #dsq-content ol, #dsq-content cite,
#dsq-content div, #dsq-content table, #dsq-content td, #dsq-content th,
#dsq-content p, #dsq-content a, #dsq-content img, #dsq-content caption {
text-align: right; }
#dsq-content {
.dsq-options span { margin-right: 0; margin-left: 10px; }
.dsq-request-user-logout { float: left; }
.dsq-request-user-name { padding: 0.25em 0.5em 0 0; vertical-align: top; direction:ltr }
.dsq-post-footer .dsq-button { float: left; margin-right: 3px; margin-left:0;}
.dsq-attach-media { float: right;}
@dsq-margin: 30px;
.dsq-comment { margin-left:0;}
.dsq-depth-1 { margin-left:0 !important; margin-right: @dsq-margin; }
.dsq-depth-2 { margin-left:0 !important; margin-right: @dsq-margin * 2; }
.dsq-depth-3 { margin-left:0 !important; margin-right: @dsq-margin * 3; }
.dsq-depth-4 { margin-left:0 !important; margin-right: @dsq-margin * 4; }
.dsq-comment-hide-thread, .dsq-comment-show-thread {
left:0; right: auto; text-indent: 0;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment