overview.svg 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <svg id="gh-dark-mode-only" width="360" height="210" xmlns="http://www.w3.org/2000/svg">
  2. <style>
  3. svg {
  4. font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
  5. font-size: 14px;
  6. line-height: 21px;
  7. }
  8. #background {
  9. width: calc(100% - 10px);
  10. height: calc(100% - 10px);
  11. fill: white;
  12. stroke: rgb(225, 228, 232);
  13. stroke-width: 1px;
  14. rx: 6px;
  15. ry: 6px;
  16. }
  17. #gh-dark-mode-only:target #background {
  18. fill: #0d1117;
  19. stroke-width: 0.5px;
  20. }
  21. foreignObject {
  22. width: calc(100% - 10px - 32px);
  23. height: calc(100% - 10px - 32px);
  24. }
  25. table {
  26. width: 100%;
  27. border-collapse: collapse;
  28. table-layout: auto;
  29. }
  30. th {
  31. padding: 0.5em;
  32. padding-top: 0;
  33. text-align: left;
  34. font-size: 14px;
  35. font-weight: 600;
  36. color: rgb(3, 102, 214);
  37. }
  38. #gh-dark-mode-only:target th {
  39. color: #58a6ff;
  40. }
  41. td {
  42. margin-bottom: 16px;
  43. margin-top: 8px;
  44. padding: 0.25em;
  45. font-size: 12px;
  46. line-height: 18px;
  47. color: rgb(88, 96, 105);
  48. }
  49. #gh-dark-mode-only:target td {
  50. color: #c9d1d9;
  51. }
  52. tr {
  53. transform: translateX(-200%);
  54. animation: slideIn 2s ease-in-out forwards;
  55. }
  56. .octicon {
  57. fill: rgb(88, 96, 105);
  58. margin-right: 1ch;
  59. vertical-align: top;
  60. }
  61. #gh-dark-mode-only:target .octicon {
  62. fill: #8b949e;
  63. }
  64. @keyframes slideIn {
  65. to {
  66. transform: translateX(0);
  67. }
  68. }
  69. </style>
  70. <g>
  71. <rect x="5" y="5" id="background" />
  72. <g>
  73. <foreignObject x="21" y="21" width="318" height="150">
  74. <div xmlns="http://www.w3.org/1999/xhtml">
  75. <table>
  76. <thead><tr style="transform: translateX(0);">
  77. <th colspan="2">Tuxilio's Statistics</th>
  78. </tr></thead>
  79. <tbody>
  80. <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>16</td></tr>
  81. <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>3</td></tr>
  82. <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>472</td></tr>
  83. <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>80,555</td></tr>
  84. </tbody>
  85. </table>
  86. </div>
  87. </foreignObject>
  88. </g>
  89. </g>
  90. </svg>