2022 主题bug修复
This commit is contained in:
1 parent
a6b1098d60
commit
56ea059fc0
16 files changed
+1357
-334
No files matched your search
@@ -146,11 +146,22 @@
|
||||
background-attachment: {{ .Site.Params.style.backgroundAttachment | default "fixed" }} !important;
|
||||
}
|
||||
[data-theme="dark"] body {
|
||||
background-image: none !important;
|
||||
background-size: initial !important;
|
||||
background-repeat: initial !important;
|
||||
background-position: initial !important;
|
||||
background-attachment: initial !important;
|
||||
background-image: url(/image/background/deno.webp) !important;
|
||||
background-size: contain !important;
|
||||
background-repeat: round !important;
|
||||
background-position: center !important;
|
||||
background-attachment: fixed !important;
|
||||
}
|
||||
[data-theme="dark"] body::before {
|
||||
content: '' !important;
|
||||
position: fixed !important;
|
||||
top: 0 !important;
|
||||
left: 0 !important;
|
||||
width: 100% !important;
|
||||
height: 100% !important;
|
||||
background-color: rgba(0, 0, 0, 0.4) !important;
|
||||
pointer-events: none !important;
|
||||
z-index: -1 !important;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
body {
|
||||
|
||||
Reference in new issue
Block a user