Twenty Ten RTL fixes. props yoavf. fixes #13121.

git-svn-id: http://svn.automattic.com/wordpress/trunk@14385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-05-03 19:17:27 +00:00
parent 941da09fa7
commit a42ee2366e
1 changed files with 24 additions and 52 deletions

View File

@ -3,11 +3,9 @@ Theme Name: Twenty Ten
*/
/* --------------------------------------------------------------
RTL Basics
-------------------------------------------------------------- */
/*
RTL Basics
*/
body {
@ -26,7 +24,7 @@ DESCRIPTION: Two-column fixed layout with one sidebar right of content
margin: 0 0 0 -240px;
}
#content {
margin: 0 20px 0 280px;
margin: 0 20px 36px 280px;
}
#primary,
#secondary {
@ -43,42 +41,7 @@ body,
input,
textarea,
.page-title span {
font-family: Georgia, "Bitstream Charter", serif;
}
h3#comments-title,
h3#reply-title,
#access .menu,
#cancel-comment-reply-link,
#form-allowed-tags,
#site-info,
#site-title,
#wp-calendar,
.comment-meta,
.comment-body tr th,
.comment-body thead th,
.entry-content label,
.entry-content tr th,
.entry-content thead th,
.entry-meta,
.entry-title,
.entry-utility,
.form-label,
.navigation,
.page-title,
.pingback p,
.reply,
.widget-title
{
font-family: "Helvetica Neue", Helvetica, Arial, "Nimbus Sans L", sans-serif;
}
pre {
font-family: "Courier 10 Pitch", Courier, monospace;
}
code {
font-family: Consolas, Monaco, "Andale Mono", "DejaVu Sans Mono", monospace;
font-family: Arial, Tahoma, sans-serif;
}
/* =Structure
@ -106,7 +69,6 @@ code {
/* Text elements */
ul {
list-style: square;
margin: 0 1.5em 18px 0;
}
blockquote {
@ -117,6 +79,7 @@ blockquote {
.screen-reader-text {
left: auto;
text-indent:-9000px;
overflow:hidden;
}
@ -129,6 +92,7 @@ blockquote {
#site-description {
clear: left;
float: left;
font-style: normal;
}
/* =Menu
@ -138,13 +102,14 @@ blockquote {
float:right;
}
#access .menu {
#access .menu-header,
div.menu {
margin-right: 12px;
margin-left: 0;
}
#access .menu li {
#access .menu-header li,
div.menu li{
float:right;
}
@ -165,6 +130,9 @@ blockquote {
text-align: right;
margin: 0 0 24px -1px;
}
.page-title span {
font-style:normal;
}
.entry-title,
.entry-meta {
clear: right;
@ -207,17 +175,18 @@ blockquote {
margin-left:20px;
margin-right:0;
}
#content .gallery .gallery-item {
float: right;
}
/* =Images
/* Images
-------------------------------------------------------------- */
#content .gallery .gallery-caption {
margin-right: 0;
}
#content .gallery .gallery-item {
float: right;
}
/* =Navigation
-------------------------------------------------------------- */
@ -239,7 +208,7 @@ blockquote {
right: 0;
left: auto;
}
.comment-author .says {
.comment-author .says, #comments .pingback .url {
font-style: normal;
}
@ -264,6 +233,7 @@ blockquote {
#wp-calendar tfoot #next {
text-align: left;
}
/* Main sidebars */
#main .widget-area ul {
margin-right: 0;
@ -276,7 +246,9 @@ blockquote {
/* =Footer
-------------------------------------------------------------- */
#site-generator {
font-style:normal;
}
#site-generator a {
background-position: right center;
padding-right: 19px;