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: https://develop.svn.wordpress.org/trunk@21261 602fd350-edb4-49c9-b593-d223f7449a82
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
|
|
|
|
*/
|
|
|
|
|
|
|
|
caption,
|
|
|
|
th,
|
|
|
|
td {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* =Repeatable patterns
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
|
|
|
/* Images */
|
|
|
|
.alignright {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
.alignleft {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
#content .gallery-columns-4 .gallery-item {
|
|
|
|
padding-left: 2%;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
#content .gallery-columns-5 .gallery-item {
|
|
|
|
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 */
|
|
|
|
nav.main-navigation li {
|
|
|
|
margin-left: 40px;
|
|
|
|
margin-left: 2.857142857rem;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
nav.main-navigation li ul ul {
|
|
|
|
right: 100%;
|
|
|
|
left: auto;
|
|
|
|
}
|
|
|
|
nav.main-navigation ul li:hover > ul {
|
|
|
|
border-right: 0;
|
|
|
|
border-left: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* =Basic post styling
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
|
|
|
.entry-content img.alignright {
|
|
|
|
float: right;
|
|
|
|
margin: 0 0 0 24px;
|
|
|
|
}
|
|
|
|
.entry-content li {
|
|
|
|
margin: 0 24px 0 0;
|
|
|
|
}
|
|
|
|
.entry-content img.alignright {
|
|
|
|
margin: 12px 0 12px 24px;
|
|
|
|
}
|
|
|
|
.entry-content img.alignleft {
|
|
|
|
margin: 12px 24px 12px 0;
|
|
|
|
}
|
|
|
|
.entry-content td {
|
|
|
|
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
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
|
|
|
#comments article header img {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
#comments article header cite,
|
|
|
|
#comments article header time {
|
|
|
|
margin-right: 85px;
|
|
|
|
margin-right: 6.071428571rem;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
#comments article header h4 {
|
|
|
|
left: 0;
|
|
|
|
right: auto;
|
|
|
|
}
|
|
|
|
#comments li.bypostauthor cite span {
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* =Home page template styling
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
|
|
|
.page-template-homepage-php #secondary aside.widget_text img {
|
|
|
|
float: right;
|
|
|
|
margin: 8px 0 8px 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* =Widget styling
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
|
|
|
|
.widget ul ul {
|
|
|
|
margin-right: 12px;
|
|
|
|
margin-right: 0.857142857rem;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
.widget_recent_entries .post-date {
|
|
|
|
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) {
|
|
|
|
.page-template-homepage-php #secondary aside.widget_text img {
|
|
|
|
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: https://develop.svn.wordpress.org/trunk@21261 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-12 06:20:46 +02:00
|
|
|
}
|