Commit 4c55201e authored by Tomas Härdin's avatar Tomas Härdin

PNG alternatives for logo

parent 6043a9be
Pipeline #1095 failed with stages
in 0 seconds
#!/bin/bash
for dpi in 150 300 600 1200
do
convert -background none -density $dpi fmigo-logo-plain.svg fmigo-logo-${dpi}dpi.png
zopflipng fmigo-logo-${dpi}dpi.png -y fmigo-logo-${dpi}dpi.png
done
......@@ -5,9 +5,15 @@
<title>FMIGo!</title>
</head>
<body style="margin:0 auto;padding:0.5em;max-width:50em">
<header style="center">
<header>
<div style="text-align:center">
<img src="fmigo-logo-plain.svg" width="50%" alt="FMIGo logo"/>
<picture>
<source type="image/png" media="(max-width: 242px)" srcset="fmigo-logo-150dpi.png" />
<source type="image/png" media="(max-width: 484px)" srcset="fmigo-logo-300dpi.png" />
<source type="image/png" media="(max-width: 968px)" srcset="fmigo-logo-600dpi.png" />
<source type="image/png" srcset="fmigo-logo-1200dpi.png" />
<img src="fmigo-logo-plain.svg" width="50%" alt="FMIGo logo"/>
</picture>
</div>
</header>
<nav>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment