docs(assets): Add SVG logo and ICO favicon.

Adds the SVG logo I created (composited rather) in mid-feb in one of my PRs that went slightly off-topic about migrating docs from Github Wiki.

Enables the logo and favicon in `mkdocs.yml`. SVG sources for both full colour and simplified monochromatic are included along with PNG images for use anywhere else, such as the organization logo.

The two SVG of the same names from `src` dir, are used by the docs and have been processed through SVGOMG, an SVG file size optimizer. Any future modifications should use the source files.
This commit is contained in:
polarathene 2021-03-05 01:39:26 +13:00
parent b6d8ce371c
commit 48cf6ffeb0
8 changed files with 240 additions and 0 deletions

View File

@ -0,0 +1 @@
<svg viewBox="20.7 244.9 512 512" xmlns="http://www.w3.org/2000/svg"><defs><filter id="a" x="0" y="0" width="1" height="1" color-interpolation-filters="sRGB"><feColorMatrix values="0.21 0.72 0.072 0.18 0 0.21 0.72 0.072 0.18 0 0.21 0.72 0.072 0.18 0 0 0 0 1 0"/></filter></defs><g fill="none" stroke-miterlimit="10" transform="matrix(2.4982 0 0 2.4982 29.044 225.184)" filter="url(#a)"><path d="M37.133 105.617h68.54l28.007-10.634a3.822 3.822 0 002.216-4.93L113.933 32.2a3.821 3.821 0 00-4.93-2.216l-84.34 32.021a3.821 3.821 0 00-2.215 4.93z" fill="#f3ac47"/><path d="M105.674 105.617l28.009-10.634a3.8 3.8 0 002.073-1.907L76.443 71.304l-18.448 34.313z" fill="#f19a3d"/><path d="M22.386 64.451l59.517 21.233 29.918-55.65a3.799 3.799 0 00-2.817-.05l-84.34 32.022a3.796 3.796 0 00-2.278 2.445z" fill="#ffd15c"/></g><path d="M422.26 398.804a10.4 10.4 0 00-6.387 3.14c-2.084 2.168-20.154 22.384-15.048 68.401a10.838 10.838 0 01-2.626 8.568 9.316 9.316 0 01-7.127 3.208H37.852a10.42 10.42 0 00-10.42 10.421c0 159.895 116.607 177.151 166.73 177.151 129.072 0 218.793-78.405 257.954-147.494 51.603-8.233 73.133-43.642 74.07-45.184a10.442 10.442 0 00-3.355-14.088c-1.438-.938-31.22-19.736-59.377-15.255-6.815-28.532-32.991-46.31-34.283-47.165a10.4 10.4 0 00-6.911-1.703zM132.494 544.646a20.841 20.841 0 0120.84 20.84 20.841 20.841 0 01-20.84 20.843 20.841 20.841 0 01-20.842-20.842 20.841 20.841 0 0120.842-20.84z" fill="#fff"/><path d="M23.77 11.079c-.069-.045-1.498-.947-2.849-.732-.327-1.369-1.583-2.222-1.645-2.263a.499.499 0 00-.638.069c-.1.104-.967 1.074-.722 3.282a.52.52 0 01-.126.411.447.447 0 01-.342.154H17V9.5a.5.5 0 00-.5-.5H14V3.5a.5.5 0 00-.5-.5h-3a.5.5 0 00-.5.5V6H4.5a.5.5 0 00-.5.5V9H1.5a.5.5 0 00-.5.5V12H.5a.5.5 0 00-.5.5C0 20.172 5.595 21 8 21c6.193 0 10.498-3.762 12.377-7.077 2.476-.395 3.509-2.094 3.554-2.168a.501.501 0 00-.161-.676z" fill="url(#a)" transform="matrix(20.84137 0 0 20.84137 27.432 232.025)"/></svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -0,0 +1 @@
<svg viewBox="20.7 244.9 512 512" xmlns="http://www.w3.org/2000/svg"><g fill="none" stroke-miterlimit="10"><path d="M121.45 489.894h172.28l70.397-26.729a9.607 9.607 0 005.57-12.392l-55.205-145.417a9.604 9.604 0 00-12.392-5.57L90.106 380.273a9.604 9.604 0 00-5.567 12.392z" fill="#f3ac47"/><path d="M293.732 489.894l70.403-26.729a9.552 9.552 0 005.21-4.793L220.26 403.646l-46.37 86.248z" fill="#f19a3d"/><path d="M84.383 386.421l149.6 53.37 75.2-139.88a9.549 9.549 0 00-7.08-.125l-211.994 80.49a9.541 9.541 0 00-5.726 6.145z" fill="#ffd15c"/></g><g transform="matrix(20.9196 0 0 20.9196 26.176 230.103)"><path d="M23.77 11.079c-.069-.045-1.498-.947-2.849-.732-.327-1.369-1.583-2.222-1.645-2.263a.499.499 0 00-.638.069c-.1.104-.967 1.074-.722 3.282a.52.52 0 01-.126.411.447.447 0 01-.342.154H.5a.5.5 0 00-.5.5C0 20.172 5.595 21 8 21c6.193 0 10.498-3.762 12.377-7.077 2.476-.395 3.509-2.094 3.554-2.168a.501.501 0 00-.161-.676z" fill="#303c42"/><path d="M20.002 12.965a.5.5 0 00-.382.261C17.942 16.351 13.891 20 8 20c-2.546 0-6.772-.924-6.991-7h16.439c.422 0 .809-.173 1.089-.486.287-.321.424-.754.375-1.189-.113-1.02.053-1.687.214-2.069.375.361.874.985.874 1.744 0 .173.09.334.237.426a.503.503 0 00.486.021c.595-.3 1.44-.048 2.015.212-.432.455-1.301 1.138-2.736 1.306z" fill="#42a5f5"/><path d="M20.002 12.465a.5.5 0 00-.382.261C17.942 15.851 13.891 19.5 8 19.5c-2.472 0-6.518-.886-6.951-6.5h-.04c.218 6.076 4.445 7 6.991 7 5.892 0 9.942-3.649 11.62-6.774a.5.5 0 01.382-.261c1.436-.168 2.305-.851 2.736-1.306a4.894 4.894 0 00-.384-.15c-.492.399-1.254.827-2.352.956z" opacity=".1"/><circle cx="5.041" cy="16" r="1" fill="#303c42"/><circle cx="5.469" cy="15.729" r=".323" fill="#fff"/><path d="M23.77 11.079c-.069-.045-1.498-.947-2.849-.732-.327-1.369-1.583-2.222-1.645-2.263a.499.499 0 00-.638.069c-.1.104-.967 1.074-.722 3.282a.52.52 0 01-.126.411.447.447 0 01-.342.154H17V9.5a.5.5 0 00-.5-.5H14V3.5a.5.5 0 00-.5-.5h-3a.5.5 0 00-.5.5V6H4.5a.5.5 0 00-.5.5V9H1.5a.5.5 0 00-.5.5V12H.5a.5.5 0 00-.5.5C0 20.172 5.595 21 8 21c6.193 0 10.498-3.762 12.377-7.077 2.476-.395 3.509-2.094 3.554-2.168a.501.501 0 00-.161-.676z" fill="url(#a)"/></g><path d="M23.77 11.079c-.069-.045-1.498-.947-2.849-.732-.327-1.369-1.583-2.222-1.645-2.263a.499.499 0 00-.638.069c-.1.104-.967 1.074-.722 3.282a.52.52 0 01-.126.411.447.447 0 01-.342.154H17V9.5a.5.5 0 00-.5-.5H14V3.5a.5.5 0 00-.5-.5h-3a.5.5 0 00-.5.5V6H4.5a.5.5 0 00-.5.5V9H1.5a.5.5 0 00-.5.5V12H.5a.5.5 0 00-.5.5C0 20.172 5.595 21 8 21c6.193 0 10.498-3.762 12.377-7.077 2.476-.395 3.509-2.094 3.554-2.168a.501.501 0 00-.161-.676z" fill="url(#a)" transform="matrix(20.84137 0 0 20.84137 27.432 232.025)"/></svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

View File

@ -0,0 +1,109 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
height="512"
viewBox="20.7 244.9 512 512"
width="512"
version="1.1"
id="svg10"
sodipodi:docname="dmo-logo-white.svg"
inkscape:version="1.1-alpha (91d7437e58, 2021-02-12, custom)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview155"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
objecttolerance="10.0"
gridtolerance="10.0"
guidetolerance="10.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
showgrid="false"
inkscape:zoom="1.5996094"
inkscape:cx="185.04518"
inkscape:cy="256.31258"
inkscape:window-width="1920"
inkscape:window-height="1005"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg10" />
<defs
id="defs14">
<linearGradient
id="linearGradient4612">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop4610" />
</linearGradient>
<linearGradient
id="linearGradient4588">
<stop
style="stop-color:#ff0000;stop-opacity:1;"
offset="0"
id="stop4586" />
</linearGradient>
<linearGradient
id="linearGradient4528">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop4526" />
</linearGradient>
<linearGradient
id="linearGradient4348">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop4346" />
</linearGradient>
<filter
style="color-interpolation-filters:sRGB;"
id="filter5959"
x="0"
y="0"
width="1"
height="1">
<feColorMatrix
values="0.21 0.72 0.072 0.18 0 0.21 0.72 0.072 0.18 0 0.21 0.72 0.072 0.18 0 0 0 0 1 0 "
id="feColorMatrix5957" />
</filter>
</defs>
<g
id="g12703">
<g
fill="none"
stroke-miterlimit="10"
id="g8"
transform="matrix(2.4981995,0,0,2.4981995,29.044426,225.18359)"
style="filter:url(#filter5959)">
<path
d="m 37.133,105.617 h 68.54 L 133.68,94.983 a 3.822,3.822 0 0 0 2.216,-4.93 L 113.933,32.2 a 3.821,3.821 0 0 0 -4.93,-2.216 l -84.34,32.021 a 3.821,3.821 0 0 0 -2.215,4.93 z"
fill="#f3ac47"
id="path2" />
<path
d="m 105.674,105.617 28.009,-10.634 a 3.8,3.8 0 0 0 2.073,-1.907 L 76.443,71.304 57.995,105.617 Z"
fill="#f19a3d"
id="path4-5" />
<path
d="m 22.386,64.451 59.517,21.233 29.918,-55.65 a 3.799,3.799 0 0 0 -2.817,-0.05 l -84.34,32.022 a 3.796,3.796 0 0 0 -2.278,2.445 z"
fill="#ffd15c"
id="path6" />
</g>
<path
id="path10"
style="stroke-width:21.581;fill:#ffffff;fill-opacity:1"
d="m 418.52031,389.19102 a 10.768909,10.768909 0 0 0 -6.61328,3.25195 c -2.1581,2.24442 -20.86937,23.17732 -15.58203,70.82812 a 11.22211,11.22211 0 0 1 -2.71875,8.8711 9.6466981,9.6466981 0 0 1 -7.38086,3.32226 H 20.471484 A 10.79049,10.79049 0 0 0 9.680469,486.25547 c 0,165.56928 120.746181,183.4375 172.648441,183.4375 133.65101,0 226.55676,-81.18757 267.10742,-152.72852 53.4345,-8.52448 75.72807,-45.19011 76.69922,-46.78711 a 10.812071,10.812071 0 0 0 -3.47461,-14.58789 c -1.48909,-0.97114 -32.32847,-20.43678 -61.48438,-15.79687 -7.05698,-29.54436 -34.16198,-47.95307 -35.5,-48.83789 a 10.768909,10.768909 0 0 0 -7.15625,-1.76367 z M 118.47148,540.20859 a 21.58098,21.58098 0 0 1 21.58008,21.58008 21.58098,21.58098 0 0 1 -21.58008,21.58203 21.58098,21.58098 0 0 1 -21.582027,-21.58203 21.58098,21.58098 0 0 1 21.582027,-21.58008 z"
transform="matrix(0.96572879,0,0,0.96572879,18.08261,22.951217)" />
</g>
<path
d="M 23.77,11.079 C 23.701,11.034 22.272,10.132 20.921,10.347 20.594,8.978 19.338,8.125 19.276,8.084 a 0.499,0.499 0 0 0 -0.638,0.069 c -0.1,0.104 -0.967,1.074 -0.722,3.282 A 0.52,0.52 0 0 1 17.79,11.846 0.447,0.447 0 0 1 17.448,12 H 17 V 9.5 A 0.5,0.5 0 0 0 16.5,9 H 14 V 3.5 A 0.5,0.5 0 0 0 13.5,3 h -3 A 0.5,0.5 0 0 0 10,3.5 V 6 H 4.5 A 0.5,0.5 0 0 0 4,6.5 V 9 H 1.5 A 0.5,0.5 0 0 0 1,9.5 V 12 H 0.5 A 0.5,0.5 0 0 0 0,12.5 c 0,7.672 5.595,8.5 8,8.5 6.193,0 10.498,-3.762 12.377,-7.077 2.476,-0.395 3.509,-2.094 3.554,-2.168 A 0.501,0.501 0 0 0 23.77,11.079 Z"
fill="url(#a)"
id="path20"
transform="matrix(20.841374,0,0,20.841374,27.431789,232.02503)" />
</svg>

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

View File

@ -0,0 +1,126 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
height="512"
viewBox="20.7 244.9 512 512"
width="512"
version="1.1"
id="svg10"
sodipodi:docname="dmo-logo.svg"
inkscape:version="1.1-alpha (91d7437e58, 2021-02-12, custom)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview33"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
objecttolerance="10.0"
gridtolerance="10.0"
guidetolerance="10.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
showgrid="false"
inkscape:zoom="1.5996094"
inkscape:cx="195.04762"
inkscape:cy="256.31258"
inkscape:window-width="1920"
inkscape:window-height="1005"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg10" />
<defs
id="defs14">
<linearGradient
id="linearGradient4612">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop4610" />
</linearGradient>
<linearGradient
id="linearGradient4588">
<stop
style="stop-color:#ff0000;stop-opacity:1;"
offset="0"
id="stop4586" />
</linearGradient>
<linearGradient
id="linearGradient4528">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop4526" />
</linearGradient>
<linearGradient
id="linearGradient4348">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop4346" />
</linearGradient>
</defs>
<g
id="g12293">
<g
fill="none"
stroke-miterlimit="10"
id="g8-7"
transform="matrix(2.5135595,0,0,2.5135595,28.114541,224.41955)"
style="opacity:1">
<path
d="m 37.133,105.617 h 68.54 L 133.68,94.983 a 3.822,3.822 0 0 0 2.216,-4.93 L 113.933,32.2 a 3.821,3.821 0 0 0 -4.93,-2.216 l -84.34,32.021 a 3.821,3.821 0 0 0 -2.215,4.93 z"
fill="#f3ac47"
id="path2-3" />
<path
d="m 105.674,105.617 28.009,-10.634 a 3.8,3.8 0 0 0 2.073,-1.907 L 76.443,71.304 57.995,105.617 Z"
fill="#f19a3d"
id="path4" />
<path
d="m 22.386,64.451 59.517,21.233 29.918,-55.65 a 3.799,3.799 0 0 0 -2.817,-0.05 l -84.34,32.022 a 3.796,3.796 0 0 0 -2.278,2.445 z"
fill="#ffd15c"
id="path6-6" />
</g>
<g
transform="matrix(20.919594,0,0,20.919594,26.175505,230.10256)"
id="g22"
style="opacity:1">
<path
d="M 23.77,11.079 C 23.701,11.034 22.272,10.132 20.921,10.347 20.594,8.978 19.338,8.125 19.276,8.084 a 0.499,0.499 0 0 0 -0.638,0.069 c -0.1,0.104 -0.967,1.074 -0.722,3.282 A 0.52,0.52 0 0 1 17.79,11.846 0.447,0.447 0 0 1 17.448,12 H 0.5 A 0.5,0.5 0 0 0 0,12.5 c 0,7.672 5.595,8.5 8,8.5 6.193,0 10.498,-3.762 12.377,-7.077 2.476,-0.395 3.509,-2.094 3.554,-2.168 A 0.501,0.501 0 0 0 23.77,11.079 Z"
fill="#303c42"
id="path10-5" />
<path
d="M 20.002,12.965 A 0.5,0.5 0 0 0 19.62,13.226 C 17.942,16.351 13.891,20 8,20 5.454,20 1.228,19.076 1.009,13 h 16.439 c 0.422,0 0.809,-0.173 1.089,-0.486 0.287,-0.321 0.424,-0.754 0.375,-1.189 -0.113,-1.02 0.053,-1.687 0.214,-2.069 C 19.501,9.617 20,10.241 20,11 c 0,0.173 0.09,0.334 0.237,0.426 a 0.503,0.503 0 0 0 0.486,0.021 c 0.595,-0.3 1.44,-0.048 2.015,0.212 -0.432,0.455 -1.301,1.138 -2.736,1.306 z"
fill="#42a5f5"
id="path12" />
<path
d="M 20.002,12.465 A 0.5,0.5 0 0 0 19.62,12.726 C 17.942,15.851 13.891,19.5 8,19.5 5.528,19.5 1.482,18.614 1.049,13 h -0.04 c 0.218,6.076 4.445,7 6.991,7 5.892,0 9.942,-3.649 11.62,-6.774 a 0.5,0.5 0 0 1 0.382,-0.261 c 1.436,-0.168 2.305,-0.851 2.736,-1.306 a 4.894,4.894 0 0 0 -0.384,-0.15 c -0.492,0.399 -1.254,0.827 -2.352,0.956 z"
opacity="0.1"
id="path14" />
<circle
cx="5.0409999"
cy="16"
r="1"
fill="#303c42"
id="circle16" />
<circle
cx="5.4689999"
cy="15.729"
r="0.32300001"
fill="#ffffff"
id="circle18" />
<path
d="M 23.77,11.079 C 23.701,11.034 22.272,10.132 20.921,10.347 20.594,8.978 19.338,8.125 19.276,8.084 a 0.499,0.499 0 0 0 -0.638,0.069 c -0.1,0.104 -0.967,1.074 -0.722,3.282 A 0.52,0.52 0 0 1 17.79,11.846 0.447,0.447 0 0 1 17.448,12 H 17 V 9.5 A 0.5,0.5 0 0 0 16.5,9 H 14 V 3.5 A 0.5,0.5 0 0 0 13.5,3 h -3 A 0.5,0.5 0 0 0 10,3.5 V 6 H 4.5 A 0.5,0.5 0 0 0 4,6.5 V 9 H 1.5 A 0.5,0.5 0 0 0 1,9.5 V 12 H 0.5 A 0.5,0.5 0 0 0 0,12.5 c 0,7.672 5.595,8.5 8,8.5 6.193,0 10.498,-3.762 12.377,-7.077 2.476,-0.395 3.509,-2.094 3.554,-2.168 A 0.501,0.501 0 0 0 23.77,11.079 Z"
fill="url(#a)"
id="path20-6" />
</g>
</g>
<path
d="M 23.77,11.079 C 23.701,11.034 22.272,10.132 20.921,10.347 20.594,8.978 19.338,8.125 19.276,8.084 a 0.499,0.499 0 0 0 -0.638,0.069 c -0.1,0.104 -0.967,1.074 -0.722,3.282 A 0.52,0.52 0 0 1 17.79,11.846 0.447,0.447 0 0 1 17.448,12 H 17 V 9.5 A 0.5,0.5 0 0 0 16.5,9 H 14 V 3.5 A 0.5,0.5 0 0 0 13.5,3 h -3 A 0.5,0.5 0 0 0 10,3.5 V 6 H 4.5 A 0.5,0.5 0 0 0 4,6.5 V 9 H 1.5 A 0.5,0.5 0 0 0 1,9.5 V 12 H 0.5 A 0.5,0.5 0 0 0 0,12.5 c 0,7.672 5.595,8.5 8,8.5 6.193,0 10.498,-3.762 12.377,-7.077 2.476,-0.395 3.509,-2.094 3.554,-2.168 A 0.501,0.501 0 0 0 23.77,11.079 Z"
fill="url(#a)"
id="path20"
transform="matrix(20.841374,0,0,20.841374,27.431789,232.02503)" />
</svg>

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

@ -6,8 +6,11 @@ repo_url: 'https://github.com/docker-mailserver/docker-mailserver'
copyright: '<p>&copy <a href="https://github.com/docker-mailserver"><em>Docker Mailserver Organization</em></a><br/><span>This project is licensed under the MIT license.</span></p>'
docs_dir: 'content/'
site_url: 'https://docker-mailserver.github.io/docker-mailserver'
theme:
name: 'material'
favicon: assets/logo/favicon-32x32.png
logo: assets/logo/dmo-logo-white.svg
icon:
repo: fontawesome/brands/github
features: