mirror of
https://github.com/ViViDboarder/Vivid-Casper.git
synced 2024-12-22 11:37:38 +00:00
Fix in case an author has a cover image but no profile image
This commit is contained in:
parent
6659c9514a
commit
48164cc3cd
@ -979,7 +979,6 @@ body:not(.post-template) .post-title {
|
||||
.author-head.main-header {
|
||||
height: 40%;
|
||||
min-height: 180px;
|
||||
margin-bottom: -60px; /* Pull the author bio up to overlap the cover */
|
||||
}
|
||||
|
||||
.no-cover.author-head.main-header {
|
||||
@ -989,7 +988,6 @@ body:not(.post-template) .post-title {
|
||||
}
|
||||
|
||||
.author-profile {
|
||||
margin-top: 0 !important;
|
||||
padding: 0 15px 5rem 15px;
|
||||
border-bottom: #EBF2F6 1px solid;
|
||||
text-align: center;
|
||||
@ -1021,7 +1019,7 @@ body:not(.post-template) .post-title {
|
||||
position: relative;
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
margin: 0 auto;
|
||||
margin: -100px auto 0;
|
||||
border-radius: 100%;
|
||||
overflow: hidden;
|
||||
padding: 3px;
|
||||
@ -1633,6 +1631,10 @@ body:not(.post-template) .post-title {
|
||||
height: 20%;
|
||||
}
|
||||
|
||||
.author-profile .author-image {
|
||||
margin-top: -70px;
|
||||
}
|
||||
|
||||
.author-profile .author-meta span {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user