From 683309fc447bd9a5c4f03260cf015265890e28dd Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 8 Oct 2019 01:52:26 +0000 Subject: [PATCH] Twenty Fourteen: Ensure the content after the Read More tag is visible and has the appropriate padding. Props ianbelanger, sabernhardt, slobodanmanic, Quantumstate, Gwendydd, andraganescu, francina. Fixes #28967. git-svn-id: https://develop.svn.wordpress.org/trunk@46429 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfourteen/rtl.css | 4 +++ .../themes/twentyfourteen/style.css | 32 +++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/src/wp-content/themes/twentyfourteen/rtl.css b/src/wp-content/themes/twentyfourteen/rtl.css index 58d9757915..76dbdb91fb 100644 --- a/src/wp-content/themes/twentyfourteen/rtl.css +++ b/src/wp-content/themes/twentyfourteen/rtl.css @@ -166,6 +166,10 @@ td { padding-left: 7px; } +.entry-content p span[id^="more-"] { + float: right; +} + /** * 6.5 Galleries diff --git a/src/wp-content/themes/twentyfourteen/style.css b/src/wp-content/themes/twentyfourteen/style.css index 85133472f5..d675748ddc 100644 --- a/src/wp-content/themes/twentyfourteen/style.css +++ b/src/wp-content/themes/twentyfourteen/style.css @@ -1261,6 +1261,10 @@ a.post-thumbnail:hover { padding: 12px 10px 0; } +.site-content .entry-content { + padding-top: 22px; +} + .page .entry-content { padding-top: 0; } @@ -1345,6 +1349,34 @@ a.post-thumbnail:hover { white-space: nowrap; } +.entry-content span[id^="more-"] { + display: block; + padding-top: 52px; + margin-top: -76px; +} + +.admin-bar .entry-content span[id^="more-"] { + padding-top: 84px; + margin-top: -108px; +} + +.entry-content span[id^="more-"] + blockquote, +.entry-content span[id^="more-"] + div, +.entry-content span[id^="more-"] + figure, +.entry-content span[id^="more-"] + hr, +.entry-content span[id^="more-"] + ol, +.entry-content span[id^="more-"] + ul, +.entry-content span[id^="more-"] + p, +.entry-content span[id^="more-"] + pre { + margin-top: 24px; +} + +.entry-content p span[id^="more-"] { + width: 1px; + height: 24px; + float: left; +} + /* Mediaelements */ .hentry .mejs-container,