languages.svg 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  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 - 24px);
  24. }
  25. h2 {
  26. margin-top: 0;
  27. margin-bottom: 0.75em;
  28. line-height: 24px;
  29. font-size: 16px;
  30. font-weight: 600;
  31. color: rgb(36, 41, 46);
  32. fill: rgb(36, 41, 46);
  33. }
  34. #gh-dark-mode-only:target h2 {
  35. color: #c9d1d9;
  36. fill: #c9d1d9;
  37. }
  38. ul {
  39. list-style: none;
  40. padding-left: 0;
  41. margin-top: 0;
  42. margin-bottom: 0;
  43. }
  44. li {
  45. display: inline-flex;
  46. font-size: 12px;
  47. margin-right: 2ch;
  48. align-items: center;
  49. flex-wrap: nowrap;
  50. transform: translateX(-500%);
  51. animation: slideIn 2s ease-in-out forwards;
  52. }
  53. @keyframes slideIn {
  54. to {
  55. transform: translateX(0);
  56. }
  57. }
  58. div.ellipsis {
  59. height: 100%;
  60. overflow: hidden;
  61. text-overflow: ellipsis;
  62. }
  63. .octicon {
  64. fill: rgb(88, 96, 105);
  65. margin-right: 0.5ch;
  66. vertical-align: top;
  67. }
  68. #gh-dark-mode-only:target .octicon {
  69. color: #8b949e;
  70. fill: #8b949e;
  71. }
  72. .progress {
  73. display: flex;
  74. height: 8px;
  75. overflow: hidden;
  76. background-color: rgb(225, 228, 232);
  77. border-radius: 6px;
  78. outline: 1px solid transparent;
  79. margin-bottom: 1em;
  80. }
  81. #gh-dark-mode-only:target .progress {
  82. background-color: rgba(110, 118, 129, 0.4);
  83. }
  84. .progress-item {
  85. outline: 2px solid rgb(225, 228, 232);
  86. border-collapse: collapse;
  87. }
  88. #gh-dark-mode-only:target .progress-item {
  89. outline: 2px solid #393f47;
  90. }
  91. .lang {
  92. font-weight: 600;
  93. margin-right: 4px;
  94. color: rgb(36, 41, 46);
  95. }
  96. #gh-dark-mode-only:target .lang {
  97. color: #c9d1d9;
  98. }
  99. .percent {
  100. color: rgb(88, 96, 105)
  101. }
  102. #gh-dark-mode-only:target .percent {
  103. color: #8b949e;
  104. }
  105. </style>
  106. <g>
  107. <rect x="5" y="5" id="background" />
  108. <g>
  109. <foreignObject x="21" y="17" width="318" height="176">
  110. <div xmlns="http://www.w3.org/1999/xhtml" class="ellipsis">
  111. <h2>Languages Used (By File Size)</h2>
  112. <div>
  113. <span class="progress">
  114. <span style="background-color: #e34c26;width: 58.530%;" class="progress-item"></span><span style="background-color: #000080;width: 15.360%;" class="progress-item"></span><span style="background-color: #3572A5;width: 9.100%;" class="progress-item"></span><span style="background-color: #e4cc98;width: 5.160%;" class="progress-item"></span><span style="background-color: #563d7c;width: 4.590%;" class="progress-item"></span><span style="background-color: #f1e05a;width: 4.520%;" class="progress-item"></span><span style="background-color: #89e051;width: 2.080%;" class="progress-item"></span><span style="background-color: #083fa1;width: 0.480%;" class="progress-item"></span><span style="background-color: #384d54;width: 0.090%;" class="progress-item"></span><span style="background-color: #a52a22;width: 0.080%;" class="progress-item"></span>
  115. </span>
  116. </div>
  117. <ul>
  118. <li style="animation-delay: 0ms;">
  119. <svg xmlns="http://www.w3.org/2000/svg" class="octicon" style="fill:#e34c26;"
  120. viewBox="0 0 16 16" version="1.1" width="16" height="16"><path
  121. fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8z"></path></svg>
  122. <span class="lang">HTML</span>
  123. <span class="percent">58.53%</span>
  124. </li>
  125. <li style="animation-delay: 150ms;">
  126. <svg xmlns="http://www.w3.org/2000/svg" class="octicon" style="fill:#000080;"
  127. viewBox="0 0 16 16" version="1.1" width="16" height="16"><path
  128. fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8z"></path></svg>
  129. <span class="lang">Lua</span>
  130. <span class="percent">15.36%</span>
  131. </li>
  132. <li style="animation-delay: 300ms;">
  133. <svg xmlns="http://www.w3.org/2000/svg" class="octicon" style="fill:#3572A5;"
  134. viewBox="0 0 16 16" version="1.1" width="16" height="16"><path
  135. fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8z"></path></svg>
  136. <span class="lang">Python</span>
  137. <span class="percent">9.10%</span>
  138. </li>
  139. <li style="animation-delay: 450ms;">
  140. <svg xmlns="http://www.w3.org/2000/svg" class="octicon" style="fill:#e4cc98;"
  141. viewBox="0 0 16 16" version="1.1" width="16" height="16"><path
  142. fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8z"></path></svg>
  143. <span class="lang">Tcl</span>
  144. <span class="percent">5.16%</span>
  145. </li>
  146. <li style="animation-delay: 600ms;">
  147. <svg xmlns="http://www.w3.org/2000/svg" class="octicon" style="fill:#563d7c;"
  148. viewBox="0 0 16 16" version="1.1" width="16" height="16"><path
  149. fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8z"></path></svg>
  150. <span class="lang">CSS</span>
  151. <span class="percent">4.59%</span>
  152. </li>
  153. <li style="animation-delay: 750ms;">
  154. <svg xmlns="http://www.w3.org/2000/svg" class="octicon" style="fill:#f1e05a;"
  155. viewBox="0 0 16 16" version="1.1" width="16" height="16"><path
  156. fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8z"></path></svg>
  157. <span class="lang">JavaScript</span>
  158. <span class="percent">4.52%</span>
  159. </li>
  160. <li style="animation-delay: 900ms;">
  161. <svg xmlns="http://www.w3.org/2000/svg" class="octicon" style="fill:#89e051;"
  162. viewBox="0 0 16 16" version="1.1" width="16" height="16"><path
  163. fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8z"></path></svg>
  164. <span class="lang">Shell</span>
  165. <span class="percent">2.08%</span>
  166. </li>
  167. <li style="animation-delay: 1050ms;">
  168. <svg xmlns="http://www.w3.org/2000/svg" class="octicon" style="fill:#083fa1;"
  169. viewBox="0 0 16 16" version="1.1" width="16" height="16"><path
  170. fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8z"></path></svg>
  171. <span class="lang">Markdown</span>
  172. <span class="percent">0.48%</span>
  173. </li>
  174. <li style="animation-delay: 1200ms;">
  175. <svg xmlns="http://www.w3.org/2000/svg" class="octicon" style="fill:#384d54;"
  176. viewBox="0 0 16 16" version="1.1" width="16" height="16"><path
  177. fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8z"></path></svg>
  178. <span class="lang">Dockerfile</span>
  179. <span class="percent">0.09%</span>
  180. </li>
  181. <li style="animation-delay: 1350ms;">
  182. <svg xmlns="http://www.w3.org/2000/svg" class="octicon" style="fill:#a52a22;"
  183. viewBox="0 0 16 16" version="1.1" width="16" height="16"><path
  184. fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8z"></path></svg>
  185. <span class="lang">Jinja</span>
  186. <span class="percent">0.08%</span>
  187. </li>
  188. </ul>
  189. </div>
  190. </foreignObject>
  191. </g>
  192. </g>
  193. </svg>