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
|
|
|
|
|
|
|
|
Adding support for language written in a Right To Left (RTL) direction is easy -
|
|
|
|
it's just a matter of overwriting all the horizontal positioning attributes
|
|
|
|
of your CSS stylesheet in a separate stylesheet file named rtl.css.
|
|
|
|
|
|
|
|
http://codex.wordpress.org/Right_to_Left_Language_Support
|
|
|
|
*/
|
|
|
|
|
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 */
|
|
|
|
#author-avatar {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
#author-description {
|
|
|
|
float: right;
|
|
|
|
margin-right: 15px;
|
|
|
|
margin-right: 1.071428571rem;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* =Basic structure
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
|
|
|
/* Navigation Menu */
|
2012-08-02 20:28:10 +02:00
|
|
|
.main-navigation 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-left: 40px;
|
|
|
|
margin-left: 2.857142857rem;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
2012-08-02 20:28:10 +02:00
|
|
|
.main-navigation li 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
|
|
|
right: 100%;
|
|
|
|
left: auto;
|
|
|
|
}
|
2012-08-02 20:28:10 +02:00
|
|
|
.main-navigation ul li:hover > 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
|
|
|
border-right: 0;
|
|
|
|
border-left: none;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* =Aside post styling
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
|
|
|
article.format-aside .aside {
|
|
|
|
border-right: 22px solid #a8bfe8;
|
|
|
|
border-left: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* =Link post styling
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
|
|
|
article.format-link header {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
article.format-link .entry-content {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* =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;
|
|
|
|
}
|
2012-08-02 21:12:11 +02:00
|
|
|
.comments-area li.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;
|
|
|
|
}
|
2012-08-05 23:14:23 +02:00
|
|
|
.commentlist .children {
|
|
|
|
margin-right: 48px;
|
|
|
|
margin-right: 3.428571429rem;
|
2012-08-05 23:34:56 +02:00
|
|
|
margin-left: auto;
|
2012-08-05 23:14:23 +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 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
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* =Home page template styling
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
2012-08-02 21:12:11 +02:00
|
|
|
.page-template-homepage-php .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-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;
|
|
|
|
}
|
|
|
|
#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,
|
|
|
|
.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;
|
|
|
|
}
|
2012-08-06 00:27:22 +02:00
|
|
|
.entry-content p,
|
|
|
|
.entry-summary p {
|
2012-08-05 21:56:42 +02:00
|
|
|
text-align: right;
|
|
|
|
}
|
2012-08-02 21:12:11 +02:00
|
|
|
.page-template-homepage-php .widget-area .widget_text img {
|
2012-08-02 19:50:52 +02:00
|
|
|
float: right;
|
|
|
|
margin: 8px 0 8px 24px;
|
|
|
|
}
|
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
|
|
|
}
|