mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 18:13:00 +01:00
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: https://develop.svn.wordpress.org/trunk@21520 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b07a12820a
commit
c5902bca7b
@ -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…
x
Reference in New Issue
Block a user