Upgrade to Font Awesome 5

This commit is contained in:
Mimi 2021-11-03 01:06:22 +08:00
parent 1959d07429
commit d3b8554056
2 changed files with 4 additions and 3 deletions

View File

@ -3,7 +3,8 @@
<head>
<meta charset="UTF-8">
<title>Live2D 看板娘 / Demo</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css">
<script src="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/js/all.min.js"></script>
<style>
#github svg {
transition: all 1s;

View File

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>看板娘登陆平台</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css">
<script src="../live2d.min.js"></script>
<style>
html, body {
@ -135,7 +135,7 @@ body {
<canvas class="mb-4" id="live2d" width="800" height="800"></canvas>
</div>
<button class="btn btn-link" id="info"><i class="fa fa-lg fa-info"></i></button>
<button class="btn btn-link" id="refresh"><i class="fa fa-lg fa-refresh"></i></button>
<button class="btn btn-link" id="refresh"><i class="fa fa-lg fa-sync-alt"></i></button>
</div>
<h1 class="h3 mb-3 fw-normal">看板娘登陆平台</h1>
<label for="room" class="sr-only">用户名</label>