Skip to content

Commit

Permalink
Upgrade to Font Awesome 5
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Nov 2, 2021
1 parent 1959d07 commit d3b8554
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion demo/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions demo/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -135,7 +135,7 @@
<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>
Expand Down

0 comments on commit d3b8554

Please sign in to comment.