From 391bd049a3bddcf269a604188b0188e5f4338013 Mon Sep 17 00:00:00 2001 From: OdairTrujillo Date: Tue, 7 Feb 2023 20:10:06 -0500 Subject: [PATCH] Ajustando margen de logo de fondo en el main --- themes/droda/assets/css/main.css | 11 +- .../droda/static/images/salamandra_margin.svg | 106 ++++++++++++++++++ 2 files changed, 116 insertions(+), 1 deletion(-) create mode 100644 themes/droda/static/images/salamandra_margin.svg 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 + + + + + + + + -- 2.25.1