Twenty Twelve: selector for navigation menu should style the menu list element, props obenland, see #21562.
Also remove duplicate line-height rule, props bradthomas127. See #21577. git-svn-id: http://core.svn.wordpress.org/trunk@21520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
934101fd65
commit
5f1392a175
|
@ -10,6 +10,11 @@ jQuery( document ).ready( function( $ ) {
|
|||
timeout = false;
|
||||
|
||||
$.fn.smallMenu = function() {
|
||||
if ( ! masthead.find( '.menu' ).children().length ) {
|
||||
$( '.menu-toggle' ).remove();
|
||||
return;
|
||||
}
|
||||
|
||||
masthead.find( '.site-navigation' ).removeClass( 'main-navigation' ).addClass( 'main-small-navigation' );
|
||||
masthead.find( '.site-navigation h3' ).removeClass( 'assistive-text' ).addClass( 'menu-toggle' );
|
||||
|
||||
|
|
|
@ -507,7 +507,7 @@ a:hover {
|
|||
}
|
||||
|
||||
/* Navigation Menu */
|
||||
.main-navigation {
|
||||
.main-navigation .menu {
|
||||
display: inline-block;
|
||||
margin-top: 24px;
|
||||
margin-top: 1.714285714rem;
|
||||
|
@ -1286,7 +1286,6 @@ label ~ span.required {
|
|||
margin: 0.571428571rem 0 0;
|
||||
font-size: 13px;
|
||||
font-size: 0.928571429rem;
|
||||
line-height: 1.846153846;
|
||||
line-height: 1.714285714;
|
||||
list-style-type: square;
|
||||
list-style-position: inside;
|
||||
|
|
Loading…
Reference in New Issue