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.2
+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.
/* Form fields, general styles first */
button,
input,
+select,
textarea {
border: 1px solid #ccc;
border-radius: 3px;
cursor: default;
}
.menu-toggle:hover,
+.menu-toggle:focus,
button:hover,
input[type="submit"]:hover,
input[type="button"]: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,
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
-------------------------------------------------------------- */
/* =Media queries
-------------------------------------------------------------- */
+/* Does the same thing as <meta name="viewport" content="width=device-width">,
+ * 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 {
width: 65.104166667%;
}
body.template-front-page .site-content,
- body.single-attachment .site-content,
+ body.attachment .site-content,
body.full-width .site-content {
width: 100%;
}
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 {
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;
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;
}
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,