Cleanup code

This commit is contained in:
2026-05-12 00:34:47 +02:00
parent 389517a774
commit 503ee9395a
92 changed files with 567 additions and 1012 deletions
+24 -54
View File
@@ -1,62 +1,32 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
<defs>
<radialGradient id="sp-glow" cx="50%" cy="50%" r="50%">
<stop offset="0%" stop-color="#4a9eff" stop-opacity="0.35"/>
<stop offset="100%" stop-color="#4a9eff" stop-opacity="0"/>
<stop offset="0%" stop-color="#ffe033" stop-opacity="0.45"/>
<stop offset="100%" stop-color="#ffe033" stop-opacity="0"/>
</radialGradient>
</defs>
<!-- Fond -->
<circle cx="50" cy="50" r="48" fill="#101622" stroke="#1a2436" stroke-width="2"/>
<circle cx="50" cy="50" r="48" fill="url(#sp-glow)"/>
<!-- Octogone extérieur (bagua) -->
<polygon points="50,18 68,24 79,40 79,60 68,76 50,82 32,76 21,60 21,40 32,24"
fill="none" stroke="#4a9eff" stroke-width="1.8" opacity="0.7"/>
<!-- 8 trigrammes sur les côtés (petites lignes stylisées) -->
<!-- Chaque trigramme = 3 lignes, positionnées sur les 8 côtés de l'octogone -->
<!-- Nord -->
<line x1="46" y1="13" x2="54" y2="13" stroke="#4a9eff" stroke-width="1.5"/>
<line x1="46" y1="16" x2="54" y2="16" stroke="#4a9eff" stroke-width="1.5"/>
<line x1="46" y1="19" x2="54" y2="19" stroke="#4a9eff" stroke-width="1.5"/>
<!-- Nord-Est -->
<line x1="66" y1="18" x2="72" y2="22" stroke="#4a9eff" stroke-width="1.5"/>
<line x1="64" y1="21" x2="70" y2="25" stroke="#4a9eff" stroke-width="1.5"/>
<line x1="62" y1="24" x2="66" y2="27" stroke="#4a9eff" stroke-width="1.5"/>
<!-- Est -->
<line x1="81" y1="46" x2="87" y2="46" stroke="#4a9eff" stroke-width="1.5"/>
<line x1="81" y1="50" x2="87" y2="50" stroke="#4a9eff" stroke-width="1.5"/>
<line x1="83" y1="54" x2="87" y2="54" stroke="#4a9eff" stroke-width="1.5"/>
<!-- Sud-Est -->
<line x1="66" y1="78" x2="72" y2="74" stroke="#4a9eff" stroke-width="1.5"/>
<line x1="64" y1="75" x2="70" y2="71" stroke="#4a9eff" stroke-width="1.5"/>
<line x1="62" y1="72" x2="68" y2="69" stroke="#4a9eff" stroke-width="1.5"/>
<!-- Sud -->
<line x1="46" y1="87" x2="54" y2="87" stroke="#4a9eff" stroke-width="1.5"/>
<line x1="46" y1="84" x2="54" y2="84" stroke="#4a9eff" stroke-width="1.5"/>
<line x1="46" y1="81" x2="54" y2="81" stroke="#4a9eff" stroke-width="1.5"/>
<!-- Sud-Ouest -->
<line x1="34" y1="78" x2="28" y2="74" stroke="#4a9eff" stroke-width="1.5"/>
<line x1="36" y1="75" x2="30" y2="71" stroke="#4a9eff" stroke-width="1.5"/>
<line x1="38" y1="72" x2="32" y2="69" stroke="#4a9eff" stroke-width="1.5"/>
<!-- Ouest -->
<line x1="19" y1="46" x2="13" y2="46" stroke="#4a9eff" stroke-width="1.5"/>
<line x1="19" y1="50" x2="13" y2="50" stroke="#4a9eff" stroke-width="1.5"/>
<line x1="17" y1="54" x2="13" y2="54" stroke="#4a9eff" stroke-width="1.5"/>
<!-- Nord-Ouest -->
<line x1="34" y1="18" x2="28" y2="22" stroke="#4a9eff" stroke-width="1.5"/>
<line x1="36" y1="21" x2="30" y2="25" stroke="#4a9eff" stroke-width="1.5"/>
<line x1="38" y1="24" x2="34" y2="27" stroke="#4a9eff" stroke-width="1.5"/>
<!-- Cercle intérieur -->
<circle cx="50" cy="50" r="22" fill="none" stroke="#4a9eff" stroke-width="1.5" opacity="0.6"/>
<!-- Spirale de cinnabre (qi) — double spirale -->
<path d="M50 50 Q54 42 50 38 Q44 34 40 40 Q36 48 42 54 Q50 62 60 56 Q68 48 62 38 Q54 28 42 32"
fill="none" stroke="#4a9eff" stroke-width="2" stroke-linecap="round" opacity="0.9"/>
<!-- Point central (cinnabre) -->
<circle cx="50" cy="50" r="4" fill="#4a9eff" fill-opacity="0.5" stroke="#4a9eff" stroke-width="1.5"/>
<circle cx="50" cy="50" r="1.5" fill="#4a9eff"/>
<!-- Papier talisman (符) qui vole -->
<!-- Papier incliné -->
<rect x="30" y="20" width="40" height="58" rx="3" ry="3"
fill="#ffe033" fill-opacity="0.12" stroke="#ffe033" stroke-width="2"
transform="rotate(-12 50 50)"/>
<!-- Lignes d'écriture de talisman -->
<line x1="36" y1="30" x2="62" y2="26" stroke="#ffe033" stroke-width="1.8" stroke-linecap="round" opacity="0.8" transform="rotate(-12 50 50)"/>
<line x1="34" y1="38" x2="64" y2="34" stroke="#ffe033" stroke-width="1.4" stroke-linecap="round" opacity="0.6" transform="rotate(-12 50 50)"/>
<line x1="33" y1="46" x2="63" y2="42" stroke="#ffe033" stroke-width="1.4" stroke-linecap="round" opacity="0.6" transform="rotate(-12 50 50)"/>
<!-- Grand caractère fu (符) au centre -->
<text x="50" y="58" text-anchor="middle" font-size="26" font-family="serif"
fill="#ffe033" fill-opacity="0.7" transform="rotate(-12 50 50)"></text>
<!-- Lignes de sceau en bas -->
<line x1="34" y1="66" x2="64" y2="62" stroke="#ffe033" stroke-width="1.8" stroke-linecap="round" opacity="0.8" transform="rotate(-12 50 50)"/>
<!-- Énergie qui s'échappe du papier -->
<path d="M72 22 Q80 16 82 22 Q76 26 72 22Z" fill="#ffe033" fill-opacity="0.5"/>
<path d="M76 32 Q84 28 86 34 Q80 36 76 32Z" fill="#ffe033" fill-opacity="0.4"/>
<path d="M22 60 Q14 56 14 62 Q20 64 22 60Z" fill="#ffe033" fill-opacity="0.4"/>
<!-- Petites étincelles -->
<circle cx="80" cy="26" r="1.5" fill="#ffe033" opacity="0.9"/>
<circle cx="18" cy="62" r="1.5" fill="#ffe033" opacity="0.9"/>
<circle cx="74" cy="40" r="1" fill="#ffe033" opacity="0.7"/>
</svg>

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB