Subject: [PATCH shepherd website 4/5] logo: Remove SVG margins.

From: [email-masked]
Date: Sun, 1 Dec 2024 11:19:49 -0500

From: Luis Felipe <[email-masked]>

So that people have more control of margins and paddings using CSS
instead.

* static/css/main.css (#header a.logo img): Add top margin.
* static/images/logo-dark.svg: Remove margins.
* static/images/logo-light.svg: Likewise.
---
 static/css/main.css          |  1 +
 static/images/logo-dark.svg  | 29 ++++++++---------------------
 static/images/logo-light.svg | 33 ++++++++++-----------------------
 3 files changed, 19 insertions(+), 44 deletions(-)

diff --git a/static/css/main.css b/static/css/main.css
index c72c87a..08e1ee5 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -99,6 +99,7 @@ p + p {
     border-color: transparent;
     border-style: solid;
     border-width: 2px;
+    margin-top: 1em;
 }
 
 #header a.logo:focus img {
diff --git a/static/images/logo-dark.svg b/static/images/logo-dark.svg
index c0a3757..3827b3b 100644
--- a/static/images/logo-dark.svg
+++ b/static/images/logo-dark.svg
@@ -2,9 +2,9 @@
 <!-- Created with Inkscape (http://www.inkscape.org/) -->
 
 <svg
-   width="300"
-   height="80"
-   viewBox="0 0 79.375001 21.166667"
+   width="258.96384"
+   height="60.867981"
+   viewBox="0 0 68.517516 16.104654"
    version="1.1"
    id="svg5"
    inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
@@ -30,8 +30,8 @@
      inkscape:document-units="px"
      showgrid="false"
      inkscape:zoom="2"
-     inkscape:cx="153.5"
-     inkscape:cy="30.25"
+     inkscape:cx="132.75"
+     inkscape:cy="18.75"
      inkscape:window-width="1920"
      inkscape:window-height="1011"
      inkscape:window-x="0"
@@ -45,29 +45,16 @@
      inkscape:label="background"
      inkscape:groupmode="layer"
      id="layer1"
-     transform="translate(-244.17786,-23.138838)" />
+     transform="translate(-249.6026,-26.120349)" />
   <g
      inkscape:groupmode="layer"
      id="layer2"
      inkscape:label="logo"
-     transform="translate(-244.17786,-23.138838)">
+     transform="translate(-249.6026,-26.120349)">
     <path
        id="path5180"
-       style="font-size:16.6954px;line-height:1.25;font-family:'Passion One';-inkscape-font-specification:'Passion One, Normal';letter-spacing:0px;stroke-width:0.264583;fill:#ffffff"
+       style="font-size:16.6954px;line-height:1.25;font-family:'Passion One';-inkscape-font-specification:'Passion One, Normal';letter-spacing:0px;fill:#ffffff;stroke-width:0.264583"
-    <text
-       xml:space="preserve"
-       style="font-size:3.175px;line-height:1.25;font-family:'DejaVu Sans';-inkscape-font-specification:'DejaVu Sans';letter-spacing:0px;stroke-width:0.264583;fill:#ffffff"
-       x="243.8864"
-       y="49.477226"
-       id="text1042"><tspan
-         sodipodi:role="line"
-         id="tspan1040"
-         style="stroke-width:0.264583;fill:#ffffff"
-         x="243.8864"
-         y="49.477226"><tspan
-   style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:'DejaVu Sans';-inkscape-font-specification:'DejaVu Sans Bold';fill:#ffffff"
-   id="tspan1044">Font:</tspan> Passion One</tspan></text>
     <g
        id="g307">
       <path
diff --git a/static/images/logo-light.svg b/static/images/logo-light.svg
index 407b08d..73328a6 100644
--- a/static/images/logo-light.svg
+++ b/static/images/logo-light.svg
@@ -2,9 +2,9 @@
 <!-- Created with Inkscape (http://www.inkscape.org/) -->
 
 <svg
-   width="300"
-   height="80"
-   viewBox="0 0 79.375001 21.166667"
+   width="258.96384"
+   height="60.867981"
+   viewBox="0 0 68.517516 16.104654"
    version="1.1"
    id="svg5"
    inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
@@ -30,8 +30,8 @@
      inkscape:document-units="px"
      showgrid="false"
      inkscape:zoom="2"
-     inkscape:cx="150.75"
-     inkscape:cy="30.25"
+     inkscape:cx="130.25"
+     inkscape:cy="18.75"
      inkscape:window-width="1920"
      inkscape:window-height="1011"
      inkscape:window-x="0"
@@ -45,29 +45,16 @@
      inkscape:label="background"
      inkscape:groupmode="layer"
      id="layer1"
-     transform="translate(-244.17786,-23.138838)" />
+     transform="translate(-249.6026,-26.120349)" />
   <g
      inkscape:groupmode="layer"
      id="layer2"
      inkscape:label="logo"
-     transform="translate(-244.17786,-23.138838)">
+     transform="translate(-249.6026,-26.120349)">
     <path
        id="path5180"
-       style="font-size:16.6954px;line-height:1.25;font-family:'Passion One';-inkscape-font-specification:'Passion One, Normal';letter-spacing:0px;stroke-width:0.264583;fill:#073b4c;fill-opacity:1"
+       style="font-size:16.6954px;line-height:1.25;font-family:'Passion One';-inkscape-font-specification:'Passion One, Normal';letter-spacing:0px;fill:#073b4c;fill-opacity:1;stroke-width:0.264583"
-    <text
-       xml:space="preserve"
-       style="font-size:3.175px;line-height:1.25;font-family:'DejaVu Sans';-inkscape-font-specification:'DejaVu Sans';letter-spacing:0px;stroke-width:0.264583"
-       x="243.8864"
-       y="49.477226"
-       id="text1042"><tspan
-         sodipodi:role="line"
-         id="tspan1040"
-         style="stroke-width:0.264583"
-         x="243.8864"
-         y="49.477226"><tspan
-   style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:'DejaVu Sans';-inkscape-font-specification:'DejaVu Sans Bold'"
-   id="tspan1044">Font:</tspan> Passion One</tspan></text>
     <g
        id="g1">
       <path
@@ -76,7 +63,7 @@
          d="m 249.6106,29.754455 v 0.0083 h -0.008 v 2.217436 h 0.003 v 10e-4 h 1.53376 v -10e-4 h 0.006 v -1.318783 h -0.006 v -0.0124 H 250.409 v 0.449585 h 0.28629 v 0.432532 h -0.64337 v -1.326534 h 1.51774 v 9.919808 h 0.44958 V 29.762723 h -0.008 v -0.0083 z" />
       <path
          id="path3296"
-         style="fill:#073b4c;stroke:none;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1"
+         style="fill:#073b4c;fill-opacity:1;stroke:none;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
          d="m 255.15652,31.014843 -1.05007,1.416451 -0.0264,0.610816 -0.62942,2.070158 -0.93121,0.4408 0.16795,0.627868 1.24437,-0.667659 -0.15142,2.845304 h 0.61237 v 1.767334 h 0.56844 v -1.79679 h 1.40302 v 1.79679 h 0.58807 v -1.776636 h 0.64803 l -0.34469,-5.936072 -1.05264,-1.398364 z" />
       <rect
          style="fill:#073b4c;fill-opacity:1;stroke:none;stroke-width:0.264583;stroke-dasharray:none;stroke-opacity:1"
@@ -87,7 +74,7 @@
          y="35.586159" />
       <path
          id="path4339"
-         style="fill:#073b4c;stroke:none;stroke-width:0.264583;stroke-dasharray:none;stroke-opacity:1;fill-opacity:1"
+         style="fill:#073b4c;fill-opacity:1;stroke:none;stroke-width:0.264583;stroke-dasharray:none;stroke-opacity:1"
          d="m 255.30948,26.120455 c -0.59463,0.01499 -1.06867,0.499766 -1.06867,1.099158 v 0.91519 a 3.375586,0.31502971 0 0 0 -2.10013,0.291455 3.375586,0.31502971 0 0 0 2.18281,0.294556 1.2155644,1.3639417 0 0 0 -0.0227,0.259415 1.2155644,1.3639417 0 0 0 1.21543,1.364258 1.2155644,1.3639417 0 0 0 1.21594,-1.364258 1.2155644,1.3639417 0 0 0 -0.0222,-0.259415 3.375586,0.31502971 0 0 0 2.18178,-0.294556 3.375586,0.31502971 0 0 0 -2.15956,-0.293522 v -0.913123 c 0,-0.608906 -0.48975,-1.099158 -1.0976,-1.099158 h -0.29663 c -0.01,0 -0.019,-2.38e-4 -0.0284,0 z" />
     </g>
   </g>
-- 
2.46.0