Better Calendar

This commit is contained in:
edent
2018-03-07 08:55:59 +00:00
parent 088396c155
commit 1aeefb070a
2 changed files with 9 additions and 5 deletions

View File

@@ -150,7 +150,7 @@ Say thanks!
<td><img src="images/svg/buffer.svg" width="125" title="buffer" /><br>489 Bytes</td>
<td><img src="images/svg/apple_music.svg" width="125" title="Apple Music" /><br>998 Bytes</td>
<td><img src="images/svg/upwork.svg" width="125" title="UpWork" /><br>670 Bytes</td>
<td><img src="images/svg/calendar.svg" width="125" title="Calendar" /><br>903 Bytes</td>
<td><img src="images/svg/calendar.svg" width="125" title="Calendar" /><br>956 Bytes</td>
<td><img src="images/svg/workato.svg" width="125" title="workato" /><br>495 Bytes</td>
<td><img src="images/svg/sketch.svg" width="125" title="Sketch" /><br>528 Bytes</td>
</tr>

View File

@@ -2,8 +2,12 @@
xmlns:xlink="http://www.w3.org/1999/xlink"
aria-label="Calendar" role="img"
viewBox="0 0 512 512"
style="font-family:monospace;text-anchor:middle;fill:#667777"><script type="text/ecmascript"><![CDATA[w=()=>{c=0;for (i in e={weekday:"long",month:"short",day:'numeric'}) document.getElementsByTagName('text')[c++].textContent = (new Date).toLocaleString(undefined, {[i]:e[i]})}]]></script><rect
style="font-family:monospace;text-anchor:middle;fill:#667777"><script type="text/ecmascript"><![CDATA[w=()=>{c=0;for (i in e={weekday:"long",month:"short",day:'numeric'}) document.getElementsByTagName('text')[c++].textContent=(new Date).toLocaleString(undefined,{[i]:e[i]})}]]></script>
<defs><clipPath id="c"><rect
width="512" height="512"
rx="77"
id="z"
fill="#dee"/><path d="m77 0h358a77 77 0 0 1 77 77v103h-512v-103a77 77 0 0 1 77-77z" fill="#d34"/><g id="b"><circle fill="#eab" cx="384" cy="100" r="14" id="a"/><use x="43" href="#a"/><use x="86" href="#a"/></g><use y="43" href="#b"/><text font-size="64" x="256" y="480" id="w">Sunday</text><text fill="#fff" font-size="140" x="140" y="164" id="m">FEB</text><text font-size="256" x="256" y="400" id="d">29</text></svg>
rx="15%"/></clipPath></defs>
<g clip-path="url(#c)"><rect
width="512" height="512"
fill="#dee"/><rect
width="512" height="180"
fill="#d34"/></g><g id="b"><circle fill="#eab" cx="384" cy="100" r="14" id="a"/><use x="43" href="#a"/><use x="86" href="#a"/></g><use y="43" href="#b"/><text font-size="64" x="256" y="480" id="w">Sunday</text><text fill="#fff" font-size="140" x="140" y="164" id="m">FEB</text><text font-size="256" x="256" y="400" id="d">29</text></svg>

Before

Width:  |  Height:  |  Size: 903 B

After

Width:  |  Height:  |  Size: 956 B