mirror of
https://github.com/Stone-Red-Code/Stone-Red-Code.git
synced 2026-09-04 00:56:21 +02:00
Update README cards
This commit is contained in:
@@ -0,0 +1,139 @@
|
|||||||
|
|
||||||
|
<svg
|
||||||
|
width="400"
|
||||||
|
height="120"
|
||||||
|
viewBox="0 0 400 120"
|
||||||
|
fill="none"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
role="img"
|
||||||
|
aria-labelledby="descId"
|
||||||
|
>
|
||||||
|
<title id="titleId"></title>
|
||||||
|
<desc id="descId"></desc>
|
||||||
|
<style>
|
||||||
|
.header {
|
||||||
|
font: 600 18px 'Segoe UI', Ubuntu, Sans-Serif;
|
||||||
|
fill: #2f80ed;
|
||||||
|
animation: fadeInAnimation 0.8s ease-in-out forwards;
|
||||||
|
}
|
||||||
|
@supports(-moz-appearance: auto) {
|
||||||
|
/* Selector detects Firefox */
|
||||||
|
.header { font-size: 15.5px; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.description { font: 400 13px 'Segoe UI', Ubuntu, Sans-Serif; fill: #434d58 }
|
||||||
|
.gray { font: 400 12px 'Segoe UI', Ubuntu, Sans-Serif; fill: #434d58 }
|
||||||
|
.icon { fill: #586069 }
|
||||||
|
.badge { font: 600 11px 'Segoe UI', Ubuntu, Sans-Serif; }
|
||||||
|
.badge rect { opacity: 0.2 }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Animations */
|
||||||
|
@keyframes scaleInAnimation {
|
||||||
|
from {
|
||||||
|
transform: translate(-5px, 5px) scale(0);
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
transform: translate(-5px, 5px) scale(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@keyframes fadeInAnimation {
|
||||||
|
from {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
* { animation-duration: 0s !important; animation-delay: 0s !important; }
|
||||||
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<rect
|
||||||
|
data-testid="card-bg"
|
||||||
|
x="0.5"
|
||||||
|
y="0.5"
|
||||||
|
rx="4.5"
|
||||||
|
height="99%"
|
||||||
|
stroke="#e4e2e2"
|
||||||
|
width="399"
|
||||||
|
fill="#fffefe"
|
||||||
|
stroke-opacity="1"
|
||||||
|
/>
|
||||||
|
|
||||||
|
|
||||||
|
<g
|
||||||
|
data-testid="card-title"
|
||||||
|
transform="translate(25, 35)"
|
||||||
|
>
|
||||||
|
<g transform="translate(0, 0)">
|
||||||
|
<svg
|
||||||
|
class="icon"
|
||||||
|
x="0"
|
||||||
|
y="-13"
|
||||||
|
viewBox="0 0 16 16"
|
||||||
|
version="1.1"
|
||||||
|
width="16"
|
||||||
|
height="16"
|
||||||
|
>
|
||||||
|
<path fill-rule="evenodd" d="M2 2.5A2.5 2.5 0 014.5 0h8.75a.75.75 0 01.75.75v12.5a.75.75 0 01-.75.75h-2.5a.75.75 0 110-1.5h1.75v-2h-8a1 1 0 00-.714 1.7.75.75 0 01-1.072 1.05A2.495 2.495 0 012 11.5v-9zm10.5-1V9h-8c-.356 0-.694.074-1 .208V2.5a1 1 0 011-1h8zM5 12.25v3.25a.25.25 0 00.4.2l1.45-1.087a.25.25 0 01.3 0L8.6 15.7a.25.25 0 00.4-.2v-3.25a.25.25 0 00-.25-.25h-3.5a.25.25 0 00-.25.25z"/>
|
||||||
|
</svg>
|
||||||
|
</g><g transform="translate(25, 0)">
|
||||||
|
<text
|
||||||
|
x="0"
|
||||||
|
y="0"
|
||||||
|
class="header"
|
||||||
|
data-testid="header"
|
||||||
|
>github-readme-stats</text>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
|
||||||
|
|
||||||
|
<g
|
||||||
|
data-testid="main-card-body"
|
||||||
|
transform="translate(0, 55)"
|
||||||
|
>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<text class="description" x="25" y="-5">
|
||||||
|
<tspan dy="1.2em" x="25">⚡ Dynamically generated stats for your github readmes</tspan>
|
||||||
|
</text>
|
||||||
|
|
||||||
|
<g transform="translate(30, 45)">
|
||||||
|
<g transform="translate(0, 0)">
|
||||||
|
<g data-testid="primary-lang">
|
||||||
|
<circle data-testid="lang-color" cx="0" cy="-5" r="6" fill="#f1e05a" />
|
||||||
|
<text data-testid="lang-name" class="gray" x="15">JavaScript</text>
|
||||||
|
</g>
|
||||||
|
</g><g transform="translate(80.93125, 0)"><g transform="translate(0, 0)">
|
||||||
|
<svg
|
||||||
|
class="icon"
|
||||||
|
y="-12"
|
||||||
|
viewBox="0 0 16 16"
|
||||||
|
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"/>
|
||||||
|
</svg>
|
||||||
|
</g><g transform="translate(20, 0)"><text data-testid="stargazers" class="gray">21</text></g></g><g transform="translate(135.24375, 0)"><g transform="translate(0, 0)">
|
||||||
|
<svg
|
||||||
|
class="icon"
|
||||||
|
y="-12"
|
||||||
|
viewBox="0 0 16 16"
|
||||||
|
version="1.1"
|
||||||
|
width="16"
|
||||||
|
height="16"
|
||||||
|
>
|
||||||
|
<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>
|
||||||
|
</g><g transform="translate(20, 0)"><text data-testid="forkcount" class="gray">4</text></g></g>
|
||||||
|
</g>
|
||||||
|
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
|
||||||
|
After Width: | Height: | Size: 4.6 KiB |
+3
-3
@@ -9,7 +9,7 @@
|
|||||||
aria-labelledby="descId"
|
aria-labelledby="descId"
|
||||||
>
|
>
|
||||||
<title id="titleId">Stone_Red's GitHub Stats, Rank: B+</title>
|
<title id="titleId">Stone_Red's GitHub Stats, Rank: B+</title>
|
||||||
<desc id="descId">Total Stars Earned: 92, Total Commits (last year) : 280, Total PRs: 100, Total Issues: 19, Contributed to (last year): 2</desc>
|
<desc id="descId">Total Stars Earned: 92, Total Commits (last year) : 281, Total PRs: 100, Total Issues: 19, Contributed to (last year): 2</desc>
|
||||||
<style>
|
<style>
|
||||||
.header {
|
.header {
|
||||||
font: 600 18px 'Segoe UI', Ubuntu, Sans-Serif;
|
font: 600 18px 'Segoe UI', Ubuntu, Sans-Serif;
|
||||||
@@ -73,7 +73,7 @@
|
|||||||
stroke-dashoffset: 251.32741228718345;
|
stroke-dashoffset: 251.32741228718345;
|
||||||
}
|
}
|
||||||
to {
|
to {
|
||||||
stroke-dashoffset: 96.11194674087032;
|
stroke-dashoffset: 96.05858640609186;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -177,7 +177,7 @@
|
|||||||
x="219.01"
|
x="219.01"
|
||||||
y="12.5"
|
y="12.5"
|
||||||
data-testid="commits"
|
data-testid="commits"
|
||||||
>280</text>
|
>281</text>
|
||||||
</g>
|
</g>
|
||||||
</g><g transform="translate(0, 50)">
|
</g><g transform="translate(0, 50)">
|
||||||
<g class="stagger" style="animation-delay: 750ms" transform="translate(25, 0)">
|
<g class="stagger" style="animation-delay: 750ms" transform="translate(25, 0)">
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 7.6 KiB |
@@ -0,0 +1,239 @@
|
|||||||
|
|
||||||
|
<svg
|
||||||
|
width="300"
|
||||||
|
height="165"
|
||||||
|
viewBox="0 0 300 165"
|
||||||
|
fill="none"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
role="img"
|
||||||
|
aria-labelledby="descId"
|
||||||
|
>
|
||||||
|
<title id="titleId"></title>
|
||||||
|
<desc id="descId"></desc>
|
||||||
|
<style>
|
||||||
|
.header {
|
||||||
|
font: 600 18px 'Segoe UI', Ubuntu, Sans-Serif;
|
||||||
|
fill: #2f80ed;
|
||||||
|
animation: fadeInAnimation 0.8s ease-in-out forwards;
|
||||||
|
}
|
||||||
|
@supports(-moz-appearance: auto) {
|
||||||
|
/* Selector detects Firefox */
|
||||||
|
.header { font-size: 15.5px; }
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes slideInAnimation {
|
||||||
|
from {
|
||||||
|
width: 0;
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
width: calc(100%-100px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@keyframes growWidthAnimation {
|
||||||
|
from {
|
||||||
|
width: 0;
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.stat {
|
||||||
|
font: 600 14px 'Segoe UI', Ubuntu, "Helvetica Neue", Sans-Serif; fill: #434d58;
|
||||||
|
}
|
||||||
|
@supports(-moz-appearance: auto) {
|
||||||
|
/* Selector detects Firefox */
|
||||||
|
.stat { font-size:12px; }
|
||||||
|
}
|
||||||
|
.bold { font-weight: 700 }
|
||||||
|
.lang-name {
|
||||||
|
font: 400 11px "Segoe UI", Ubuntu, Sans-Serif;
|
||||||
|
fill: #434d58;
|
||||||
|
}
|
||||||
|
.stagger {
|
||||||
|
opacity: 0;
|
||||||
|
animation: fadeInAnimation 0.3s ease-in-out forwards;
|
||||||
|
}
|
||||||
|
#rect-mask rect{
|
||||||
|
animation: slideInAnimation 1s ease-in-out forwards;
|
||||||
|
}
|
||||||
|
.lang-progress{
|
||||||
|
animation: growWidthAnimation 0.6s ease-in-out forwards;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Animations */
|
||||||
|
@keyframes scaleInAnimation {
|
||||||
|
from {
|
||||||
|
transform: translate(-5px, 5px) scale(0);
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
transform: translate(-5px, 5px) scale(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@keyframes fadeInAnimation {
|
||||||
|
from {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<rect
|
||||||
|
data-testid="card-bg"
|
||||||
|
x="0.5"
|
||||||
|
y="0.5"
|
||||||
|
rx="4.5"
|
||||||
|
height="99%"
|
||||||
|
stroke="#e4e2e2"
|
||||||
|
width="299"
|
||||||
|
fill="#fffefe"
|
||||||
|
stroke-opacity="1"
|
||||||
|
/>
|
||||||
|
|
||||||
|
|
||||||
|
<g
|
||||||
|
data-testid="card-title"
|
||||||
|
transform="translate(25, 35)"
|
||||||
|
>
|
||||||
|
<g transform="translate(0, 0)">
|
||||||
|
<text
|
||||||
|
x="0"
|
||||||
|
y="0"
|
||||||
|
class="header"
|
||||||
|
data-testid="header"
|
||||||
|
>Most Used Languages</text>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
|
||||||
|
|
||||||
|
<g
|
||||||
|
data-testid="main-card-body"
|
||||||
|
transform="translate(0, 55)"
|
||||||
|
>
|
||||||
|
|
||||||
|
<svg data-testid="lang-items" x="25">
|
||||||
|
|
||||||
|
|
||||||
|
<mask id="rect-mask">
|
||||||
|
<rect x="0" y="0" width="250" height="8" fill="white" rx="5"/>
|
||||||
|
</mask>
|
||||||
|
|
||||||
|
<rect
|
||||||
|
mask="url(#rect-mask)"
|
||||||
|
data-testid="lang-progress"
|
||||||
|
x="0"
|
||||||
|
y="0"
|
||||||
|
width="201.47"
|
||||||
|
height="8"
|
||||||
|
fill="#178600"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<rect
|
||||||
|
mask="url(#rect-mask)"
|
||||||
|
data-testid="lang-progress"
|
||||||
|
x="201.47"
|
||||||
|
y="0"
|
||||||
|
width="20.2"
|
||||||
|
height="8"
|
||||||
|
fill="#e34c26"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<rect
|
||||||
|
mask="url(#rect-mask)"
|
||||||
|
data-testid="lang-progress"
|
||||||
|
x="221.67"
|
||||||
|
y="0"
|
||||||
|
width="17.64"
|
||||||
|
height="8"
|
||||||
|
fill="#f1e05a"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<rect
|
||||||
|
mask="url(#rect-mask)"
|
||||||
|
data-testid="lang-progress"
|
||||||
|
x="239.31"
|
||||||
|
y="0"
|
||||||
|
width="14.73"
|
||||||
|
height="8"
|
||||||
|
fill="#663399"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<rect
|
||||||
|
mask="url(#rect-mask)"
|
||||||
|
data-testid="lang-progress"
|
||||||
|
x="244.04"
|
||||||
|
y="0"
|
||||||
|
width="14.469999999999999"
|
||||||
|
height="8"
|
||||||
|
fill="#355570"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<rect
|
||||||
|
mask="url(#rect-mask)"
|
||||||
|
data-testid="lang-progress"
|
||||||
|
x="248.51"
|
||||||
|
y="0"
|
||||||
|
width="11.48"
|
||||||
|
height="8"
|
||||||
|
fill="#5686a5"
|
||||||
|
/>
|
||||||
|
|
||||||
|
|
||||||
|
<g transform="translate(0, 25)">
|
||||||
|
<g transform="translate(0, 0)"><g transform="translate(0, 0)">
|
||||||
|
<g class="stagger" style="animation-delay: 450ms">
|
||||||
|
<circle cx="5" cy="6" r="5" fill="#178600" />
|
||||||
|
<text data-testid="lang-name" x="15" y="10" class='lang-name'>
|
||||||
|
C# 80.59%
|
||||||
|
</text>
|
||||||
|
</g>
|
||||||
|
</g><g transform="translate(0, 25)">
|
||||||
|
<g class="stagger" style="animation-delay: 600ms">
|
||||||
|
<circle cx="5" cy="6" r="5" fill="#e34c26" />
|
||||||
|
<text data-testid="lang-name" x="15" y="10" class='lang-name'>
|
||||||
|
HTML 8.08%
|
||||||
|
</text>
|
||||||
|
</g>
|
||||||
|
</g><g transform="translate(0, 50)">
|
||||||
|
<g class="stagger" style="animation-delay: 750ms">
|
||||||
|
<circle cx="5" cy="6" r="5" fill="#f1e05a" />
|
||||||
|
<text data-testid="lang-name" x="15" y="10" class='lang-name'>
|
||||||
|
JavaScript 7.06%
|
||||||
|
</text>
|
||||||
|
</g>
|
||||||
|
</g></g><g transform="translate(150, 0)"><g transform="translate(0, 0)">
|
||||||
|
<g class="stagger" style="animation-delay: 450ms">
|
||||||
|
<circle cx="5" cy="6" r="5" fill="#663399" />
|
||||||
|
<text data-testid="lang-name" x="15" y="10" class='lang-name'>
|
||||||
|
CSS 1.89%
|
||||||
|
</text>
|
||||||
|
</g>
|
||||||
|
</g><g transform="translate(0, 25)">
|
||||||
|
<g class="stagger" style="animation-delay: 600ms">
|
||||||
|
<circle cx="5" cy="6" r="5" fill="#355570" />
|
||||||
|
<text data-testid="lang-name" x="15" y="10" class='lang-name'>
|
||||||
|
GDScript 1.79%
|
||||||
|
</text>
|
||||||
|
</g>
|
||||||
|
</g><g transform="translate(0, 50)">
|
||||||
|
<g class="stagger" style="animation-delay: 750ms">
|
||||||
|
<circle cx="5" cy="6" r="5" fill="#5686a5" />
|
||||||
|
<text data-testid="lang-name" x="15" y="10" class='lang-name'>
|
||||||
|
GLSL 0.59%
|
||||||
|
</text>
|
||||||
|
</g>
|
||||||
|
</g></g>
|
||||||
|
</g>
|
||||||
|
|
||||||
|
</svg>
|
||||||
|
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
|
||||||
|
After Width: | Height: | Size: 5.6 KiB |
Reference in New Issue
Block a user