优化主页样式,词谜轻量级优化

This commit is contained in:
2022-06-07 19:49:47 +08:00
parent 7c58287f0a
commit 687ffd890c
2 changed files with 5 additions and 14 deletions

View File

@@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Quinn-词谜</title>
<script type="module" crossorigin src="./assets/index.62e94f3e.js"></script>
<script type="module" crossorigin th:src="@{/assets/index.62e94f3e.js}"></script>
<link rel="modulepreload" th:href="@{/assets/vendor.e8eab7c4.js}">
<link rel="modulepreload" th:href="@{/assets/polyphones.f3f0c057.js}">
<link rel="modulepreload" th:href="@{/assets/idioms.a01375e9.js}">
@@ -13,15 +13,6 @@
</head>
<body>
<div id="app"></div>
<div class="to-top">
<img class="d-block pl-2" src="/images/logo/qrcode.png" width="50" height="50">
<a class="badge badge-light">返回顶部</a>
</div>
<script th:src="@{/js/jquery-3.5.1.min.js}"></script>
<script th:src="@{/bootstrap/js/bootstrap.bundle.min.js}"></script>
<script th:src="@{/js/toTop.js}"></script>
<script th:src="@{/js/jquery-ui.min.js}"></script>
<script th:src="@{/live/js/addlive2d.js}"></script>
<script type="text/javascript">
(function() {
const prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches

View File

@@ -21,10 +21,10 @@
<div class="panel-main__content">
<div class="ih-item effect">
<h2 style="margin: 0;padding: 0;text-align: center;color: #ffffff;font-size: 30px;">
<span style="width: 20px;height: 20px;background: #00C6FF;display: inline-block;position: relative;left: 10px;top: 5px;">
</span>
<i style="width: 20px;height: 20px;z-index: 2;background: #FFB900;display: inline-block;position: relative;left: -30px;top: 10px;">
</i>
<b style="width: 20px;height: 20px;background: #00C6FF;display: inline-block;position: relative;left: 10px;top: 5px;">
</b>
<em style="width: 20px;height: 20px;background: #FFB900;display: inline-block;position: relative;left: -30px;top: 10px;">
</em>
<strong style="position: relative;">QUINN</strong>
<b style="width: 20px;height: 20px;background: #00C6FF;display: inline-block;position: relative;left: 40px;top: 5px;">
</b>