Mayx's Home Page https://mabbs.github.io
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

139 lines
3.7 KiB

  1. ---
  2. ---
  3. <svg
  4. width="495"
  5. height="195"
  6. viewBox="0 0 495 195"
  7. fill="none"
  8. xmlns="http://www.w3.org/2000/svg"
  9. >
  10. <style>
  11. .header {
  12. font: 600 18px 'Segoe UI', Ubuntu, Sans-Serif;
  13. fill: #fff;
  14. animation: fadeInAnimation 0.8s ease-in-out forwards;
  15. }
  16. .stat {
  17. font: 600 14px 'Segoe UI', Ubuntu, "Helvetica Neue", Sans-Serif; fill: #9f9f9f;
  18. }
  19. .stagger {
  20. opacity: 0;
  21. animation: fadeInAnimation 0.3s ease-in-out forwards;
  22. }
  23. .rank-text {
  24. font: 800 100px 'Segoe UI', Ubuntu, Sans-Serif; fill: #66ccff;
  25. animation: scaleInAnimation 0.3s ease-in-out forwards;
  26. }
  27. .bold { font-weight: 700 }
  28. .icon {
  29. fill: #79ff97;
  30. display: block;
  31. }
  32. /* Animations */
  33. @keyframes scaleInAnimation {
  34. from {
  35. transform: translate(-5px, 5px) scale(0);
  36. }
  37. to {
  38. transform: translate(-5px, 5px) scale(1);
  39. }
  40. }
  41. @keyframes fadeInAnimation {
  42. from {
  43. opacity: 0;
  44. }
  45. to {
  46. opacity: 1;
  47. }
  48. }
  49. </style>
  50. <rect
  51. data-testid="card-bg"
  52. x="0.5"
  53. y="0.5"
  54. rx="4.5"
  55. height="99%"
  56. stroke="#e4e2e2"
  57. width="494"
  58. fill="#151515"
  59. stroke-opacity="1"
  60. />
  61. <g
  62. data-testid="card-title"
  63. transform="translate(25, 35)"
  64. >
  65. <g transform="translate(0, 0)">
  66. <text
  67. x="0"
  68. y="0"
  69. class="header"
  70. data-testid="header"
  71. >Mayx's Blog Article</text>
  72. </g>
  73. </g>
  74. <g
  75. data-testid="main-card-body"
  76. transform="translate(0, 55)"
  77. >
  78. <g transform="translate(370, 47.5)">
  79. <g class="rank-text">
  80. <text
  81. x="0"
  82. y="0"
  83. alignment-baseline="central"
  84. dominant-baseline="central"
  85. text-anchor="middle"
  86. >
  87. M
  88. </text>
  89. </g>
  90. </g>
  91. <svg x="0" y="0">
  92. <g transform="translate(0, 0)">
  93. <g class="stagger" style="animation-delay: 450ms" transform="translate(25, 0)">
  94. <line x1="12" y1="6.25" x2="19" y2="6.25"
  95. style="stroke:rgb(255,255,255);stroke-width:2"/>
  96. <text class="stat bold" x="25" y="12.5">{{ site.posts[0].title | truncate: 18 }}</text>
  97. </g>
  98. </g><g transform="translate(0, 25)">
  99. <g class="stagger" style="animation-delay: 600ms" transform="translate(25, 0)">
  100. <line x1="12" y1="6.25" x2="19" y2="6.25"
  101. style="stroke:rgb(255,255,255);stroke-width:2"/>
  102. <text class="stat bold" x="25" y="12.5">{{ site.posts[1].title | truncate: 18 }}</text>
  103. </g>
  104. </g><g transform="translate(0, 50)">
  105. <g class="stagger" style="animation-delay: 750ms" transform="translate(25, 0)">
  106. <line x1="12" y1="6.25" x2="19" y2="6.25"
  107. style="stroke:rgb(255,255,255);stroke-width:2"/>
  108. <text class="stat bold" x="25" y="12.5">{{ site.posts[2].title | truncate: 18 }}</text>
  109. </g>
  110. </g><g transform="translate(0, 75)">
  111. <g class="stagger" style="animation-delay: 900ms" transform="translate(25, 0)">
  112. <line x1="12" y1="6.25" x2="19" y2="6.25"
  113. style="stroke:rgb(255,255,255);stroke-width:2"/>
  114. <text class="stat bold" x="25" y="12.5">{{ site.posts[3].title | truncate: 18 }}</text>
  115. </g>
  116. </g><g transform="translate(0, 100)">
  117. <g class="stagger" style="animation-delay: 1050ms" transform="translate(25, 0)">
  118. <line x1="12" y1="6.25" x2="19" y2="6.25"
  119. style="stroke:rgb(255,255,255);stroke-width:2"/>
  120. <text class="stat bold" x="25" y="12.5">{{ site.posts[4].title | truncate: 18 }}</text>
  121. </g>
  122. </g>
  123. </svg>
  124. </g>
  125. </svg>

Powered by TurnKey Linux.