style(favicon): add favicon

This commit is contained in:
tlanyan 2021-01-11 19:06:57 +08:00
parent 13208e4f93
commit d0555e729e
2 changed files with 9 additions and 23 deletions

BIN
favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -89,28 +89,14 @@
color: #7b7b7b; color: #7b7b7b;
position: relative; position: relative;
align-self: flex-start; align-self: flex-start;
} }
.tips p, .example p {
margin-left: 1em;
}
.example { .example {
margin-left: 10em; margin-top: -3em;
}
.tips {
margin-left: 7.5em;
}
.tips > p:first-child::before {
position: absolute;
left: -3em;
content: "PS";
color: #7b7b7b;
}
.example > p:first-child::before {
position: absolute;
left: -8em;
content: "合法输入示例:";
color: #7b7b7b;
} }
</style> </style>
<head> <head>
@ -124,6 +110,7 @@
return false; return false;
} }
</script> </script>
<link rel="icon" href="/favicon.ico">
<title>GitHub 文件加速PHP版本</title> <title>GitHub 文件加速PHP版本</title>
</head> </head>
<body class="flex"> <body class="flex">
@ -167,6 +154,7 @@
<input class="block btn" type="submit" value="下载" /> <input class="block btn" type="submit" value="下载" />
<div class="example"> <div class="example">
<h2>输入示例:</h2>
<p>分支源码https://github.com/tlanyan/ghproxy/archive/main.zip</p> <p>分支源码https://github.com/tlanyan/ghproxy/archive/main.zip</p>
<p> <p>
release源码https://github.com/tlanyan/yii2/archive/2.0.4.zip release源码https://github.com/tlanyan/yii2/archive/2.0.4.zip
@ -178,6 +166,7 @@
<p>API请求https://api.github.com/repos/reactphp/http/releases/latest</p> <p>API请求https://api.github.com/repos/reactphp/http/releases/latest</p>
</div> </div>
<div class="tips"> <div class="tips">
<h2>注意事项:</h2>
<p> <p>
右键复制出来的链接都是符合标准的。 右键复制出来的链接都是符合标准的。
</p> </p>
@ -186,10 +175,7 @@
</div> </div>
</form> </form>
<p style="position: sticky; top: calc(100% - 2.5em)"> <p style="position: sticky; top: calc(100% - 2.5em)">
本项目为 <a href="https://github.com/hunshcn/gh-proxy" target="_blank">gh-proxy</a> 的PHP版本基于 <a href="https://github.com/reactphp" target="_blank">ReactPHP</a> 开发开源于GitHub 本项目为 <a href="https://github.com/hunshcn/gh-proxy" target="_blank">gh-proxy</a> 的PHP版本<a href="https://tlanyan.me" target="_blank">tlanyan</a> 基于 <a href="https://github.com/reactphp" target="_blank">ReactPHP</a> 开发
<a style="color: #3294ea" href="https://github.com/tlanyan/ghproxy"
target="_blank">tlanyan/ghproxy</a
>
</p> </p>
</body> </body>
</html> </html>