下载日志链接改为按钮样式

This commit is contained in:
涵曦 2024-06-28 16:10:34 +00:00
parent d098b5eb60
commit f0931c447b
2 changed files with 7 additions and 3 deletions

View File

@ -31,10 +31,10 @@
<button onclick="location.href='/';">返回首页</button> <button onclick="location.href='/';">返回首页</button>
<button id="get_music_list">获取歌单</button> <button id="get_music_list">获取歌单</button>
<button id="save">保存</button> <button id="save">保存</button>
<a class="button" href="/downloadlog" download="xiaomusic.txt">下载日志文件</a>
<hr> <hr>
<a href="/static/m3u.html" target="_blank">m3u文件转换工具</a> <a href="/static/m3u.html" target="_blank">m3u文件转换工具</a>
<a href="/downloadlog" download="xiaomusic.txt">下载日志文件</a>
<footer> <footer>
<p>Powered by <a href="https://github.com/hanxi/xiaomusic" target="_blank">xiaomusic</a></p> <p>Powered by <a href="https://github.com/hanxi/xiaomusic" target="_blank">xiaomusic</a></p>

View File

@ -1,4 +1,8 @@
button { .button {
line-height: 50px;
font-size: 14px;
}
button, .button {
margin: 10px; margin: 10px;
width: 100px; width: 100px;
height: 50px; height: 50px;
@ -10,7 +14,7 @@ button {
border-radius: 10px; border-radius: 10px;
background-color: #008CBA; background-color: #008CBA;
} }
button:active { button:active, .button:active {
font-weight:bold; font-weight:bold;
background-color: #007CBA; background-color: #007CBA;
transform: translateY(2px); transform: translateY(2px);