Fix in case an author has a cover image but no profile image

This commit is contained in:
John O'Nolan 2014-07-21 19:30:53 +02:00
parent 6659c9514a
commit 48164cc3cd

View File

@ -979,7 +979,6 @@ body:not(.post-template) .post-title {
.author-head.main-header { .author-head.main-header {
height: 40%; height: 40%;
min-height: 180px; min-height: 180px;
margin-bottom: -60px; /* Pull the author bio up to overlap the cover */
} }
.no-cover.author-head.main-header { .no-cover.author-head.main-header {
@ -989,7 +988,6 @@ body:not(.post-template) .post-title {
} }
.author-profile { .author-profile {
margin-top: 0 !important;
padding: 0 15px 5rem 15px; padding: 0 15px 5rem 15px;
border-bottom: #EBF2F6 1px solid; border-bottom: #EBF2F6 1px solid;
text-align: center; text-align: center;
@ -1021,7 +1019,7 @@ body:not(.post-template) .post-title {
position: relative; position: relative;
width: 120px; width: 120px;
height: 120px; height: 120px;
margin: 0 auto; margin: -100px auto 0;
border-radius: 100%; border-radius: 100%;
overflow: hidden; overflow: hidden;
padding: 3px; padding: 3px;
@ -1633,6 +1631,10 @@ body:not(.post-template) .post-title {
height: 20%; height: 20%;
} }
.author-profile .author-image {
margin-top: -70px;
}
.author-profile .author-meta span { .author-profile .author-meta span {
font-size: 1.5rem; font-size: 1.5rem;
} }