mirror of
https://github.com/gethomepage/homepage.git
synced 2026-02-07 08:20:53 +08:00
Documentation: use blurred image for bkgd instead of filter
Some checks failed
Docker CI / Linting Checks (push) Has been cancelled
Docs / Linting Checks (push) Has been cancelled
Docker CI / Docker Build & Push (push) Has been cancelled
Docs / Test Build Docs (push) Has been cancelled
Docs / Build & Deploy Docs (push) Has been cancelled
Some checks failed
Docker CI / Linting Checks (push) Has been cancelled
Docs / Linting Checks (push) Has been cancelled
Docker CI / Docker Build & Push (push) Has been cancelled
Docs / Test Build Docs (push) Has been cancelled
Docs / Build & Deploy Docs (push) Has been cancelled
This commit is contained in:
@@ -104,7 +104,7 @@
|
|||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
background-image: url("https://raw.githubusercontent.com/gethomepage/homepage/main/docs/assets/blossom_valley.jpg");
|
background-image: url("https://raw.githubusercontent.com/gethomepage/homepage/main/docs/assets/blossom_valley_blur.jpg");
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
@@ -119,20 +119,6 @@ body[data-md-color-scheme="default"] {
|
|||||||
color: rgba(255, 255, 255, 1);
|
color: rgba(255, 255, 255, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.blur-overlay {
|
|
||||||
z-index: -1;
|
|
||||||
position: fixed;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
background: hsl(0deg 0% 0% / 10%);
|
|
||||||
backdrop-filter: blur(128px);
|
|
||||||
-webkit-backdrop-filter: blur(128px);
|
|
||||||
}
|
|
||||||
|
|
||||||
[data-md-color-scheme="default"] .blur-overlay {
|
|
||||||
background: hsla(0, 0%, 0%, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
.md-nav--lifted > .md-nav__list > .md-nav__item--active > .md-nav__link,
|
.md-nav--lifted > .md-nav__list > .md-nav__item--active > .md-nav__link,
|
||||||
.md-nav--secondary .md-nav__title {
|
.md-nav--secondary .md-nav__title {
|
||||||
background: none;
|
background: none;
|
||||||
|
|||||||
Reference in New Issue
Block a user