Twenty Fourteen: minor style adjustments for navigation and a new lighter pattern-dark graphic which makes easier to change the background color of the featured image content. Props iamtakashi.

Also update stylesheet tags. See #25946.
Built from https://develop.svn.wordpress.org/trunk@26272


git-svn-id: http://core.svn.wordpress.org/trunk@26177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2013-11-19 18:27:11 +00:00
parent c19660468b
commit 75b70de286
2 changed files with 17 additions and 6 deletions

View File

@ -1,6 +1,16 @@
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="30px" height="30px" viewBox="0 0 30 30" enable-background="new 0 0 30 30" xml:space="preserve">
<path d="M0,20v-4L16,0h4L0,20z M15,0h-4L0,11v4L15,0z M25,0h-4L0,21v4L25,0z M26,0L0,26v4L30,0H26z M10,0H6L0,6v4L10,0z M5,0H1L0,1
v4L5,0z M30,30v-4l-4,4H30z M5,30L30,5V1L1,30H5z M10,30l20-20V6L6,30H10z M15,30l15-15v-4L11,30H15z M20,30l10-10v-4L16,30H20z
M25,30l5-5v-4l-9,9H25z"/>
<rect x="0" display="none" width="30" height="30"/>
<polygon opacity="0.3" fill="#FFFFFF" points="30,0 0,30 1,30 30,1 "/>
<polygon opacity="0.3" fill="#FFFFFF" points="30,5 0,35 1,35 30,6 "/>
<polygon opacity="0.3" fill="#FFFFFF" points="30,10 0,40 1,40 30,11 "/>
<polygon opacity="0.3" fill="#FFFFFF" points="30,15 0,45 1,45 30,16 "/>
<polygon opacity="0.3" fill="#FFFFFF" points="30,20 0,50 1,50 30,21 "/>
<polygon opacity="0.3" fill="#FFFFFF" points="30,25 0,55 1,55 30,26 "/>
<polygon opacity="0.3" fill="#FFFFFF" points="26,-1 -4,29 -3,29 26,0 "/>
<polygon opacity="0.3" fill="#FFFFFF" points="21,-1 -9,29 -8,29 21,0 "/>
<polygon opacity="0.3" fill="#FFFFFF" points="16,-1 -14,29 -13,29 16,0 "/>
<polygon opacity="0.3" fill="#FFFFFF" points="11,-1 -19,29 -18,29 11,0 "/>
<polygon opacity="0.3" fill="#FFFFFF" points="6,-1 -24,29 -23,29 6,0 "/>
<polygon opacity="0.3" fill="#FFFFFF" points="1,-1 -29,29 -28,29 1,0 "/>
</svg>

Before

Width:  |  Height:  |  Size: 525 B

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -7,7 +7,7 @@ Description: The default theme for 2014 is a magazine theme with a sleek, modern
Version: 0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, green, white, light, dark, two-columns, three-columns, fixed-width, responsive-width, custom-background, custom-header, custom-menu, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
Tags: black, green, white, light, dark, two-columns, three-columns, left-sidebar, right-sidebar, fixed-width, responsive-width, custom-background, custom-colors, 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
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
@ -933,6 +933,7 @@ span + .edit-link:before,
.site-navigation .current-menu-item > a,
.site-navigation .current-menu-ancestor > a {
color: #55d737;
font-weight: 900;
}
/* Primary Navigation */
@ -2679,7 +2680,7 @@ a.post-thumbnail:hover {
*/
.featured-content {
background: #4d4d4d url(images/pattern-dark.svg) repeat fixed;
background: #000 url(images/pattern-dark.svg) repeat fixed;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
@ -3293,7 +3294,7 @@ a.post-thumbnail:hover {
.site-navigation li .current_page_ancestor > a,
.site-navigation li .current-menu-item > a,
.site-navigation li .current-menu-ancestor > a {
background-color: #000;
color: #fff;
}
/* Primary Navigation */