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 06:20:46 +02:00
|
|
|
/*
|
|
|
|
Theme Name: Twenty Twelve
|
2012-08-25 18:53:32 +02: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 06:20:46 +02:00
|
|
|
of your CSS stylesheet in a separate stylesheet file named rtl.css.
|
|
|
|
|
2015-04-27 20:12:25 +02: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 06:20:46 +02:00
|
|
|
*/
|
|
|
|
|
2012-08-05 23:34:56 +02: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 06:20:46 +02:00
|
|
|
caption,
|
|
|
|
th,
|
|
|
|
td {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* =Repeatable patterns
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
|
|
|
/* Images */
|
2012-08-02 21:12:11 +02: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 06:20:46 +02:00
|
|
|
padding-left: 2%;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2012-08-02 21:12:11 +02: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 06:20:46 +02: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 18:39:38 +02: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 06:20:46 +02:00
|
|
|
float: right;
|
|
|
|
}
|
2012-09-21 18:39:38 +02: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 06:20:46 +02:00
|
|
|
float: right;
|
|
|
|
margin-right: 15px;
|
|
|
|
margin-right: 1.071428571rem;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-08-05 23:10:21 +02: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 06:20:46 +02:00
|
|
|
|
|
|
|
/* =Basic post styling
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
2012-08-05 23:34:56 +02: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 06:20:46 +02:00
|
|
|
margin: 0 24px 0 0;
|
2012-08-05 23:34:56 +02: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 06:20:46 +02:00
|
|
|
}
|
2012-08-05 23:34:56 +02: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 06:20:46 +02:00
|
|
|
padding: 6px 0 6px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-09-04 07:00:19 +02: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 06:20:46 +02:00
|
|
|
article.format-aside .aside {
|
|
|
|
border-right: 22px solid #a8bfe8;
|
|
|
|
border-left: none;
|
|
|
|
}
|
|
|
|
|
2012-09-04 07:00:19 +02: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 06:20:46 +02:00
|
|
|
article.format-link header {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
article.format-link .entry-content {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2012-09-04 07:00:19 +02:00
|
|
|
/* Status posts */
|
2012-09-20 23:51:48 +02:00
|
|
|
.format-status .entry-header img {
|
2012-09-20 21:42:19 +02:00
|
|
|
float: right;
|
|
|
|
margin-left: 21px;
|
|
|
|
margin-left: 1.5rem;
|
|
|
|
margin-right: 0;
|
2012-09-04 07:00:19 +02: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 06:20:46 +02:00
|
|
|
/* =Comment styling
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
2012-08-02 21:12:11 +02: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 06:20:46 +02:00
|
|
|
float: right;
|
|
|
|
}
|
2012-08-02 21:12:11 +02: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 06:20:46 +02:00
|
|
|
margin-right: 85px;
|
|
|
|
margin-right: 6.071428571rem;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
2012-08-02 21:12:11 +02: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 06:20:46 +02:00
|
|
|
left: 0;
|
|
|
|
right: auto;
|
|
|
|
}
|
2013-03-15 18:54:36 +01: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 06:20:46 +02: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 23:34:56 +02: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 06:20:46 +02:00
|
|
|
}
|
2018-05-03 00:00:49 +02:00
|
|
|
#respond #wp-comment-cookies-consent {
|
|
|
|
margin: 0 0 0 10px;
|
|
|
|
}
|
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 06:20:46 +02:00
|
|
|
|
|
|
|
|
2012-09-18 19:28:36 +02: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 06:20:46 +02:00
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
2012-09-18 19:28:36 +02: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 06:20:46 +02:00
|
|
|
float: right;
|
|
|
|
margin: 8px 0 8px 24px;
|
2012-08-05 23:34:56 +02: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 06:20:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* =Widget styling
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
2012-08-02 21:12:11 +02: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 06:20:46 +02:00
|
|
|
margin-right: 12px;
|
|
|
|
margin-right: 0.857142857rem;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
2012-11-14 21:29:51 +01:00
|
|
|
.widget-area .textwidget li {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: 36px;
|
|
|
|
margin-right: 2.571428571rem;
|
|
|
|
}
|
2012-08-06 00:56:50 +02: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 06:20:46 +02:00
|
|
|
margin-right: 12px;
|
|
|
|
margin-right: 0.857142857rem;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
#wp-calendar th,
|
|
|
|
#wp-calendar td,
|
|
|
|
#wp-calendar caption {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2020-03-02 17:55:08 +01:00
|
|
|
.wp-calendar-nav-next,
|
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 06:20:46 +02:00
|
|
|
#wp-calendar #next {
|
|
|
|
padding-left: 24px;
|
|
|
|
padding-left: 1.714285714rem;
|
|
|
|
text-align: left;
|
|
|
|
padding-right: 0;
|
2012-08-02 19:50:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* =Media queries
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
|
|
|
/* Minimum width of 600 pixels. */
|
|
|
|
@media screen and (min-width: 600px) {
|
2012-08-05 23:34:56 +02:00
|
|
|
.site-content,
|
2012-09-18 19:28:36 +02:00
|
|
|
.template-front-page.has-post-thumbnail article {
|
2012-08-05 23:34:56 +02:00
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
.widget-area,
|
|
|
|
.entry-page-image {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.site-header h1,
|
|
|
|
.site-header h2 {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2012-09-18 19:28:36 +02:00
|
|
|
.template-front-page .widget-area .widget_text img {
|
2012-08-02 19:50:52 +02:00
|
|
|
float: right;
|
|
|
|
margin: 8px 0 8px 24px;
|
|
|
|
}
|
2012-09-18 19:28:36 +02:00
|
|
|
.template-front-page .widget-area .widget,
|
2012-09-24 18:57:42 +02:00
|
|
|
.template-front-page.two-sidebars .widget-area .front-widgets {
|
2012-08-21 00:11:36 +02:00
|
|
|
float: right;
|
|
|
|
}
|
2012-09-18 19:28:36 +02:00
|
|
|
.template-front-page .widget-area .widget:nth-child(odd) {
|
2012-08-21 00:11:36 +02:00
|
|
|
clear: left;
|
|
|
|
}
|
2012-09-18 19:28:36 +02:00
|
|
|
.template-front-page .widget-area .widget:nth-child(even),
|
2012-09-24 18:57:42 +02:00
|
|
|
.template-front-page.two-sidebars .widget-area .front-widgets + .front-widgets {
|
2012-08-21 00:11:36 +02:00
|
|
|
float: left;
|
|
|
|
margin: 0 24px 0;
|
|
|
|
margin: 0 1.714285714rem 0;
|
|
|
|
}
|
2012-08-24 23:07:19 +02:00
|
|
|
.main-navigation ul.nav-menu,
|
|
|
|
.main-navigation div.nav-menu > ul {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2012-08-21 00:11:36 +02: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 18:43:46 +01: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 06:20:46 +02:00
|
|
|
}
|