Ajustando margen de logo de fondo en el main
authorOdairTrujillo <haldrik@gmail.com>
Wed, 8 Feb 2023 01:10:06 +0000 (20:10 -0500)
committerOdairTrujillo <haldrik@gmail.com>
Wed, 8 Feb 2023 01:10:06 +0000 (20:10 -0500)
themes/droda/assets/css/main.css
themes/droda/static/images/salamandra_margin.svg [new file with mode: 0644]

index 477664d8b9dedbbee0e89ade180017b546ecc76f..56408f16cdc6831737c5f67558967542c458c31c 100644 (file)
@@ -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 (file)
index 0000000..abe9498
--- /dev/null
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   width="520.95392"
+   height="533.68188"
+   viewBox="0 0 137.83572 141.20334"
+   version="1.1"
+   id="svg8"
+   inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
+   sodipodi:docname="salamandra_margin.svg"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:dc="http://purl.org/dc/elements/1.1/">
+  <defs
+     id="defs2">
+    <linearGradient
+       inkscape:collect="always"
+       id="linearGradient861">
+      <stop
+         style="stop-color:#bebebe;stop-opacity:1;"
+         offset="0"
+         id="stop857" />
+      <stop
+         style="stop-color:#82b4b4;stop-opacity:1"
+         offset="1"
+         id="stop859" />
+    </linearGradient>
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient861"
+       id="linearGradient912"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(10.636981,0,0,10.636981,-670.88645,-2111.2281)"
+       x1="68.058548"
+       y1="199.24373"
+       x2="79.290688"
+       y2="199.24373" />
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="1.28"
+     inkscape:cx="354.6875"
+     inkscape:cy="314.45313"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     inkscape:window-width="1920"
+     inkscape:window-height="1051"
+     inkscape:window-x="0"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1"
+     inkscape:snap-global="true"
+     showguides="true"
+     inkscape:guide-bbox="true"
+     units="px"
+     inkscape:pagecheckerboard="0"
+     inkscape:document-rotation="0"
+     fit-margin-top="0"
+     fit-margin-left="0"
+     fit-margin-right="0"
+     fit-margin-bottom="0">
+    <sodipodi:guide
+       position="-9.5901413,6.9762812e-06"
+       orientation="0,-1"
+       id="guide827" />
+    <sodipodi:guide
+       position="137.83573,89.241306"
+       orientation="1,0"
+       id="guide829" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata5">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Capa 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(-69.794261,1.4149227)">
+    <path
+       inkscape:export-ydpi="300.08838"
+       inkscape:export-xdpi="300.08838"
+       inkscape:export-filename="/home/haldrik/dev/salamandradevs/salamandra_fhd.png"
+       sodipodi:nodetypes="czzssszzzzzzzszcszsczzzzzzzzzzczszczzzzzzzzzzczccssccszzzzzzzzzssscc"
+       inkscape:connector-curvature="0"
+       id="path880"
+       d="m 127.29676,23.796213 c -7.04209,3.57178 -12.67577,0.787716 -16.85488,1.829796 -4.17758,1.04207 -7.5052,4.25945 -8.61423,3.6264 -1.11265,-0.63516 -0.25756,-2.29534 0.10298,-4.74161 0.25756,-1.88276 -0.20605,-3.1046 0.0111,-4.09207 0.25755,-1.0977 1.41141,-2.37621 2.32315,-3.39408 1.74624,-1.93063 8.37214,-4.43512 5.66163,-6.77197 -2.70435,-2.3360388 -5.82131,6.71748 -8.03938,5.43556 C 99.661843,14.406129 105.4002,4.5279223 101.33595,4.2835523 97.225368,4.0311526 101.0784,15.449589 98.755249,15.408739 96.457861,15.364839 96.313631,4.2439923 92.694472,5.9700314 89.0681,7.6961805 96.665971,14.117359 94.99186,15.848399 c -1.674101,1.73129 -7.3635,-6.1752297 -9.18545,-2.76358 -1.8235,3.41314 8.601313,3.61866 10.497431,7.0202 0.654197,1.17396 -0.551164,2.70024 -1.174451,5.21877 -0.551157,2.51891 -1.148684,7.58643 0.257557,9.50929 1.220814,1.45829 5.839293,2.20314 10.949723,0.60784 1.98834,-0.62895 4.31891,-1.40612 5.18841,0.31848 0.86025,1.72563 -6.13931,6.54817 -9.23771,10.06577 -8.177894,9.2783 -6.814393,19.68347 -5.207262,24.53048 -19.985805,-8.32828 -9.927208,11.99643 -13.961564,15.89931 -4.033326,3.903008 -11.278909,-6.18263 -13.11631,-2.62862 -1.844108,3.55479 9.184971,4.03335 9.08453,6.531528 -0.102988,2.497765 -10.460399,2.644585 -8.974302,5.828537 1.488677,3.184922 9.522886,-5.16167 10.92142,-3.529029 1.401104,1.633411 -5.661603,7.806635 -3.111282,10.141865 2.544659,2.33447 3.770628,-9.967128 5.507588,-8.901584 1.746232,1.064724 -1.246566,9.492654 2.457082,9.690884 3.70882,0.21119 -1.47836,-7.672903 0.022,-10.128211 1.49897,-2.454495 3.95605,-3.238492 5.654888,-6.73679 1.699861,-3.49812 0.36058,-7.69433 -0.257557,-9.29036 1.545331,0.25246 10.248109,4.41142 12.107159,17.674151 1.85955,13.26157 11.22341,32.31957 23.73093,34.56751 15.60794,2.80517 23.71205,-17.37807 34.49765,-16.4968 10.7856,0.88126 24.76626,15.25298 36.11728,-10.36706 -18.88397,21.23342 -25.16238,4.76909 -34.65181,2.33055 -9.48944,-2.43854 -13.68523,7.21602 -27.32594,10.37891 -13.64172,3.16228 -17.85584,-12.04482 -16.992,-20.35401 0.86024,-8.309011 13.22502,-16.367571 16.53048,-12.708531 3.31219,3.65936 0.41211,6.88973 -1.87501,9.440379 -2.31284,2.550805 -8.97068,1.907961 -7.61954,5.26115 1.35474,3.353392 6.17414,-2.219078 8.57354,-2.241748 2.39013,-0.0258 0.80358,13.20019 4.31664,10.37252 3.51306,-2.82692 -2.56012,-9.198336 -0.25756,-11.094494 2.2665,-1.896111 5.69816,8.668104 8.14393,5.38826 2.44164,-3.279212 -6.92723,-5.868437 -6.06082,-7.956745 1.1487,-2.821792 10.7602,2.244315 10.74421,-1.515462 -0.0152,-3.76032 -8.83571,0.237018 -10.28473,-1.551 -0.87052,0.0514 12.71764,-31.56638 -19.5449,-10.24024 13.31667,-14.28875 5.62168,-30.880861 10.57808,-31.690411 2.33348,-0.38119 2.35468,2.771211 3.89811,4.760916 2.10949,2.719436 3.99729,5.664255 5.90114,5.867355 1.97287,0.45845 12.58,-4.907903 16.87347,-8.560163 2.24072,-1.96308 3.34823,-4.07248 4.1827,-4.18838 2.77646,-0.38116 9.7145,5.74508 11.1419,2.33037 1.432,-3.41468 -8.90683,-2.43288 -9.04798,-4.52421 -0.10309,-2.09343 10.83695,-2.74557 8.84655,-5.82981 -1.98317,-3.08449 -8.12385,4.38567 -9.44202,3.00518 -1.31868,-1.38052 7.03027,-8.82687 3.6161,-10.50268 -3.42035,-1.67721 -4.00244,8.89598 -5.60597,9.00894 -1.60716,0.1031 0.0514,-9.83266 -3.35337,-9.10289 -3.44097,0.72887 2.03983,8.55115 1.44745,10.584 -0.55117,2.03264 -2.20467,1.50464 -5.93153,4.26153 -3.71911,2.75637 -6.25426,3.349644 -10.00017,3.512364 -1.21566,0.0514 -0.57969,-3.74112 -2.5946,-6.580326 -1.3634,-1.921156 -4.15872,-7.482621 -1.91275,-9.645925 6.3923,-6.157023 24.96052,-2.724631 22.43882,-30.00000457 C 131.42681,-9.2905306 133.62554,17.774537 127.29676,23.796213 Z"
+       style="fill:#1482c8;fill-opacity:1;stroke:none;stroke-width:0.0398341;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+  </g>
+</svg>