mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-26 22:32:52 +02:00
Twenty Thirteen: avoid setting absolute positioning and a magic height number for child comments. This allows for a more flexible layout. Props obenland, fixes #24172.
git-svn-id: http://core.svn.wordpress.org/trunk@24074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4a130a9e9c
commit
c2fb7f5a6a
@ -589,13 +589,11 @@ div.nav-menu > ul {
|
||||
}
|
||||
|
||||
.comment-author {
|
||||
float: right;
|
||||
margin-left: 50px;
|
||||
margin-right: auto;
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
|
||||
.bypostauthor .fn:before {
|
||||
content: normal;
|
||||
vertical-align: inherit;
|
||||
@ -611,7 +609,7 @@ div.nav-menu > ul {
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.comment-meta,
|
||||
.comment-metadata,
|
||||
.comment-content,
|
||||
.reply {
|
||||
float: left;
|
||||
|
@ -2289,9 +2289,8 @@ footer.entry-meta {
|
||||
}
|
||||
|
||||
.comment-author {
|
||||
float: left;
|
||||
max-width: 74px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.comment-author .avatar {
|
||||
@ -2318,7 +2317,7 @@ footer.entry-meta {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.no-avatars .comment-meta,
|
||||
.no-avatars .comment-metadata,
|
||||
.no-avatars .comment-content,
|
||||
.no-avatars .reply {
|
||||
width: 100%;
|
||||
@ -2333,7 +2332,7 @@ footer.entry-meta {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.comment-meta,
|
||||
.comment-metadata,
|
||||
.comment-content,
|
||||
.reply {
|
||||
float: right;
|
||||
@ -2346,13 +2345,16 @@ footer.entry-meta {
|
||||
.comment-meta a {
|
||||
color: #a2a2a2;
|
||||
font-size: 13px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.comment-meta a:hover {
|
||||
color: #ea9629;
|
||||
}
|
||||
|
||||
.comment-metadata {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.ping-meta {
|
||||
color: #a2a2a2;
|
||||
font-size: 13px;
|
||||
@ -3078,7 +3080,7 @@ footer.entry-meta {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.comment-meta,
|
||||
.comment-metadata,
|
||||
.comment-content,
|
||||
.reply {
|
||||
width: 70%;
|
||||
@ -3166,7 +3168,6 @@ footer.entry-meta {
|
||||
.comment-author {
|
||||
margin: 0 0 5px;
|
||||
max-width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.comment-author .avatar {
|
||||
@ -3175,7 +3176,7 @@ footer.entry-meta {
|
||||
max-width: 20px;
|
||||
}
|
||||
|
||||
.comment-meta,
|
||||
.comment-metadata,
|
||||
.comment-content,
|
||||
.reply {
|
||||
width: 100%;
|
||||
@ -3304,7 +3305,7 @@ footer.entry-meta {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.comment-meta {
|
||||
.comment-metadata {
|
||||
float: none;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user