The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
/*
|
|
|
|
Theme Name: Twenty Twelve
|
2012-08-25 12:53:32 -04:00
|
|
|
Description: Adds support for languages written in a Right To Left (RTL) direction.
|
|
|
|
It's easy, just a matter of overwriting all the horizontal positioning attributes
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
of your CSS stylesheet in a separate stylesheet file named rtl.css.
|
|
|
|
|
2015-04-27 14:12:25 -04:00
|
|
|
See https://codex.wordpress.org/Right_to_Left_Language_Support
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
*/
|
|
|
|
|
2012-08-05 17:34:56 -04:00
|
|
|
|
|
|
|
body {
|
|
|
|
direction: rtl;
|
|
|
|
unicode-bidi: embed;
|
|
|
|
}
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
caption,
|
|
|
|
th,
|
|
|
|
td {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* =Repeatable patterns
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
|
|
|
/* Images */
|
2012-08-02 15:12:11 -04:00
|
|
|
.site-content .gallery-columns-4 .gallery-item {
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
padding-left: 2%;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2012-08-02 15:12:11 -04:00
|
|
|
.site-content .gallery-columns-5 .gallery-item {
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
padding-left: 2%;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Navigation */
|
|
|
|
.nav-previous,
|
|
|
|
.previous-image {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
.nav-next,
|
|
|
|
.next-image {
|
|
|
|
float: left;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Author profiles */
|
2012-09-21 12:39:38 -04:00
|
|
|
.author-avatar {
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
float: right;
|
|
|
|
}
|
2012-09-21 12:39:38 -04:00
|
|
|
.author-description {
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
float: right;
|
|
|
|
margin-right: 15px;
|
|
|
|
margin-right: 1.071428571rem;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-08-05 17:10:21 -04:00
|
|
|
/* =Main Content
|
|
|
|
----------------------------------------------- */
|
|
|
|
|
|
|
|
.comment-content ol,
|
|
|
|
.comment-content ul {
|
|
|
|
margin: 0 24px 0 0;
|
|
|
|
margin: 0 1.714285714rem 0 0;
|
|
|
|
}
|
|
|
|
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
|
|
|
|
/* =Basic post styling
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
2012-08-05 17:34:56 -04:00
|
|
|
.entry-content li,
|
|
|
|
.comment-content li {
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
margin: 0 24px 0 0;
|
2012-08-05 17:34:56 -04:00
|
|
|
margin: 0 1.714285714rem 0 0;
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
}
|
2012-08-05 17:34:56 -04:00
|
|
|
.entry-content td,
|
|
|
|
.comment-content td {
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
padding: 6px 0 6px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-09-04 01:00:19 -04:00
|
|
|
/* Aside posts */
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
article.format-aside .aside {
|
|
|
|
border-right: 22px solid #a8bfe8;
|
|
|
|
border-left: none;
|
|
|
|
}
|
|
|
|
|
2012-09-04 01:00:19 -04:00
|
|
|
/* Link posts */
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
article.format-link header {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
article.format-link .entry-content {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2012-09-04 01:00:19 -04:00
|
|
|
/* Status posts */
|
2012-09-20 17:51:48 -04:00
|
|
|
.format-status .entry-header img {
|
2012-09-20 15:42:19 -04:00
|
|
|
float: right;
|
|
|
|
margin-left: 21px;
|
|
|
|
margin-left: 1.5rem;
|
|
|
|
margin-right: 0;
|
2012-09-04 01:00:19 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
/* =Comment styling
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
2012-08-02 15:12:11 -04:00
|
|
|
.comments-area article header img {
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
float: right;
|
|
|
|
}
|
2012-08-02 15:12:11 -04:00
|
|
|
.comments-area article header cite,
|
|
|
|
.comments-area article header time {
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
margin-right: 85px;
|
|
|
|
margin-right: 6.071428571rem;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
2012-08-02 15:12:11 -04:00
|
|
|
.comments-area article header h4 {
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
left: 0;
|
|
|
|
right: auto;
|
|
|
|
}
|
2013-03-15 13:54:36 -04:00
|
|
|
.comments-area .bypostauthor cite span {
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
margin-right: 5px;
|
|
|
|
margin-right: 0.357142857rem;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Comment form */
|
|
|
|
#respond h3#reply-title #cancel-comment-reply-link {
|
|
|
|
margin-right: 10px;
|
|
|
|
margin-right: 0.714285714rem;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
label ~ span.required {
|
|
|
|
float: right;
|
|
|
|
margin: -18px -16px 0 0;
|
2012-08-05 17:34:56 -04:00
|
|
|
margin: -1.285714286rem -1.142857143rem 0 0;
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-09-18 13:28:36 -04:00
|
|
|
/* =Front page template styling
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
2012-09-18 13:28:36 -04:00
|
|
|
.template-front-page .widget-area .widget_text img {
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
float: right;
|
|
|
|
margin: 8px 0 8px 24px;
|
2012-08-05 17:34:56 -04:00
|
|
|
margin: 0.571428571rem 0 0.571428571rem 1.714285714rem;
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* =Widget styling
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
2012-08-02 15:12:11 -04:00
|
|
|
.widget-area .widget ul ul {
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
margin-right: 12px;
|
|
|
|
margin-right: 0.857142857rem;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
2012-11-14 15:29:51 -05:00
|
|
|
.widget-area .textwidget li {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: 36px;
|
|
|
|
margin-right: 2.571428571rem;
|
|
|
|
}
|
2012-08-05 18:56:50 -04:00
|
|
|
.widget_recent_entries .post-date,
|
|
|
|
.widget_rss .rss-date {
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
margin-right: 12px;
|
|
|
|
margin-right: 0.857142857rem;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
#wp-calendar th,
|
|
|
|
#wp-calendar td,
|
|
|
|
#wp-calendar caption {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
#wp-calendar #next {
|
|
|
|
padding-left: 24px;
|
|
|
|
padding-left: 1.714285714rem;
|
|
|
|
text-align: left;
|
|
|
|
padding-right: 0;
|
2012-08-02 13:50:52 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* =Media queries
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
|
|
|
/* Minimum width of 600 pixels. */
|
|
|
|
@media screen and (min-width: 600px) {
|
2012-08-05 17:34:56 -04:00
|
|
|
.site-content,
|
2012-09-18 13:28:36 -04:00
|
|
|
.template-front-page.has-post-thumbnail article {
|
2012-08-05 17:34:56 -04:00
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
.widget-area,
|
|
|
|
.entry-page-image {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.site-header h1,
|
|
|
|
.site-header h2 {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2012-09-18 13:28:36 -04:00
|
|
|
.template-front-page .widget-area .widget_text img {
|
2012-08-02 13:50:52 -04:00
|
|
|
float: right;
|
|
|
|
margin: 8px 0 8px 24px;
|
|
|
|
}
|
2012-09-18 13:28:36 -04:00
|
|
|
.template-front-page .widget-area .widget,
|
2012-09-24 12:57:42 -04:00
|
|
|
.template-front-page.two-sidebars .widget-area .front-widgets {
|
2012-08-20 18:11:36 -04:00
|
|
|
float: right;
|
|
|
|
}
|
2012-09-18 13:28:36 -04:00
|
|
|
.template-front-page .widget-area .widget:nth-child(odd) {
|
2012-08-20 18:11:36 -04:00
|
|
|
clear: left;
|
|
|
|
}
|
2012-09-18 13:28:36 -04:00
|
|
|
.template-front-page .widget-area .widget:nth-child(even),
|
2012-09-24 12:57:42 -04:00
|
|
|
.template-front-page.two-sidebars .widget-area .front-widgets + .front-widgets {
|
2012-08-20 18:11:36 -04:00
|
|
|
float: left;
|
|
|
|
margin: 0 24px 0;
|
|
|
|
margin: 0 1.714285714rem 0;
|
|
|
|
}
|
2012-08-24 17:07:19 -04:00
|
|
|
.main-navigation ul.nav-menu,
|
|
|
|
.main-navigation div.nav-menu > ul {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2012-08-20 18:11:36 -04:00
|
|
|
.main-navigation li {
|
|
|
|
margin-left: 40px;
|
|
|
|
margin-left: 2.857142857rem;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
.main-navigation li ul ul {
|
|
|
|
margin-right: 0;
|
|
|
|
right: 100%;
|
|
|
|
left: auto;
|
|
|
|
}
|
|
|
|
.main-navigation ul li:hover > ul {
|
|
|
|
border-right: 0;
|
|
|
|
border-left: none;
|
|
|
|
}
|
2012-11-28 12:43:46 -05:00
|
|
|
.commentlist .children {
|
|
|
|
margin-right: 48px;
|
|
|
|
margin-right: 3.428571429rem;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.
also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.
see #19978.
git-svn-id: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 00:20:46 -04:00
|
|
|
}
|