diff options
| author | Reorx <novoreorx@gmail.com> | 2022-09-07 21:47:14 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-09-07 21:47:14 +0800 |
| commit | b816797316ef1e79dcf49ba7d658be2c3d3c8f9d (patch) | |
| tree | 617278a63078c334c571ace904278f735e3a0876 /layouts | |
| parent | c33e025fe22502466c4f53afe398e7ca77a00e4f (diff) | |
rename .list to .list-page
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/_default/baseof.html | 2 | ||||
| -rw-r--r-- | layouts/partials/head.html | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 0d78fad..bf74e92 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -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" }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 3ced6b6..165afb4 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -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); } } |
