Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correction RTL #1

Merged
merged 2 commits into from Oct 11, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 18 additions & 2 deletions _css/rtl.css
Expand Up @@ -9,10 +9,25 @@ html, body {
direction:rtl;
}

blockquote {
border-left-width:0px;
border-right:4px solid #333;
}

blockquote cite {
text-align:left;
}

cite, blockquote cite {
text-align:left;
}
.breadcrumbs li, .pagination li, .tagcloud li {
unicode-bidi:embed;
}
label input[type="radio"], label input[type="checkbox"] , label span{
unicode-bidi:embed;
}

code, pre {
direction:ltr;
padding:0 4px 2px;
Expand All @@ -29,17 +44,18 @@ pre {
/* #Lists and Links */

ul ul, ol ol {
margin:10px 0 0 20px;
margin:10px 20px 0 0;
}


/* #Table */

.table th, .table td {
text-align:right;
}

.table.bordered {
border-width:1px 1px 1px 0;
border-width:1px;
}

/* #Navigation */
Expand Down
66 changes: 37 additions & 29 deletions less/rtl.less
@@ -1,6 +1,6 @@
/*---------------------------------------------------
* RTL CSS for Horus V0.8.9 Alpha
* 05/10/2012
* 10/10/2012
*
* Copyright 2012, Yoni Greenberg
---------------------------------------------------*/
Expand All @@ -9,30 +9,33 @@
@import "#Variables.less";

html, body {
direction:rtl
direction:rtl
}

blockquote cite {
text-align:left
blockquote {
border-left-width:0px;
border-right:4px solid #333;
cite {text-align:left;}
}
cite {
text-align:left;
}

code, pre {
direction:ltr;
padding:0 4px 2px
direction:ltr;
padding:4px 6px 2px
}

code {
/*code {
padding:4px 6px 2px
}
}*/

pre {
padding:10px
padding:10px
}

/* #Lists and Links */

ul ul, ol ol {
margin:10px 0 0 20px
margin:10px 20px 0 0
}

/* #Table */
Expand All @@ -42,18 +45,23 @@ ul ul, ol ol {
}

.table.bordered {
border-width:1px 1px 1px 0
border-width:1px 1px 1px 1px
}

/* #Navigation */
/*---------------------------------------------------*/

.breadcrumbs li, .pagination li, .tagcloud li {
margin-left:5px
margin-left:5px;
unicode-bidi:embed;
}

label input[type="radio"], label input[type="checkbox"] , label span{
unicode-bidi:embed;
}

.tagcloud li {
margin-left:0
margin-left:0
}

/*==================================================*/
Expand All @@ -68,31 +76,31 @@ ul ul, ol ol {
/* #1200 grid */
/*---------------------------------------------------*/

.col1, .col2, .col3, .col4, .col5, .col6, .col7, .col8, .col9, .col10, .col11, .col12, .col13, .col14, .col15, .col16, .col1_3, .col2_3 {
float:right;
}
.col1, .col2, .col3, .col4, .col5, .col6, .col7, .col8, .col9, .col10, .col11, .col12, .col13, .col14, .col15, .col16, .col1_3, .col2_3 {
float:right;
}

.first {
margin-right:0
}
.first {
margin-right:0
}

.last {
margin-left:0
}
.last {
margin-left:0
}

/* #Image Aligns (wordpress friendly) */
/*---------------------------------------------------*/

.alignnone {
margin:5px 0 20px 20px
margin:5px 0 20px 20px
}

.alignright {
float:right;
margin:5px 20px 20px 0
float:right;
margin:5px 20px 20px 0
}

.alignleft {
float:left;
margin:5px 0 20px 20px
float:left;
margin:5px 0 20px 20px
}