From: OdairTrujillo Date: Wed, 8 Feb 2023 01:10:06 +0000 (-0500) Subject: Ajustando margen de logo de fondo en el main X-Git-Url: https://git.josue.xyz/?p=salamandradevs.site%2F.git;a=commitdiff_plain;h=391bd049a3bddcf269a604188b0188e5f4338013 Ajustando margen de logo de fondo en el main --- diff --git a/themes/droda/assets/css/main.css b/themes/droda/assets/css/main.css index 477664d..56408f1 100644 --- a/themes/droda/assets/css/main.css +++ b/themes/droda/assets/css/main.css @@ -141,13 +141,22 @@ main { grid-area: main; padding: 2rem; background-color: var(--bgColorMidDark); - background-image: url('../images/salamandra.svg'); + background-image: url('../images/salamandra_margin.svg'); background-size: 10rem; background-position-x: right; background-position-y: bottom; background-repeat: no-repeat; } +/* Regla que aplica solo a firefox */ +@-moz-document url-prefix() { + main { + background-image: url('../images/salamandra.svg'); + background-position-x: right 1rem; + background-position-y: bottom 1rem; + } +} + main hr { width: 100%; } diff --git a/themes/droda/static/images/salamandra_margin.svg b/themes/droda/static/images/salamandra_margin.svg new file mode 100644 index 0000000..abe9498 --- /dev/null +++ b/themes/droda/static/images/salamandra_margin.svg @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + +