From 48164cc3cd5c4d97c0d409e5c6d5e92a176fa250 Mon Sep 17 00:00:00 2001 From: John O'Nolan Date: Mon, 21 Jul 2014 19:30:53 +0200 Subject: [PATCH] Fix in case an author has a cover image but no profile image --- assets/css/screen.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/assets/css/screen.css b/assets/css/screen.css index b301648..1ff0110 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -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; }