mirror of
https://gitee.com/SuperManito/LinuxMirrors
synced 2025-11-09 02:40:27 +08:00
更新文档
This commit is contained in:
@@ -13,8 +13,8 @@ hide:
|
|||||||
|
|
||||||
<div class="grid" markdown>
|
<div class="grid" markdown>
|
||||||
<figure style="margin: 0 auto" markdown>
|
<figure style="margin: 0 auto" markdown>
|
||||||
<div style="width: 350px; max-width: 100vw; height: 160px; position: absolute;">
|
<div class="hero">
|
||||||
<span style="top: 50%; width: 50%; height: 80px; position: absolute; background-image: var(--hero-background-image); filter: blur(68px); transform: translate(-50%, -50%);">
|
<span class="hero-background">
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<img src="/assets/images/brand/light/2.png#only-light" alt="LinuxMirrors" style="width: 300px" />
|
<img src="/assets/images/brand/light/2.png#only-light" alt="LinuxMirrors" style="width: 300px" />
|
||||||
|
|||||||
@@ -157,6 +157,31 @@
|
|||||||
vertical-align: -0.35em !important;
|
vertical-align: -0.35em !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* HERO */
|
||||||
|
.hero {
|
||||||
|
width: 390px;
|
||||||
|
max-width: 100vw;
|
||||||
|
height: 160px;
|
||||||
|
position: absolute;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-background {
|
||||||
|
top: 50%;
|
||||||
|
width: 50%;
|
||||||
|
height: 80px;
|
||||||
|
position: absolute;
|
||||||
|
background-image: var(--hero-background-image);
|
||||||
|
filter: blur(68px);
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 768px) {
|
||||||
|
.hero {
|
||||||
|
width: calc(100% - .8rem - 40px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* 赞助组件 */
|
/* 赞助组件 */
|
||||||
.sponsor {
|
.sponsor {
|
||||||
padding-top: 1rem;
|
padding-top: 1rem;
|
||||||
|
|||||||
Reference in New Issue
Block a user