Change demo web page to use SVG favicon (leave previous ICO around).

This commit is contained in:
David Anson 2022-06-06 22:11:29 -07:00
parent 00082ee8a5
commit 4560ccc1cd
2 changed files with 14 additions and 1 deletions

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<link href="default.css" rel="stylesheet" type="text/css"/>
<link rel="shortcut icon" href="favicon.ico"/>
<link href="favicon.svg" rel="icon" type="image/svg+xml"/>
<meta name="description" content="Demo for markdownlint, a Node.js style checker and lint tool for Markdown/CommonMark files."/>
<title>markdownlint demo</title>
<base target="_blank"/>

13
demo/favicon.svg Normal file
View file

@ -0,0 +1,13 @@
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<style>
rect { stroke: black; stroke-width: 1; fill: white }
path { stroke: black; stroke-linecap: round; stroke-linejoin: round; fill: none }
</style>
<rect x="0.5" y="0.5" width="15" height="15" rx= "1" ry="1"/>
<path d="M 10.5,2.5 L 11.5,2.5 L 11.5,5.5 L 13,5.5 L 11,7.5 L 9,5.5 L 10.5,5.5 Z" style="fill:black"/>
<path d="M 2.5 7.5 L 2.5 3 L 4.5 5 L 6.5 3 L 6.5 7.5"/>
<path d="M 2.5,9.5 L 2.5,13.5 L 4,13.5"/>
<path d="M 5.5,10 L 5.5,10 M 5.5,11.5 L 5.5,13.5"/>
<path d="M 7.5,13.5 L 7.5,12 L 8 11.5 L 9 11.5 L 9.5,12 L 9.5,13.5"/>
<path d="M 12,13.5 L 12,10 M 11,11.5 L 13,11.5"/>
</svg>

After

Width:  |  Height:  |  Size: 681 B