mod: 优化主页布局
This commit is contained in:
1 parent
78add49815
commit
0778fd3b37
1 file changed
+19
-94
+19
-94
@@ -17,7 +17,11 @@
|
||||
|
||||
body {
|
||||
background-color: #ececec;
|
||||
/*font-family: Tahoma, monospace;*/
|
||||
}
|
||||
|
||||
.main-title {
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
footer {
|
||||
@@ -46,23 +50,6 @@
|
||||
.main-container {
|
||||
padding-bottom: var(--footer-height);
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: "monospace";
|
||||
}
|
||||
|
||||
.code-con {
|
||||
width: fit-content;
|
||||
padding: 8px;
|
||||
margin-top: 8px;
|
||||
border-color: #808080 #ffffff #ffffff #808080;
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.code-con div {
|
||||
line-height: 1.5;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
@@ -88,90 +75,28 @@
|
||||
|
||||
<body>
|
||||
<div class="main-container">
|
||||
<!-- <div style="font-size: 20px; font-weight: bold;">资源</div> -->
|
||||
<div style="font-size: 20px; font-weight: bold;">Linux 换软件源</div>
|
||||
<div class="main-title">公开子站点</div>
|
||||
<ul>
|
||||
<li>API: <a href="https://api.cancerai.top" target="_blank">https://api.cancerai.top</a></li>
|
||||
<li>资源站: <a href="https://assets.cancerai.top" target="_blank">https://assets.cancerai.top</a></li>
|
||||
</ul>
|
||||
|
||||
<div class="main-title">Linux 换软件源</div>
|
||||
<ul>
|
||||
<li>
|
||||
<h4>debian 12</h4>
|
||||
wget:
|
||||
<div class="code-con">
|
||||
<div>
|
||||
wget -O sources.list https://assets.cancerai.top/linux-repo/debian_12_x86-64/sources.list
|
||||
</div>
|
||||
<div>
|
||||
cat sources.list > /etc/apt/sources.list
|
||||
</div>
|
||||
<div>
|
||||
rm -rf sources.list
|
||||
</div>
|
||||
<div>
|
||||
apt update
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin-top: 8px"></div>
|
||||
curl:<br>
|
||||
<div class="code-con">
|
||||
<div>
|
||||
curl https://assets.cancerai.top/linux-repo/debian_12_x86-64/sources.list
|
||||
</div>
|
||||
<div>
|
||||
/etc/apt/sources.list
|
||||
</div>
|
||||
<div>
|
||||
apt update
|
||||
</div>
|
||||
</div>
|
||||
debian12 (x86_64): <a
|
||||
href="https://assets.cancerai.top/linux-repo/debian_12_x86-64/how_to_use.txt" target="_blank">How to use</a>
|
||||
</li>
|
||||
<br>
|
||||
|
||||
<li>
|
||||
<h4>debian 13</h4>
|
||||
wget:<br>
|
||||
<div class="code-con">
|
||||
<div>
|
||||
wget -O sources.list https://assets.cancerai.top/linux-repo/debian_13_arm64/sources.list
|
||||
</div>
|
||||
<div>
|
||||
cat sources.list > /etc/apt/sources.list
|
||||
</div>
|
||||
<div>
|
||||
rm -rf sources.list
|
||||
</div>
|
||||
<div>
|
||||
apt update
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin-top: 8px"></div>
|
||||
curl:<br>
|
||||
<div class="code-con">
|
||||
<div>
|
||||
curl https://assets.cancerai.top/linux-repo/debian_13_arm64/sources.list
|
||||
</div>
|
||||
<div>
|
||||
/etc/apt/sources.list
|
||||
</div>
|
||||
<div>
|
||||
apt update
|
||||
</div>
|
||||
</div>
|
||||
debian13 (arm64): <a
|
||||
href="https://assets.cancerai.top/linux-repo/debian_13_arm64/how_to_use.txt" target="_blank">How to use</a>
|
||||
</li>
|
||||
<br>
|
||||
</ul>
|
||||
|
||||
<!-- <div>homebrew软件源</div>-->
|
||||
<!-- <ul>-->
|
||||
<!-- <li>-->
|
||||
<!-- 版本 >= 4.x<br>-->
|
||||
<!-- <code>-->
|
||||
<!-- echo '<br>-->
|
||||
<!-- export HOMEBREW_API_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/api"<br>-->
|
||||
<!-- export HOMEBREW_BOTTLE_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles"<br>-->
|
||||
<!-- ' >> ~/.zshrc && . ~/.zshrc && brew update-->
|
||||
<!-- </code>-->
|
||||
<!-- </li>-->
|
||||
<!-- </ul>-->
|
||||
<hr>
|
||||
|
||||
<div style="font-size: 20px; font-weight: bold;">个人git仓库地址</div>
|
||||
<div class="main-title">个人git仓库地址</div>
|
||||
<ul>
|
||||
<li>https://git.cancerai.top/cancerai</li>
|
||||
<li>https://github.com/CancerXiaoAi</li>
|
||||
@@ -180,7 +105,7 @@
|
||||
<p></p>
|
||||
<hr>
|
||||
|
||||
<div style="font-size: 20px; font-weight: bold;">更新日志</div>
|
||||
<div class="main-title">更新日志</div>
|
||||
<ul id="update-list">
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user