mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 08:11:11 +08:00
24w20b
This commit is contained in:
parent
92b3e19954
commit
fe652821bd
3 changed files with 102 additions and 11 deletions
|
|
@ -1,5 +1,10 @@
|
||||||
# 更新日志
|
# 更新日志
|
||||||
|
|
||||||
|
24w20b
|
||||||
|
---
|
||||||
|
- PRE-RELEASE: 此版本是v1.6.2的预发布版本,请勿在生产环境中使用
|
||||||
|
- CHANGE: 优化前端界面,加入黑夜模式,并优化部分样式
|
||||||
|
|
||||||
24w20a
|
24w20a
|
||||||
---
|
---
|
||||||
- PRE-RELEASE: 此版本是v1.6.2的预发布版本,请勿在生产环境中使用
|
- PRE-RELEASE: 此版本是v1.6.2的预发布版本,请勿在生产环境中使用
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
24w20a
|
24w20b
|
||||||
106
pages/index.html
106
pages/index.html
|
|
@ -5,12 +5,31 @@
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="description" content="Github文件加速">
|
<meta name="description" content="Github文件加速">
|
||||||
|
<meta name="keywords" content="Github,文件加速,ghproxy">
|
||||||
|
<meta name="color-scheme" content="dark light">
|
||||||
<title>Github文件加速</title>
|
<title>Github文件加速</title>
|
||||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.3/css/bootstrap.min.css" rel="stylesheet">
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.3/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="https://font.sec.miui.com/font/css?family=MiSans:400,700:MiSans">
|
<link rel="stylesheet" href="https://font.sec.miui.com/font/css?family=MiSans:400,700:MiSans">
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--color: #dadada;
|
||||||
|
--fontcolor: #333;
|
||||||
|
--inputcolor: #a19f9f;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
:root {
|
||||||
|
--color: #53535338;
|
||||||
|
--fontcolor: #b8b8b8;
|
||||||
|
--inputcolor: #012333;
|
||||||
|
--inputcolor-font: #969696d8;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: #ecececf3;
|
background-color: var(--color);
|
||||||
|
color: var(--fontcolor);
|
||||||
font-family: 'Misans', Arial, sans-serif;
|
font-family: 'Misans', Arial, sans-serif;
|
||||||
padding: 30px;
|
padding: 30px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -23,14 +42,16 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
max-width: 800px;
|
max-width: 80%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
min-height: 45vh;
|
min-height: 65%;
|
||||||
|
line-height: 1.25;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
|
color: var(--fontcolor);
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin-bottom: 85px;
|
margin-bottom: 20%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rounded-button {
|
.rounded-button {
|
||||||
|
|
@ -51,7 +72,8 @@
|
||||||
.tips>p:first-child::before {
|
.tips>p:first-child::before {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
color: #7b7b7b;
|
color: #7b7b7b;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 1%;
|
||||||
|
font-size: 60%;
|
||||||
}
|
}
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
|
|
@ -61,6 +83,7 @@
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
|
|
@ -91,15 +114,76 @@
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
footer {
|
||||||
|
font-size: 0.85rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
max-width: 100%;
|
||||||
|
font-size: 0.8rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tips {
|
||||||
|
font-size: 0.8rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tips-content {
|
||||||
|
font-size: 0.8rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.status-container {
|
||||||
|
font-size: 0.8rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
footer {
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
max-width: 80%;
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tips {
|
||||||
|
font-size: 1.1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tips-content {
|
||||||
|
font-size: 1.1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.status-container {
|
||||||
|
font-size: 1.05rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-control {
|
||||||
|
background-color: var(--inputcolor);
|
||||||
|
color: var(--inputcolor-font);
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-control:focus {
|
||||||
|
background-color: var(--inputcolor);
|
||||||
|
color: var(--inputcolor-font);
|
||||||
|
}
|
||||||
|
|
||||||
|
.tips-content {
|
||||||
|
margin-bottom: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
.status-container {
|
.status-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 1px;
|
||||||
|
margin-top: -2%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.status-container p {
|
.status-container p {
|
||||||
margin: 0px 5px;
|
margin: 0px 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -141,7 +225,7 @@
|
||||||
color: white;
|
color: white;
|
||||||
padding: 15px 20px;
|
padding: 15px 20px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
font-size: 16px;
|
font-size: 90%;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
@ -160,7 +244,9 @@
|
||||||
<pre id="formattedLinkOutput"></pre>
|
<pre id="formattedLinkOutput"></pre>
|
||||||
</div>
|
</div>
|
||||||
<div class="tips">
|
<div class="tips">
|
||||||
<p>GitHub链接带不带协议头均可,支持release、archive以及文件,转换后链接均可使用</a>。</p>
|
<div class="tips-content">
|
||||||
|
<p>GitHub链接带不带协议头均可,支持release、archive以及文件,转换后链接均可使用</a>。</p>
|
||||||
|
</div>
|
||||||
<div class="status-container">
|
<div class="status-container">
|
||||||
<p id="sizeLimitDisplay">文件大小限制: ...</p>
|
<p id="sizeLimitDisplay">文件大小限制: ...</p>
|
||||||
<p id="whiteListStatus">白名单状态: ...</p>
|
<p id="whiteListStatus">白名单状态: ...</p>
|
||||||
|
|
@ -279,7 +365,7 @@
|
||||||
<footer>
|
<footer>
|
||||||
<p>
|
<p>
|
||||||
Copyright © 2024 WJQSERVER-STUDIO<br>
|
Copyright © 2024 WJQSERVER-STUDIO<br>
|
||||||
GitHub仓库地址:<a href="https://github.com/WJQSERVER-STUDIO/ghproxy">https://github.com/WJQSERVER-STUDIO/ghproxy</a>
|
GitHub仓库地址:<a href="https://github.com/WJQSERVER-STUDIO/ghproxy">WJQSERVER-STUDIO/ghproxy</a>
|
||||||
<br><a href="https://t.me/ghproxy_go">Telegram交流群</a>
|
<br><a href="https://t.me/ghproxy_go">Telegram交流群</a>
|
||||||
</p>
|
</p>
|
||||||
<div id="visitor-info" style="text-align: center; margin-top: 15px;">
|
<div id="visitor-info" style="text-align: center; margin-top: 15px;">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue