mirror of
https://gitee.com/SuperManito/LinuxMirrors
synced 2025-11-03 16:00:26 +08:00
更新文档
This commit is contained in:
@@ -13,8 +13,8 @@ hide:
|
||||
|
||||
<div class="grid" markdown>
|
||||
<figure style="margin: 0 auto" markdown>
|
||||
<div style="width: 350px; max-width: 100vw; height: 160px; position: absolute;">
|
||||
<span style="top: 50%; width: 50%; height: 80px; position: absolute; background-image: var(--hero-background-image); filter: blur(68px); transform: translate(-50%, -50%);">
|
||||
<div class="hero">
|
||||
<span class="hero-background">
|
||||
</span>
|
||||
</div>
|
||||
<img src="/assets/images/brand/light/2.png#only-light" alt="LinuxMirrors" style="width: 300px" />
|
||||
|
||||
@@ -157,6 +157,31 @@
|
||||
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 {
|
||||
padding-top: 1rem;
|
||||
|
||||
Reference in New Issue
Block a user