改进 首页

This commit is contained in:
ivamp 2024-09-11 22:30:31 +08:00
parent afd95fc21d
commit a0c325cd97

View File

@ -1,13 +1,29 @@
<!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
id="default-loader"
style="
position: fixed;
top: 0; top: 0;
left: 0; left: 0;
width: 100%; width: 100%;
@ -17,7 +33,9 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
text-align: center; text-align: center;
transition: all 0.3s ease-in-out;"> transition: all 0.3s ease-in-out;
"
>
<div> <div>
<svg <svg
version="1.1" version="1.1"