forked from Leaf/amber-ui
改进 首页
This commit is contained in:
parent
afd95fc21d
commit
a0c325cd97
42
index.html
42
index.html
@ -1,23 +1,41 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="zh" class="light-theme">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
|
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
|
||||||
<title>amber-wails</title>
|
<title>amber-wails</title>
|
||||||
|
<style>
|
||||||
|
/* 检测当前主题 */
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
body {
|
||||||
|
background-color: #000;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#default-loader svg path {
|
||||||
|
fill: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app" style="opacity: 1; transition: opacity 0.5s ease-in-out">
|
<div id="app" style="opacity: 1; transition: opacity 0.5s ease-in-out">
|
||||||
<div id="default-loader" style="position: fixed;
|
<div
|
||||||
top: 0;
|
id="default-loader"
|
||||||
left: 0;
|
style="
|
||||||
width: 100%;
|
position: fixed;
|
||||||
height: 100%;
|
top: 0;
|
||||||
z-index: 999999;
|
left: 0;
|
||||||
display: flex;
|
width: 100%;
|
||||||
justify-content: center;
|
height: 100%;
|
||||||
align-items: center;
|
z-index: 999999;
|
||||||
text-align: center;
|
display: flex;
|
||||||
transition: all 0.3s ease-in-out;">
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
text-align: center;
|
||||||
|
transition: all 0.3s ease-in-out;
|
||||||
|
"
|
||||||
|
>
|
||||||
<div>
|
<div>
|
||||||
<svg
|
<svg
|
||||||
version="1.1"
|
version="1.1"
|
||||||
|
Loading…
Reference in New Issue
Block a user