diff --git a/index.html b/index.html index b879724..2cd0a60 100644 --- a/index.html +++ b/index.html @@ -33,6 +33,57 @@ .katex .mathnormal { font-family: 'Times New Roman' !important; } + + .loading { + position: fixed; + top: 0; + left: 0; + z-index: 99999; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + width: 100vw; + height: 100vh; + font-size: 18px; + } + + .loading::before { + content: url('/src/assets/images/favicon.png'); + width: 100px; + height: 100px; + margin-bottom: 26px; + } + + .loading.dark { + color: #ffffff; + background-color: #141414; + } + + .loading .txt { + position: absolute; + bottom: 10%; + } + + .loading .txt::after { + content: '...'; + animation: dots 1.5s steps(4, end) infinite; + } + + @keyframes dots { + 0% { + content: ' '; + } + 25% { + content: '.'; + } + 50% { + content: '..'; + } + 75% { + content: '...'; + } + } @@ -40,7 +91,18 @@ -
+正在加载编辑器
+