From ee6ec5263a65cdd2e621e355e164e1f4d8cafc92 Mon Sep 17 00:00:00 2001 From: Nika Zhenya Date: Wed, 9 Oct 2019 11:25:58 -0500 Subject: [PATCH] Cambios en estil de figcaption --- css/extra.css | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/css/extra.css b/css/extra.css index cf76629..d108f4c 100644 --- a/css/extra.css +++ b/css/extra.css @@ -71,6 +71,12 @@ figcaption:before { content: '▣'; } +figcaption { + margin: 0; + padding: 0 0 .5em 0; + border-bottom: 1px solid lightgray; +} + @media screen and (max-width: 640px) { img { width: 100vw; @@ -81,14 +87,18 @@ figcaption:before { @media screen and (min-width: 768px) { figcaption { float: right; - width: calc(30% - 2em); + width: calc(35% - 2em); margin-top: 0; - margin-right: -30%; + margin-right: -35%; padding: 0 1em; + border: none; + -webkit-hyphens: none; + -ms-hyphens: none; + hyphens: none; } figcaption:before { - content: ''; + display: block; } }