rename .list to .list-page

This commit is contained in:
Reorx 2022-09-07 21:47:14 +08:00
parent c33e025fe2
commit b816797316
5 changed files with 9 additions and 9 deletions

View File

@ -117,7 +117,7 @@ img {
background: 0 0;
}
.list:not(.dark)::-webkit-scrollbar-track {
.list-page:not(.dark)::-webkit-scrollbar-track {
background: var(--code-bg);
}
@ -127,7 +127,7 @@ img {
border-radius: var(--radius);
}
.list:not(.dark)::-webkit-scrollbar-thumb {
.list-page:not(.dark)::-webkit-scrollbar-thumb {
border: 5px solid var(--code-bg);
}

View File

@ -47,10 +47,10 @@
--link-hover-underline-shadow: 0 2px 0 var(--link-hover-underline-color);
}
.list {
.list-page {
background: var(--code-bg);
}
.dark.list {
.dark.list-page {
background: var(--theme);
}

View File

@ -39,7 +39,7 @@
/* footer */
@media screen and (max-width: 900px) {
.list .top-link {
.list-page .top-link {
transform: translateY(-5rem);
}
}

View File

@ -8,7 +8,7 @@
<body class="
{{- if (or (ne .Kind `page` ) (eq .Layout `archives`) (eq .Layout `search`)) -}}
{{- print "list" -}}
{{- print "list-page" -}}
{{- end -}}
{{- if eq site.Params.defaultTheme `dark` -}}
{{- print " dark" }}

View File

@ -126,15 +126,15 @@
--border: rgb(51, 51, 51);
}
.list {
.list-page {
background: var(--theme);
}
.list:not(.dark)::-webkit-scrollbar-track {
.list-page:not(.dark)::-webkit-scrollbar-track {
background: 0 0;
}
.list:not(.dark)::-webkit-scrollbar-thumb {
.list-page:not(.dark)::-webkit-scrollbar-thumb {
border-color: var(--theme);
}
}