Skip to content

Commit

Permalink
Upgrade to Bootstrap 5
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed May 7, 2021
1 parent 1a95807 commit 7617436
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ https://github.com/akiroz/Live2D-Widget
https://github.com/zenghongtu/PPet
https://github.com/LikeNeko/L2dPetForMac

以及 Wallpaper Engine:
以及 Wallpaper Engine:
https://github.com/guansss/nep-live2d

## 许可证 License
Expand Down
10 changes: 6 additions & 4 deletions demo/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<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@4/dist/css/bootstrap.min.css">
<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">
<script src="../live2d.min.js"></script>
<style>
Expand Down Expand Up @@ -137,17 +137,19 @@
<a id="info" href="javascript:info()"><i class="fa fa-lg fa-info"></i></a>
<a id="refresh" href="javascript:refresh()"><i class="fa fa-lg fa-refresh"></i></a>
</div>
<h1 class="h3 mb-3 font-weight-normal">看板娘登陆平台</h1>
<h1 class="h3 mb-3 fw-normal">看板娘登陆平台</h1>
<label for="room" class="sr-only">用户名</label>
<input type="text" name="room" class="form-control" placeholder="用户名" required autofocus>
<label for="pass" class="sr-only">密码</label>
<input type="password" name="pass" class="form-control" placeholder="密码" required>
<div class="checkbox mb-3">
<div class="checkbox mb-4">
<label>
<input type="checkbox" value="remember-me"> 记住我
</label>
</div>
<button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>
<div class="d-grid">
<button class="btn btn-lg btn-primary" type="submit">登录</button>
</div>
<p class="mt-5 mb-3 text-muted">Copyleft &copy; Mimi 2019</p>
</form>
<script>
Expand Down

0 comments on commit 7617436

Please sign in to comment.