1
0

banner.svg 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="1200">
  2. <defs>
  3. <linearGradient id="a">
  4. <stop offset="0" stop-color="#97d6d2"/>
  5. <stop offset="1" stop-color="#4d9182"/>
  6. </linearGradient>
  7. <linearGradient xlink:href="#a" id="b" x1="10%" y1="10%" x2="90%" y2="90%"/>
  8. <linearGradient xlink:href="#a" id="c" x1="90%" y1="90%" x2="10%" y2="10%"/>
  9. <style type="text/css">
  10. <![CDATA[
  11. @font-face {
  12. font-family: 'Sometype Mono';
  13. src: url('./SometypeMono-Regular.ttf');
  14. }
  15. @font-face {
  16. font-family: 'Sometype Mono';
  17. src: url('./SometypeMono-Bold.ttf');
  18. font-weight: bold;
  19. }
  20. ]]>
  21. </style>
  22. </defs>
  23. <rect width="100%" height="100%" x="0" y="0" fill="#203050"/>
  24. <!-- start of logo.svg -->
  25. <g transform="translate(600,-70)"><!-- 2000/2 - 460/2 - 170 = 1000 - 230 - 170 = 1000 - 400 = 600 -->
  26. <rect width="460" height="460" x="170" y="170" rx="50" ry="50" fill="url(#b)"/>
  27. <rect width="380" height="380" x="210" y="210" rx="40" ry="40" fill="url(#c)"/>
  28. <text x="215" y="490" font-size="300" font-family="Sometype Mono, monospace" fill="#203050">
  29. $_
  30. </text>
  31. </g>
  32. <!-- end of logo.svg -->
  33. <g fill="#7ebfb7" font-family="Sometype Mono, monospace">
  34. <text x="1000" y="850" font-size="280" font-weight="bold" text-anchor="middle">
  35. tldr-pages
  36. </text>
  37. <text x="1000" y="1070" font-size="75" font-weight="500" text-anchor="middle" font-variant="small-caps">
  38. collaborative cheatsheets for console commands
  39. </text>
  40. </g>
  41. </svg>