49 lines
1.9 KiB
XML
49 lines
1.9 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128">
|
|
<defs>
|
|
<linearGradient id="bgGrad" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
<stop offset="0%" style="stop-color:#4F46E5"/>
|
|
<stop offset="100%" style="stop-color:#7C3AED"/>
|
|
</linearGradient>
|
|
<linearGradient id="phpGrad" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
<stop offset="0%" style="stop-color:#8B9CF4"/>
|
|
<stop offset="100%" style="stop-color:#A78BFA"/>
|
|
</linearGradient>
|
|
</defs>
|
|
|
|
<!-- 紫色渐变背景圆角矩形 -->
|
|
<rect x="4" y="4" width="120" height="120" rx="20" ry="20" fill="url(#bgGrad)"/>
|
|
|
|
<!-- PHP 大象 -->
|
|
<g transform="translate(18, 18) scale(0.72)">
|
|
<!-- 大象身体 -->
|
|
<ellipse cx="65" cy="58" rx="42" ry="32" fill="url(#phpGrad)"/>
|
|
|
|
<!-- 大象头部 -->
|
|
<circle cx="32" cy="45" r="24" fill="url(#phpGrad)"/>
|
|
|
|
<!-- 大象鼻子 -->
|
|
<path d="M14 52 Q6 68 12 82 Q16 90 22 86 Q26 82 24 72 Q22 62 20 52"
|
|
fill="url(#phpGrad)" stroke="#6366F1" stroke-width="1"/>
|
|
|
|
<!-- 大象耳朵 -->
|
|
<ellipse cx="46" cy="28" rx="14" ry="18" fill="#A78BFA"/>
|
|
|
|
<!-- 眼睛 -->
|
|
<circle cx="27" cy="40" r="4" fill="#1E1B4B"/>
|
|
<circle cx="28" cy="39" r="1.5" fill="#fff"/>
|
|
|
|
<!-- 大象腿 -->
|
|
<rect x="38" y="78" width="11" height="22" rx="5" fill="url(#phpGrad)"/>
|
|
<rect x="55" y="78" width="11" height="22" rx="5" fill="url(#phpGrad)"/>
|
|
<rect x="72" y="78" width="11" height="20" rx="5" fill="url(#phpGrad)"/>
|
|
<rect x="88" y="78" width="11" height="18" rx="5" fill="url(#phpGrad)"/>
|
|
|
|
<!-- 尾巴 -->
|
|
<path d="M105 52 Q116 48 114 62 Q112 70 108 66"
|
|
fill="none" stroke="url(#phpGrad)" stroke-width="5" stroke-linecap="round"/>
|
|
</g>
|
|
|
|
<!-- PHP 文字 -->
|
|
<text x="64" y="116" text-anchor="middle" font-family="Arial, sans-serif" font-weight="bold" font-size="18" fill="#fff" opacity="0.95">PHP</text>
|
|
</svg>
|