mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
Twenty Twelve RTL: more fixes props obenland. See #21441.
git-svn-id: http://core.svn.wordpress.org/trunk@21434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ae0e3c298a
commit
09c319a557
@ -8,6 +8,11 @@ of your CSS stylesheet in a separate stylesheet file named rtl.css.
|
|||||||
http://codex.wordpress.org/Right_to_Left_Language_Support
|
http://codex.wordpress.org/Right_to_Left_Language_Support
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
body {
|
||||||
|
direction: rtl;
|
||||||
|
unicode-bidi: embed;
|
||||||
|
}
|
||||||
caption,
|
caption,
|
||||||
th,
|
th,
|
||||||
td {
|
td {
|
||||||
@ -81,10 +86,13 @@ td {
|
|||||||
/* =Basic post styling
|
/* =Basic post styling
|
||||||
-------------------------------------------------------------- */
|
-------------------------------------------------------------- */
|
||||||
|
|
||||||
.entry-content li {
|
.entry-content li,
|
||||||
|
.comment-content li {
|
||||||
margin: 0 24px 0 0;
|
margin: 0 24px 0 0;
|
||||||
|
margin: 0 1.714285714rem 0 0;
|
||||||
}
|
}
|
||||||
.entry-content td {
|
.entry-content td,
|
||||||
|
.comment-content td {
|
||||||
padding: 6px 0 6px 10px;
|
padding: 6px 0 6px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -131,6 +139,7 @@ article.format-link .entry-content {
|
|||||||
.commentlist .children {
|
.commentlist .children {
|
||||||
margin-right: 48px;
|
margin-right: 48px;
|
||||||
margin-right: 3.428571429rem;
|
margin-right: 3.428571429rem;
|
||||||
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Comment form */
|
/* Comment form */
|
||||||
@ -142,6 +151,7 @@ article.format-link .entry-content {
|
|||||||
label ~ span.required {
|
label ~ span.required {
|
||||||
float: right;
|
float: right;
|
||||||
margin: -18px -16px 0 0;
|
margin: -18px -16px 0 0;
|
||||||
|
margin: -1.285714286rem -1.142857143rem 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -151,6 +161,7 @@ label ~ span.required {
|
|||||||
.page-template-homepage-php .widget-area .widget_text img {
|
.page-template-homepage-php .widget-area .widget_text img {
|
||||||
float: right;
|
float: right;
|
||||||
margin: 8px 0 8px 24px;
|
margin: 8px 0 8px 24px;
|
||||||
|
margin: 0.571428571rem 0 0.571428571rem 1.714285714rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -184,6 +195,18 @@ label ~ span.required {
|
|||||||
|
|
||||||
/* Minimum width of 600 pixels. */
|
/* Minimum width of 600 pixels. */
|
||||||
@media screen and (min-width: 600px) {
|
@media screen and (min-width: 600px) {
|
||||||
|
.site-content,
|
||||||
|
.page-template-homepage-php.has-post-thumbnail article {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
.widget-area,
|
||||||
|
.entry-page-image {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
.site-header h1,
|
||||||
|
.site-header h2 {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
.entry-content p {
|
.entry-content p {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user