Skip to content

Commit

Permalink
Twenty Thirteen: minor tweaks and fixes, props obenland. Fixes #23698.
Browse files Browse the repository at this point in the history
 * 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
  • Loading branch information
lancewillett committed Mar 6, 2013
1 parent ecb4745 commit 05cbeaf
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion wp-content/themes/twentythirteen/functions.php
Expand Up @@ -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 -->

Expand Down
21 changes: 16 additions & 5 deletions wp-content/themes/twentythirteen/style.css
Expand Up @@ -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 {
Expand Down Expand Up @@ -877,7 +877,7 @@ div.nav-menu > ul {
float: left;
padding: 0;
position: absolute;
top: 44px;
top: 45px;
left: -2px;
z-index: 99999;
}
Expand Down Expand Up @@ -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;
}
Expand Down Expand Up @@ -2323,6 +2333,7 @@ footer.entry-meta {

#reply-title small a:hover {
color: #ed331c;
text-decoration: none;
}

#reply-title small a:before {
Expand Down

0 comments on commit 05cbeaf

Please sign in to comment.