X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/72836ec95a52eacbda4dc5aa296b7dd6de08bd3b..48ab98cb1779cf2088c1351ac3dd3d0da6fb31d3:/wp-content/themes/twentytwelve/style.css?ds=sidebyside diff --git a/wp-content/themes/twentytwelve/style.css b/wp-content/themes/twentytwelve/style.css index 4786b501..5b2d8721 100644 --- a/wp-content/themes/twentytwelve/style.css +++ b/wp-content/themes/twentytwelve/style.css @@ -4,10 +4,10 @@ Theme URI: http://wordpress.org/themes/twentytwelve Author: the WordPress team Author URI: http://wordpress.org/ Description: The 2012 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background. -Version: 1.3 +Version: 1.5 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html -Tags: light, gray, white, one-column, two-columns, right-sidebar, flexible-width, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready +Tags: light, gray, white, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready Text Domain: twentytwelve This theme, like WordPress, is licensed under the GPL. @@ -205,6 +205,7 @@ article.format-status footer.entry-meta { /* Form fields, general styles first */ button, input, +select, textarea { border: 1px solid #ccc; border-radius: 3px; @@ -271,6 +272,7 @@ input[disabled] { cursor: default; } .menu-toggle:hover, +.menu-toggle:focus, button:hover, input[type="submit"]:hover, input[type="button"]:hover, @@ -589,7 +591,8 @@ a:hover { .main-navigation a { color: #5e5e5e; } -.main-navigation a:hover { +.main-navigation a:hover, +.main-navigation a:focus { color: #21759b; } .main-navigation ul.nav-menu, @@ -1005,6 +1008,17 @@ footer.entry-meta { margin-top: 1.571428571rem; } +/* =Single audio/video attachment view +-------------------------------------------------------------- */ + +.attachment .entry-content .mejs-audio { + max-width: 400px; +} + +.attachment .entry-content .mejs-container { + margin-bottom: 24px; +} + /* =Single image attachment view -------------------------------------------------------------- */ @@ -1432,6 +1446,18 @@ img#wpstats { /* =Media queries -------------------------------------------------------------- */ +/* Does the same thing as , + * but in the future W3C standard way. -ms- prefix is required for IE10+ to + * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor + * the meta tag. See http://core.trac.wordpress.org/ticket/25888. + */ +@-ms-viewport { + width: device-width; +} +@viewport { + width: device-width; +} + /* Minimum width of 600 pixels. */ @media screen and (min-width: 600px) { .author-avatar { @@ -1496,7 +1522,8 @@ img#wpstats { text-transform: uppercase; white-space: nowrap; } - .main-navigation li a:hover { + .main-navigation li a:hover, + .main-navigation li a:focus { color: #000; } .main-navigation li { @@ -1505,20 +1532,28 @@ img#wpstats { position: relative; } .main-navigation li ul { - display: none; margin: 0; padding: 0; position: absolute; top: 100%; z-index: 1; + height: 1px; + width: 1px; + overflow: hidden; + clip: rect(1px, 1px, 1px, 1px); } .main-navigation li ul ul { top: 0; left: 100%; } - .main-navigation ul li:hover > ul { + .main-navigation ul li:hover > ul, + .main-navigation ul li:focus > ul, + .main-navigation .focus > ul { border-left: 0; - display: block; + clip: inherit; + overflow: inherit; + height: inherit; + width: inherit; } .main-navigation li ul li a { background: #efefef; @@ -1533,7 +1568,8 @@ img#wpstats { width: 12.85714286rem; white-space: normal; } - .main-navigation li ul li a:hover { + .main-navigation li ul li a:hover, + .main-navigation li ul li a:focus { background: #e3e3e3; color: #444; } @@ -1696,20 +1732,9 @@ img#wpstats { margin: 0; width: auto; } - .singular .entry-header .entry-meta { - position: static; - } - .singular .site-content, - .singular .entry-header, - .singular .entry-content, - .singular footer.entry-meta, - .singular .comments-title { - margin: 0; - width: 100%; - } + .entry-header .entry-title, - .entry-title, - .singular .entry-title { + .entry-title { font-size: 21pt; } footer.entry-meta,