Skip to content

Commit

Permalink
Update masthead.html
Browse files Browse the repository at this point in the history
  • Loading branch information
GaAs9000 authored Feb 4, 2025
1 parent 140ea7d commit 9c6f061
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions _includes/masthead.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,3 @@
</div>
</div>
</div>

<!-- 将按钮移到导航栏外部 -->
<button id="theme-toggle" class="theme-toggle" aria-label="切换主题">
<svg class="sun-icon" viewBox="0 0 24 24">
<path d="M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.65 0-3 1.35-3 3s1.35 3 3 3 3-1.35 3-3-1.35-3-3-3zm0-2V4m0 16v-3M4 12H1m22 0h-3M5.64 5.64L3.5 3.5m14.85 14.85l-2.12-2.12M18.36 5.64L20.5 3.5M5.64 18.36l-2.12 2.12"/>
</svg>
<svg class="moon-icon" viewBox="0 0 24 24">
<path d="M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446A9 9 0 1 1 12 3z"/>
</svg>
</button>

0 comments on commit 9c6f061

Please sign in to comment.