]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/twentyeleven/style.css
Wordpress 3.3
[autoinstalls/wordpress.git] / wp-content / themes / twentyeleven / style.css
index 68254b5b7ab469a0e766bb3d0d22fb67bb7944ad..40979239a80b88189c8c1e5ec2c251320146d51b 100644 (file)
@@ -4,7 +4,7 @@ Theme URI: http://wordpress.org/extend/themes/twentyeleven
 Author: the WordPress team
 Author URI: http://wordpress.org/
 Description: The 2011 theme for WordPress is sophisticated, lightweight, and adaptable. Make it yours with a custom menu, header image, and background -- then go further with available theme options for light or dark color scheme, custom link colors, and three layout choices. Twenty Eleven comes equipped with a Showcase page template that transforms your front page into a showcase to show off your best content, widget support galore (sidebar, three footer areas, and a Showcase page widget area), and a custom "Ephemera" widget to display your Aside, Link, Quote, or Status posts. Included are styles for print and for the admin editor, support for featured images (as custom header images on posts and pages and as large images on featured "sticky" posts), and special styles for six different post formats.
-Version: 1.2
+Version: 1.3
 License: GNU General Public License
 License URI: license.txt
 Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
@@ -504,7 +504,7 @@ a:hover {
        border-top: 2px solid #bbb;
        padding-bottom: 10px;
        position: relative;
-       z-index: 2;
+       z-index: 9999;
 }
 #site-title {
        margin-right: 270px;
@@ -614,6 +614,8 @@ a:hover {
 #access ul li:hover > ul {
        display: block;
 }
+#access .current-menu-item > a,
+#access .current-menu-ancestor > a,
 #access .current_page_item > a,
 #access .current_page_ancestor > a {
        font-weight: bold;
@@ -853,12 +855,15 @@ dl.gallery-item {
        max-width: 97.5%; /* Fluid images for posts, comments, and widgets */
 }
 img[class*="align"],
-img[class*="wp-image-"] {
+img[class*="wp-image-"],
+img[class*="attachment-"] {
        height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
 }
-img.size-full {
+img.size-full,
+img.size-large {
        max-width: 97.5%;
-       width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
+       width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */
+       height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
 }
 .entry-content img.wp-smiley {
        border: none;
@@ -956,6 +961,13 @@ a:active img[class*="wp-image-"],
        border-color: #ddd;
 }
 
+/* Make sure embeds and iframes fit their containers */
+embed,
+iframe,
+object {
+       max-width: 100%;
+}
+
 /* Password Protected Posts */
 .post-password-required .entry-header .comments-link {
        margin: 1.625em 0 0;
@@ -1059,6 +1071,9 @@ article.format-link .entry-content,
 article.format-status .entry-content {
        padding: 20px 0 0;
 }
+article.format-status .entry-content {
+       min-height: 65px;
+}
 .recent-posts .entry-header .entry-format {
        display: none;
 }
@@ -1703,7 +1718,6 @@ section.recent-posts .other-recent-posts li:after {
        position: relative;
        top: -0.3em;
        text-align: right;
-       width: 100%;
        z-index: 1;
 }
 #nav-single .nav-previous,
@@ -2348,11 +2362,6 @@ p.comment-form-comment {
                margin-right: 0;
                width: auto;
        }
-       /* Make sure embeds fit their containers */
-       embed,
-       object {
-               max-width: 100%;
-       }
 
 }
 @media (max-width: 650px) {