Twenty Thirteen: minor tweaks and fixes, props obenland. Fixes #23698.

* Add 1px to top margin for second level menus to align child menus with parent height
 * Remove text-decoration on hover for cancel-comment-reply-link
 * Pull floated images only in post content
 * Close edit link span element correctly

git-svn-id: http://core.svn.wordpress.org/trunk@23629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2013-03-06 23:36:42 +00:00
parent ecb47456fd
commit 05cbeaff52
2 changed files with 17 additions and 6 deletions

View File

@ -356,7 +356,7 @@ function twentythirteen_comment( $comment, $args, $depth ) {
get_comment_time( 'c' ),
sprintf( _x( '%1$s at %2$s', '1: date, 2: time', 'twentythirteen' ), get_comment_date(), get_comment_time() )
);
edit_comment_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '<span>' );
edit_comment_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' );
?>
</header><!-- .comment-meta -->

View File

@ -715,19 +715,19 @@ video {
}
img.alignleft {
margin: 5px 20px 5px -60px;
margin: 5px 20px 5px 0;
}
.wp-caption.alignleft {
margin: 5px 10px 5px -60px;
margin: 5px 10px 5px 0;
}
img.alignright {
margin: 5px -60px 5px 20px;
margin: 5px 0 5px 20px;
}
.wp-caption.alignright {
margin: 5px -60px 5px 10px;
margin: 5px 0 5px 10px;
}
img.aligncenter {
@ -877,7 +877,7 @@ div.nav-menu > ul {
float: left;
padding: 0;
position: absolute;
top: 44px;
top: 45px;
left: -2px;
z-index: 99999;
}
@ -1168,6 +1168,16 @@ ul.nav-menu li:hover > ul,
font-size: 16px;
}
.entry-content img.alignleft,
.entry-content .wp-caption.alignleft {
margin-left: -60px;
}
.entry-content img.alignright,
.entry-content .wp-caption.alignright {
margin-right: -60px;
}
footer.entry-meta {
margin-top: 24px;
}
@ -2323,6 +2333,7 @@ footer.entry-meta {
#reply-title small a:hover {
color: #ed331c;
text-decoration: none;
}
#reply-title small a:before {