style: adjust icon style

This commit is contained in:
Erzbir
2025-11-17 11:23:23 +08:00
parent 0c312a6309
commit b84d38b7f9
2 changed files with 8 additions and 10 deletions
+6 -8
View File
@@ -6,10 +6,8 @@
target="_blank"
th:href="'mailto:'+${theme.config.sns.email}"
th:if="${not #strings.isEmpty(theme.config.sns.email)}">
<svg class="icon-regular" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path>
<polyline points="22,6 12,13 2,6"></polyline>
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="icon-regular" viewBox="0 0 24 24">
<path fill="#currentColor" d="M20.232 2.592H3.768A3.53 3.53 0 0 0 .24 6.12v11.76a3.53 3.53 0 0 0 3.528 3.528h16.464a3.53 3.53 0 0 0 3.528-3.528V6.12a3.53 3.53 0 0 0-3.528-3.528M3.768 4.944h16.464a1.176 1.176 0 0 1 1.176 1.176L12 11.859 2.592 6.12a1.176 1.176 0 0 1 1.176-1.176m17.64 12.936a1.176 1.176 0 0 1-1.176 1.176H3.768a1.176 1.176 0 0 1-1.176-1.176V8.801l8.797 5.375a1.18 1.18 0 0 0 1.175 0L21.408 8.8z"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" class="icon-pixel" viewBox="0 0 32 32">
<g fill="currentColor">
@@ -25,8 +23,8 @@
aria-label="Find me on GitHub"
th:href="'https://github.com/'+${theme.config.sns.github}"
th:if="${not #strings.isEmpty(theme.config.sns.github)}">
<svg class="icon-regular" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33s1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2"></path>
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="icon-regular" viewBox="0 0 24 24">
<path fill="#currentColor" d="M12 .53a11.76 11.76 0 0 0-3.72 22.917c.589.103.81-.25.81-.558 0-.28-.015-1.206-.015-2.19-2.955.543-3.72-.72-3.955-1.382a4.3 4.3 0 0 0-1.205-1.661c-.412-.22-1-.765-.015-.78a2.35 2.35 0 0 1 1.808 1.206 2.513 2.513 0 0 0 3.425.97c.051-.598.318-1.157.75-1.573-2.616-.294-5.35-1.308-5.35-5.806a4.58 4.58 0 0 1 1.205-3.16 4.23 4.23 0 0 1 .117-3.117S6.84 5.087 9.09 6.6c1.925-.529 3.956-.529 5.88 0 2.25-1.529 3.234-1.205 3.234-1.205.435.986.478 2.1.118 3.116a4.55 4.55 0 0 1 1.205 3.16c0 4.514-2.749 5.513-5.365 5.807a2.79 2.79 0 0 1 .794 2.176c0 1.573-.015 2.837-.015 3.234 0 .308.22.676.808.558A11.766 11.766 0 0 0 12 .53"/>
</svg>
<svg class="icon-pixel" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path fill="currentColor" d="M6 2h12v2H6V2Zm4 12H8v-2h2v2Zm4 0v2h-4v-2h4Zm0 0v-2h2v2h-2Z"/>
@@ -58,8 +56,8 @@
aria-label="Find me on Telegram"
th:href="'https://t.me/'+${theme.config.sns.telegram}"
th:if="${not #strings.isEmpty(theme.config.sns.telegram)}">
<svg class="icon-regular" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
<path d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12a12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472c-.18 1.898-.962 6.502-1.36 8.627c-.168.9-.499 1.201-.82 1.23c-.696.065-1.225-.46-1.9-.902c-1.056-.693-1.653-1.124-2.678-1.8c-1.185-.78-.417-1.21.258-1.91c.177-.184 3.247-2.977 3.307-3.23c.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345c-.48.33-.913.49-1.302.48c-.428-.008-1.252-.241-1.865-.44c-.752-.245-1.349-.374-1.297-.789c.027-.216.325-.437.893-.663c3.498-1.524 5.83-2.529 6.998-3.014c3.332-1.386 4.025-1.627 4.476-1.635z"></path>
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="icon-regular" viewBox="0 0 24 24">
<path fill="currentColor" d="M12 .24a11.76 11.76 0 1 0 0 23.52A11.76 11.76 0 0 0 12 .24m3.74 17.82a.83.83 0 0 1-1.18.413l-3.192-2.481-2.049 1.89a.35.35 0 0 1-.335.046l.393-3.514.013.01.008-.07s5.744-5.23 5.978-5.453c.237-.222.16-.27.16-.27.013-.271-.426 0-.426 0l-7.612 4.897-3.17-1.08s-.487-.175-.532-.559c-.049-.38.548-.588.548-.588l12.603-5.006s1.036-.462 1.036.302z"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" class="icon-pixel" viewBox="0 0 32 32">
<g fill="currentColor">