languages.svg 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  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: 44.560%;" class="progress-item"></span><span style="background-color: #ff3e00;width: 18.390%;" class="progress-item"></span><span style="background-color: #000080;width: 11.390%;" class="progress-item"></span><span style="background-color: #3572A5;width: 7.080%;" class="progress-item"></span><span style="background-color: #3178c6;width: 5.740%;" class="progress-item"></span><span style="background-color: #e4cc98;width: 3.820%;" class="progress-item"></span><span style="background-color: #f1e05a;width: 3.520%;" class="progress-item"></span><span style="background-color: #563d7c;width: 3.400%;" class="progress-item"></span><span style="background-color: #c6538c;width: 1.050%;" class="progress-item"></span><span style="background-color: #89e051;width: 0.440%;" class="progress-item"></span><span style="background-color: #083fa1;width: 0.390%;" class="progress-item"></span><span style="background-color: #384d54;width: 0.070%;" class="progress-item"></span><span style="background-color: #ff3670;width: 0.060%;" class="progress-item"></span><span style="background-color: #a52a22;width: 0.060%;" class="progress-item"></span><span style="background-color: #701516;width: 0.020%;" 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">44.56%</span>
  124. </li>
  125. <li style="animation-delay: 150ms;">
  126. <svg xmlns="http://www.w3.org/2000/svg" class="octicon" style="fill:#ff3e00;"
  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">Svelte</span>
  130. <span class="percent">18.39%</span>
  131. </li>
  132. <li style="animation-delay: 300ms;">
  133. <svg xmlns="http://www.w3.org/2000/svg" class="octicon" style="fill:#000080;"
  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">Lua</span>
  137. <span class="percent">11.39%</span>
  138. </li>
  139. <li style="animation-delay: 450ms;">
  140. <svg xmlns="http://www.w3.org/2000/svg" class="octicon" style="fill:#3572A5;"
  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">Python</span>
  144. <span class="percent">7.08%</span>
  145. </li>
  146. <li style="animation-delay: 600ms;">
  147. <svg xmlns="http://www.w3.org/2000/svg" class="octicon" style="fill:#3178c6;"
  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">TypeScript</span>
  151. <span class="percent">5.74%</span>
  152. </li>
  153. <li style="animation-delay: 750ms;">
  154. <svg xmlns="http://www.w3.org/2000/svg" class="octicon" style="fill:#e4cc98;"
  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">Tcl</span>
  158. <span class="percent">3.82%</span>
  159. </li>
  160. <li style="animation-delay: 900ms;">
  161. <svg xmlns="http://www.w3.org/2000/svg" class="octicon" style="fill:#f1e05a;"
  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">JavaScript</span>
  165. <span class="percent">3.52%</span>
  166. </li>
  167. <li style="animation-delay: 1050ms;">
  168. <svg xmlns="http://www.w3.org/2000/svg" class="octicon" style="fill:#563d7c;"
  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">CSS</span>
  172. <span class="percent">3.40%</span>
  173. </li>
  174. <li style="animation-delay: 1200ms;">
  175. <svg xmlns="http://www.w3.org/2000/svg" class="octicon" style="fill:#c6538c;"
  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">SCSS</span>
  179. <span class="percent">1.05%</span>
  180. </li>
  181. <li style="animation-delay: 1350ms;">
  182. <svg xmlns="http://www.w3.org/2000/svg" class="octicon" style="fill:#89e051;"
  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">Shell</span>
  186. <span class="percent">0.44%</span>
  187. </li>
  188. <li style="animation-delay: 1500ms;">
  189. <svg xmlns="http://www.w3.org/2000/svg" class="octicon" style="fill:#083fa1;"
  190. viewBox="0 0 16 16" version="1.1" width="16" height="16"><path
  191. fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8z"></path></svg>
  192. <span class="lang">Markdown</span>
  193. <span class="percent">0.39%</span>
  194. </li>
  195. <li style="animation-delay: 1650ms;">
  196. <svg xmlns="http://www.w3.org/2000/svg" class="octicon" style="fill:#384d54;"
  197. viewBox="0 0 16 16" version="1.1" width="16" height="16"><path
  198. fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8z"></path></svg>
  199. <span class="lang">Dockerfile</span>
  200. <span class="percent">0.07%</span>
  201. </li>
  202. <li style="animation-delay: 1800ms;">
  203. <svg xmlns="http://www.w3.org/2000/svg" class="octicon" style="fill:#ff3670;"
  204. viewBox="0 0 16 16" version="1.1" width="16" height="16"><path
  205. fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8z"></path></svg>
  206. <span class="lang">Mermaid</span>
  207. <span class="percent">0.06%</span>
  208. </li>
  209. <li style="animation-delay: 1950ms;">
  210. <svg xmlns="http://www.w3.org/2000/svg" class="octicon" style="fill:#a52a22;"
  211. viewBox="0 0 16 16" version="1.1" width="16" height="16"><path
  212. fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8z"></path></svg>
  213. <span class="lang">Jinja</span>
  214. <span class="percent">0.06%</span>
  215. </li>
  216. <li style="animation-delay: 2100ms;">
  217. <svg xmlns="http://www.w3.org/2000/svg" class="octicon" style="fill:#701516;"
  218. viewBox="0 0 16 16" version="1.1" width="16" height="16"><path
  219. fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8z"></path></svg>
  220. <span class="lang">Ruby</span>
  221. <span class="percent">0.02%</span>
  222. </li>
  223. </ul>
  224. </div>
  225. </foreignObject>
  226. </g>
  227. </g>
  228. </svg>