From a056be4a8054d5fcfc0feefc09e6153dd3fd4669 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Thu, 14 Mar 2013 22:18:40 +0000 Subject: [PATCH] Twenty Thirteen: better caption styles for short words and sentences. Props kwight, fixes #23773. git-svn-id: https://develop.svn.wordpress.org/trunk@23701 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-content/themes/twentythirteen/style.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-content/themes/twentythirteen/style.css b/wp-content/themes/twentythirteen/style.css index 574192d47d..aa0033c8ae 100644 --- a/wp-content/themes/twentythirteen/style.css +++ b/wp-content/themes/twentythirteen/style.css @@ -1337,10 +1337,9 @@ footer.entry-meta { box-sizing: border-box; color: #fff; font-size: 14px; - height: 74px; line-height: 1.3; margin: 0; - max-height: 100%; + max-height: 50%; opacity: 0; padding: 2px 8px; position: absolute; @@ -1355,10 +1354,11 @@ footer.entry-meta { .gallery-caption:before { box-shadow: 0 -10px 15px #000 inset; content: ""; - height: 74px; + height: 100%; + min-height: 49px; position: absolute; - bottom: 0; left: 0; + top: 0; width: 100%; }