mirror of
https://github.com/sigmasternchen/github-stats
synced 2025-03-15 08:09:03 +00:00
100 lines
5.1 KiB
XML
100 lines
5.1 KiB
XML
![]() |
<svg width="360" height="210" xmlns="http://www.w3.org/2000/svg">
|
||
|
<style>
|
||
|
svg {
|
||
|
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
|
||
|
font-size: 14px;
|
||
|
line-height: 21px;
|
||
|
}
|
||
|
|
||
|
#background {
|
||
|
width: calc(100% - 10px);
|
||
|
height: calc(100% - 10px);
|
||
|
fill: white;
|
||
|
stroke: rgb(225, 228, 232);
|
||
|
stroke-width: 1px;
|
||
|
rx: 6px;
|
||
|
ry: 6px;
|
||
|
}
|
||
|
|
||
|
foreignObject {
|
||
|
width: calc(100% - 10px - 32px);
|
||
|
height: calc(100% - 10px - 32px);
|
||
|
}
|
||
|
|
||
|
table {
|
||
|
width: 100%;
|
||
|
border-collapse: collapse;
|
||
|
table-layout: auto;
|
||
|
}
|
||
|
|
||
|
th {
|
||
|
padding: 0.5em;
|
||
|
padding-top: 0;
|
||
|
text-align: left;
|
||
|
font-size: 14px;
|
||
|
font-weight: 600;
|
||
|
color: rgb(3, 102, 214);
|
||
|
}
|
||
|
|
||
|
td {
|
||
|
margin-bottom: 16px;
|
||
|
margin-top: 8px;
|
||
|
padding: 0.25em;
|
||
|
font-size: 12px;
|
||
|
line-height: 18px;
|
||
|
color: rgb(88, 96, 105);
|
||
|
}
|
||
|
|
||
|
tr {
|
||
|
transform: translateX(-200%);
|
||
|
animation-duration: 2s;
|
||
|
animation-name: slideIn;
|
||
|
animation-function: ease-in-out;
|
||
|
animation-fill-mode: forwards;
|
||
|
}
|
||
|
|
||
|
.octicon {
|
||
|
fill: rgb(88, 96, 105);
|
||
|
margin-right: 1ch;
|
||
|
vertical-align: top;
|
||
|
}
|
||
|
|
||
|
@keyframes slideIn {
|
||
|
to {
|
||
|
transform: translateX(0);
|
||
|
}
|
||
|
}
|
||
|
</style>
|
||
|
<g>
|
||
|
<rect x="5" y="5" id="background" />
|
||
|
<g>
|
||
|
<foreignObject x="21" y="21" width="318" height="168">
|
||
|
<div xmlns="http://www.w3.org/1999/xhtml">
|
||
|
|
||
|
<table>
|
||
|
<thead><tr style="transform: translateX(0);">
|
||
|
<th colspan="2">{{ name }}'s GitHub Statistics</th>
|
||
|
</tr></thead>
|
||
|
<tbody>
|
||
|
|
||
|
<tr><td><svg class="octicon" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" version="1.1" width="16" height="16"><path fill-rule="evenodd" d="M8 .25a.75.75 0 01.673.418l1.882 3.815 4.21.612a.75.75 0 01.416 1.279l-3.046 2.97.719 4.192a.75.75 0 01-1.088.791L8 12.347l-3.766 1.98a.75.75 0 01-1.088-.79l.72-4.194L.818 6.374a.75.75 0 01.416-1.28l4.21-.611L7.327.668A.75.75 0 018 .25zm0 2.445L6.615 5.5a.75.75 0 01-.564.41l-3.097.45 2.24 2.184a.75.75 0 01.216.664l-.528 3.084 2.769-1.456a.75.75 0 01.698 0l2.77 1.456-.53-3.084a.75.75 0 01.216-.664l2.24-2.183-3.096-.45a.75.75 0 01-.564-.41L8 2.694v.001z"></path></svg>Stars</td><td>{{ stars }}</td></tr>
|
||
|
|
||
|
<tr style="animation-delay: 150ms"><td><svg class="octicon" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" version="1.1" width="16" height="16" role="img"><path fill-rule="evenodd" d="M5 3.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zm0 2.122a2.25 2.25 0 10-1.5 0v.878A2.25 2.25 0 005.75 8.5h1.5v2.128a2.251 2.251 0 101.5 0V8.5h1.5a2.25 2.25 0 002.25-2.25v-.878a2.25 2.25 0 10-1.5 0v.878a.75.75 0 01-.75.75h-4.5A.75.75 0 015 6.25v-.878zm3.75 7.378a.75.75 0 11-1.5 0 .75.75 0 011.5 0zm3-8.75a.75.75 0 100-1.5.75.75 0 000 1.5z"></path></svg>Forks</td><td>{{ forks }}</td></tr>
|
||
|
|
||
|
<tr style="animation-delay: 300ms"><td><svg class="octicon" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M1 2.5A2.5 2.5 0 013.5 0h8.75a.75.75 0 01.75.75v3.5a.75.75 0 01-1.5 0V1.5h-8a1 1 0 00-1 1v6.708A2.492 2.492 0 013.5 9h3.25a.75.75 0 010 1.5H3.5a1 1 0 100 2h5.75a.75.75 0 010 1.5H3.5A2.5 2.5 0 011 11.5v-9zm13.23 7.79a.75.75 0 001.06-1.06l-2.505-2.505a.75.75 0 00-1.06 0L9.22 9.229a.75.75 0 001.06 1.061l1.225-1.224v6.184a.75.75 0 001.5 0V9.066l1.224 1.224z"></path></svg>All-time contributions</td><td>{{ contributions }}</td></tr>
|
||
|
|
||
|
<tr style="animation-delay: 450ms"><td><svg class="octicon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M8.75 1.75a.75.75 0 00-1.5 0V5H4a.75.75 0 000 1.5h3.25v3.25a.75.75 0 001.5 0V6.5H12A.75.75 0 0012 5H8.75V1.75zM4 13a.75.75 0 000 1.5h8a.75.75 0 100-1.5H4z"></path></svg>Lines of code changed</td><td>{{ lines_changed }}</td></tr>
|
||
|
|
||
|
<tr style="animation-delay: 600ms"><td><svg class="octicon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M1.679 7.932c.412-.621 1.242-1.75 2.366-2.717C5.175 4.242 6.527 3.5 8 3.5c1.473 0 2.824.742 3.955 1.715 1.124.967 1.954 2.096 2.366 2.717a.119.119 0 010 .136c-.412.621-1.242 1.75-2.366 2.717C10.825 11.758 9.473 12.5 8 12.5c-1.473 0-2.824-.742-3.955-1.715C2.92 9.818 2.09 8.69 1.679 8.068a.119.119 0 010-.136zM8 2c-1.981 0-3.67.992-4.933 2.078C1.797 5.169.88 6.423.43 7.1a1.619 1.619 0 000 1.798c.45.678 1.367 1.932 2.637 3.024C4.329 13.008 6.019 14 8 14c1.981 0 3.67-.992 4.933-2.078 1.27-1.091 2.187-2.345 2.637-3.023a1.619 1.619 0 000-1.798c-.45-.678-1.367-1.932-2.637-3.023C11.671 2.992 9.981 2 8 2zm0 8a2 2 0 100-4 2 2 0 000 4z"></path></svg>Repository views (past two weeks)</td><td>{{ views }}</td></tr>
|
||
|
|
||
|
<tr style="animation-delay: 750ms"><td><svg class="octicon" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M2 2.5A2.5 2.5 0 014.5 0h8.75a.75.75 0 01.75.75v12.5a.75.75 0 01-.75.75h-2.5a.75.75 0 110-1.5h1.75v-2h-8a1 1 0 00-.714 1.7.75.75 0 01-1.072 1.05A2.495 2.495 0 012 11.5v-9zm10.5-1V9h-8c-.356 0-.694.074-1 .208V2.5a1 1 0 011-1h8zM5 12.25v3.25a.25.25 0 00.4.2l1.45-1.087a.25.25 0 01.3 0L8.6 15.7a.25.25 0 00.4-.2v-3.25a.25.25 0 00-.25-.25h-3.5a.25.25 0 00-.25.25z"></path></svg>Repositories with contributions</td><td>{{ repos }}</td></tr>
|
||
|
|
||
|
</tbody>
|
||
|
</table>
|
||
|
|
||
|
</div>
|
||
|
</foreignObject>
|
||
|
</g>
|
||
|
</g>
|
||
|
</svg>
|