From f51ffdc71d8e7bccefa3100bab67b3d64878e4c2 Mon Sep 17 00:00:00 2001 From: Nika Zhenya Date: Tue, 8 Oct 2019 21:43:25 -0500 Subject: [PATCH] =?UTF-8?q?Arreglo=20de=20estilos=20para=20im=C3=A1genes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/extra.css | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/css/extra.css b/css/extra.css index ca5d885..cf76629 100644 --- a/css/extra.css +++ b/css/extra.css @@ -1,7 +1,7 @@ /* General */ @media screen and (min-width: 641px) {body {margin: 50px;}} @media screen and (max-width: 640px) {body {margin: 25px;}} -body {max-width: 512px;} +body {max-width: 512px; overflow-x: hidden;} body.black {background-color: #2d2d2d;} body.black section a:not(.hashover-more-link), body.black footer a:not(.hashover-more-link) {color: rgb(229,87,44);} @@ -67,6 +67,17 @@ figure { margin: 1em auto; } +figcaption:before { + content: '▣'; +} + +@media screen and (max-width: 640px) { + img { + width: 100vw; + margin-left: -25px; + } +} + @media screen and (min-width: 768px) { figcaption { float: right; @@ -75,6 +86,10 @@ figure { margin-right: -30%; padding: 0 1em; } + + figcaption:before { + content: ''; + } } /* Footer */