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' ), get_comment_time( 'c' ),
sprintf( _x( '%1$s at %2$s', '1: date, 2: time', 'twentythirteen' ), get_comment_date(), get_comment_time() ) 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 --> </header><!-- .comment-meta -->

View File

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